/* --- GLOBAL RESET / BASE STYLES --- */
* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
    color: #ffd38b;
    background-color: #2b2d30;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* --- HEADER + NAV --- */
header {
    position: relative;
    background-color: #1b1d1e;
    border-bottom: 1px solid #eee;
    padding: 0;
    z-index: 1000;
}

.nav_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #1b1d1e;
    padding: 0.5rem 1rem;
}

nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 1rem;
    background-color: #1b1d1e;
    gap: 1rem;
}

.nav_logo {
    width: 200px;
    display: block;
    margin: 0;
}

@media (max-width: 600px) {
    .nav_logo {
        width: 250px;
    }
}

.nav_logo img {
    width: 100%;
    height: auto;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

nav ul li {
    white-space: nowrap;
}

/* Nav links styling */
nav a {
    text-decoration: none;
    color: #ff504a;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #a21b1b;
}

@media (max-width: 600px) {
    nav ul {
        gap: 0.5rem;
    }
}

/***** HAMBURGER ICON *****/
.hamburger {
    width: 2rem;
    height: 2rem;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* center the lines vertically */
    align-items: flex-end;
    gap: 6px;
    z-index: 2000;
}

/* Each line in the hamburger */
.hamburger span {
    display: block;
    width: 2rem;
    height: 2px;
    background-color: #ff504a;
    transition: 0.4s ease;
}

/* When hamburger is .open, animate lines to form an 'X' (optional) */
.hamburger.open span:nth-of-type(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-of-type(2) {
    opacity: 0;
}

.hamburger.open span:nth-of-type(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/***** NAV MENU (OVERLAY or SLIDE-OUT) *****/
.nav_menu {
    position: fixed;
    top: -100000%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 29, 30, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: top 0.4s ease;
    pointer-events: none;
    z-index: 999;
}

/* .open => slide down from top: 0 to reveal the menu */
.nav_menu.open {
    top: 0;
    pointer-events: auto;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: #ff504a;
    cursor: pointer;
}

/* Center the UL in the middle of the screen vertically and horizontally */
.nav_menu ul {
    list-style: none;
    text-align: center;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Overlay menu links styling */
.nav_menu ul li a {
    text-decoration: none;
    color: #ff504a;
    font-size: 1.5rem;
    transition: color 0.2s ease;
}
.nav_menu ul li a:hover {
    color: #a21b1b;
}

.nav_menu ul li {
    margin: 0; /* Ensure consistent spacing for all items */
}

/*
  If prefer a side slide-out effect from the right or left, can do:
  .nav_menu {
    top: 0; left: -100%;
    height: 100vh;
    width: 70%;
    ...
  }
  and .nav_menu.open { left: 0; }
*/

.nav_menu a.active {
    font-weight: bold;
    color: #ffd38b; /* Highlight color */
    text-decoration: none;
}


/* --- HERO SECTION --- */
.hero {
    background-color: #f3d4cd;
    text-align: center;
    margin: 0;
    padding: 2rem 1rem;
}

.hero-logo {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
    height: auto;
}

@media (max-width: 600px) {
    .hero-logo {
        max-width: 300px;
    }
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-btn {
    display: inline-block;
    background-color: #ff504a;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
}

.cta-btn-carousel {
    display: inline-block;
    background-color: #ff504a;
    color: #fff;
    padding: 0.50rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 250;
}

.cta-btn:hover {
    background-color: #a21b1b;
}

.hero-info {
    background-color: #2b2d30;
    text-align: center;
    margin: 0;
    padding: 2rem 1rem;
}

.hero-info h3 {
    margin-bottom: 1rem;
}

.subtext {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* --- CONTENT WRAPPER FOR CENTERING TEXT --- */
.content-wrapper {
    width: 70%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 1rem;
}

@media (max-width: 768px) {
    .content-wrapper {
        width: 90%;
        text-align: center;
        padding: 1rem;
    }
}

/* --- CONTACT FORM --- */
.contact-form {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: #1b1d1e;
    border-radius: 4px;
}

.contact-form h3 {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    margin-top: 1rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.contact-form button {
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #ff504a;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #a21b1b;
}

/* --- LOCATIONS PAGE (location-card, map, etc.) --- */
.locations-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
    /* background-color: #f5f5f5;*/
}

.page-header h3 {
    margin-bottom: 1rem;
}

.location-card {
    display: flex;
    flex-direction: row;
    background-color: #1b1d1e;
    color: #ffd38b;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    padding: 12px;
    gap: 12px;
}

.location-info {
    flex: 1;
}

.location-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.location-info p {
    margin-bottom: 0.5rem;
}

.location-info a {
    color: #ff504a;
    text-decoration: none;
}
.location-info a:hover {
    color: #a21b1b;
}

.map-embed {
    flex: 1;
    position: relative;
    min-width: 300px;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    min-height: 200px;
    border: 1px solid #333;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .location-card {
        flex-direction: column;
    }
    .map-embed {
        width: 100%;
        min-height: 300px;
    }
}

/* Slideshow container */
.slideshow {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Slides container */
.slideshow .slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

/* Individual slide */
.slideshow .slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 100%;
}

.slideshow .slide img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Navigation controls */
.slideshow-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.slideshow-controls button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    pointer-events: auto;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
}

.slideshow-controls button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Dots navigation */
.dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.dots .dot {
    width: 10px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dots .dot.active {
    background-color: #ff504a;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slideshow {
        max-width: 100%; /* Full width on smaller screens */
    }

    .slideshow .slide img {
        max-height: 300px; /* Adjust height limit for smaller screens */
    }
}

@media (max-width: 480px) {
    .slideshow .slide img {
        max-height: 200px; /* Further reduce height for smaller screens */
    }
}

.phone-link {
    display: inline-block;
    color: #ff504a;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    background-color: #000;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    align-content: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.phone-link {
    font-size: 1rem;
    padding: 1rem;
}

/* Container for dropdowns */
.dropdown-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding: 8px;
}

/* Dropdown menu */
.dropdown-menu {
    width: 100%;
    position: relative;
    text-align: center;
}

/* Full-width dropdown toggle button */
.dropdown-toggle {
    width: 100%;
    background-color: #ff504a;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.dropdown-toggle:hover {
    background-color: #a21b1b;
}

/* Dropdown content */
.dropdown-content {
    display: none; /* Initially hidden */
    flex-direction: column;
    align-items: center;
    background-color: #2b2d30;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
    margin-top: 0.5rem;
    gap: 1rem;
}

/* Dropdown rows containing images */
.dropdown-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    flex-wrap: wrap;
}

/* Images */
.dropdown-content img {
    width: 100%; /* Ensure the image adapts to the container width */
    max-width: calc(50% - 0.5rem); /* Two images per row with spacing */
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dropdown-content img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .dropdown-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .dropdown-content img {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .dropdown-row {
        flex-direction: column; /* Stack images vertically on smaller screens */
        gap: 1rem; /* Maintain spacing */
    }

    .dropdown-content img {
        max-width: 100%; /* Full width for mobile screens */
    }
}

/* Section styling */
.hours-section {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: #2b2d30;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Title styling */
.hours-title {
    font-weight: bold;
    color: #ffd38b;
    margin-bottom: 1rem;
    text-align: center;
}

/* List styling */
.hours-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* List items */
.hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffd38b;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* List items hover effect */
.hours-list li:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

/* Day and time styles */
.hours-list .day {
    font-weight: bold;
    flex-basis: 30%;
    color: #ff504a;
}

.hours-list .time {
    flex-basis: 60%;
    text-align: right;
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .hours-list li {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .hours-list .time {
        text-align: left;
        font-style: normal;
    }
}

/* Container for location info */
.location-info {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: #2b2d30;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #ffd38b;
}

.location-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #ff504a;
    text-align: center;
}

.location-description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    text-align: center;
}

.location-address {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #ffd38b;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .location-info {
        padding: 1rem;
    }
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #1b1d1e;
    border-top: 1px solid #eee;
    color: #ffd38b;
    font-size: 0.9rem;
}

/* ── NAV SOCIAL LINK ── */
.nav_menu ul li.social {
    margin-top: 2rem; /* separation from other links */
}
.nav_menu ul li.social a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffd38b;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
}
.nav_menu ul li.social a:hover {
    color: #ff504a;
}
.social-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ── INSTAGRAM CARD ── */
.instagram-card {
    max-width: 280px;
    margin: 2rem auto;
    background-color: #1b1d1e;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.instagram-card a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: #ffd38b;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
}
.instagram-card a:hover {
    background-color: #2b2d30;
}
.card-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* ── ANNOUNCEMENT CAROUSEL ── */
.announcement-carousel { position: relative; max-width: 800px; margin: 2rem auto; overflow: hidden; }
.carousel-track {
    display: flex;
    overflow-x: auto;             /* ← make it scrollable by script */
    scroll-behavior: smooth;
    -ms-overflow-style: none;      /* IE/Edge hide scrollbar */
    scrollbar-width: none;         /* Firefox hide scrollbar */
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-card {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 1.5rem;
    background-color: #1b1d1e;
    color: #ffd38b;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    text-align: center;
    font-size: 1.1rem;
}

/* Nav buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(27,29,30,0.8);
    border: none;
    color: #ffd38b;
    font-size: 2rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 10;
}
.carousel-btn:hover {
    background: rgba(27,29,30,1);
}
.carousel-btn.prev { left: 0.5rem; }
.carousel-btn.next { right: 0.5rem; }


