/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   BASE STYLES (MOBILE FIRST)
========================= */
body {
    font-family: "Times New Roman", Times, serif;

    background: linear-gradient(
        135deg,
        #f8f1e2,
        #ead8b5,
        #f5e6c8
    );

    color: #1f1f1f;
    text-align: center;
    line-height: 1.6;
}
/* =========================
   CONTAINER
========================= */
.container {
    width: 92%;
    max-width: 1100px;
    margin: auto;
}

/* =========================
   TOP BAR
========================= */
.top-bar {
    background-color: #1f1f1f;
    color: #ffffff;
    font-size: 13px;
    padding: 10px 0;
    text-align: center;
}

.top-bar p {
    margin: 0;
    line-height: 1.5;
}

.top-bar a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: #d4af37;
}

/* =========================
   HEADER
========================= */
header {
    background-color: #f8f1e2;
    border-bottom: 2px solid #d4af37;
    padding: 15px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.logo img {
    width: 100%;
    max-width: 350px;
    height: auto;
}


/* =========================
   NAVIGATION (MOBILE FIRST)
========================= */

.menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #1f1f1f;   /* Dark charcoal */
}

nav {
    display: none;
    flex-direction: column;
    gap: 10px;
}

nav.active {
    display: flex;
}

nav a {
    text-decoration: none;
    color: #1f1f1f;
    font-weight: bold;
    padding: 5px;
}

nav a:hover {
    color: #d4af37;
}

@media (min-width: 768px) {

    .menu-toggle {
        display: none;
    }

    .logo {
        order: 1;
    }

    nav {
        order: 2;
        display: flex;
        flex-direction: row;
        gap: 5px;
    }

}
/* =========================
   HERO
========================= */

.hero {
    background: #ead8b5;
    color: #1f1f1f;
    padding: 65px 20px 55px;
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 12px;
    line-height: 1.1;
    color: #1f1f1f;
}

.hero-tagline,
.hero-location,
.hero-services {
    font-size: 18px;
    line-height: 1.6;
    color: #3f3224;
    margin-bottom: 6px;
}

.hero-services {
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.hero-photo {
    max-width: 1100px;
    margin: 0 auto;
    background: #ead8b5;
    padding: 14px;
    border-radius: 14px;
    border: 3px solid #d4af37;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.hero-photo img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.btn {
    display: inline-block;
    padding: 12px 22px;
    background: transparent;
    border: 2px solid #d4af37;
    border-radius: 5px;
    color: #1f1f1f;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #d4af37;
    color: #1f1f1f;
    border-color: #d4af37;
    transform: translateY(-2px);
}

.hero-label {
    display: inline-block;
    color: #6f4f28;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 18px;
}

@media (max-width:768px){

    .hero{
        padding:55px 20px;
    }

    .hero h1{
        font-size:34px;
    }

    .hero p{
        font-size:16px;
    }

    .hero-photo{
        padding:10px;
    }

}
/* =========================
   HERO QUICK INFO
========================= */

.hero-info {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid rgba(31, 31, 31, 0.15);
    color: #1f1f1f;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
}

.hero-info span:not(:last-child)::after {
    content: " | ";
    color: #d4af37;
    margin: 0 12px;
}

@media (max-width: 768px) {
    .hero-info {
        font-size: 15px;
        line-height: 1.8;
    }

    .hero-info span {
        display: block;
    }

    .hero-info span:not(:last-child)::after {
        content: "";
        margin: 0;
    }
}

/* =========================
   SECTIONS
========================= */
.section {
    padding: 50px 20px;
}

.section.alt {
    background-color: rgba(212, 175, 55, 0.15);
}

h2 {
    margin-bottom: 20px;
}

/* =========================
   WHY CHOOSE US
========================= */

.grid-4 .card {

    padding:30px 25px;

    background:#ead8b5;

    border:none;

    border-top:4px solid #d4af37;

    border-radius:12px;

    box-shadow:0 6px 15px rgba(0,0,0,0.12);

}


/* ICONS */

.why-icon {

    width:90px;
    height:90px;

    margin:0 auto 20px;

    display:flex;
    justify-content:center;
    align-items:center;

}


.why-icon img {

    width:90px;
    height:90px;

    object-fit:cover;

    border-radius:50%;

    border:3px solid #d4af37;

    padding:8px;

    background:#f8f1e2;

}



.grid-4 h3 {

    margin-bottom:12px;

    color:#0f2b46;

    font-size:22px;

}


.grid-4 p {

    line-height:1.6;

}


/* =========================
   MOBILE HORIZONTAL SCROLL
========================= */

@media(max-width:768px){

    .grid-4 {

        display:flex !important;

        flex-direction:row;

        flex-wrap:nowrap;

        overflow-x:auto;

        gap:20px;

        padding:10px 5px 20px;

        scroll-behavior:smooth;

        -webkit-overflow-scrolling:touch;

    }


    .grid-4 .card {

        min-width:85%;

        flex:0 0 85%;

    }

}


/* =========================
   SERVICES / CARDS
========================= */
.grid-3,
.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.card {
    background-color: #f5e6c8;
    padding: 15px;
    border: 1px solid #1f1f1f;
    border-left: 4px solid #d4af37;
    border-radius: 6px;
}


/* =========================
   ABOUT + HOURS
========================= */

.about-hours {

    display:grid;
    grid-template-columns:2fr 1fr;
    gap:35px;
    align-items:start;

    max-width:1200px;
    margin:0 auto;

}


/* =========================
   MAIN CARDS
========================= */

.about-card,
.hours-card {

    background:#ead8b5;

    padding:35px;

    border-radius:15px;

    border-top:5px solid #d4af37;

    box-shadow:0 8px 20px rgba(0,0,0,0.12);

}


.about-card {

    position:relative;
    overflow:hidden;

}


/* Faded Blueprint Background */

.about-card::before {

    content:"";

    position:absolute;

    inset:0;

    background-image:url("pictures/blueprint.png");

    background-size:cover;

    background-position:center;

    opacity:0.22;

    z-index:0;

}


.about-card > * {

    position:relative;

    z-index:1;

}



.about-card h2,
.hours-card h2 {

    color:#0f2b46;

    margin-bottom:25px;

    font-size:32px;

}



/* =========================
   COMPANY INTRO
========================= */

.company-text {

    margin-bottom:30px;

}


.company-text p {

    line-height:1.8;

    margin-bottom:18px;

}

/* =========================
   TEAM DROPDOWN
========================= */

.team-section {
    margin-top: 35px;
}

.accordion-btn {
    width: 100%;
    background: #f8f1e2;
    color: #0f2b46;
    border: 2px solid #d4af37;
    padding: 18px 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.accordion-btn:hover {
    background: #ead8b5;
}

.accordion-title {
    color: #0f2b46;
}

.accordion-icon {
    color: #d4af37;
    font-size: 25px;
}

/* DROPDOWN CONTENT */

.accordion-content {
    display: none;
    background: #f8f1e2;
    padding: 25px;
    border-radius: 0 0 10px 10px;
    margin-top: 5px;
}

.accordion-content.active {
    display: block;
}


/* =========================
   TEAM CARDS
========================= */

.team-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 15px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #d4af37 #ead8b5;
}

/* Chrome / Edge / Safari */
.team-grid::-webkit-scrollbar {
    height: 10px;
}

.team-grid::-webkit-scrollbar-track {
    background: #ead8b5;
    border-radius: 10px;
}

.team-grid::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 10px;
}

.team-card {
    flex: 0 0 240px;
    background: #ead8b5;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    scroll-snap-align: start;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.team-card img {
    width: 82%;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    padding: 12px;
    display: block;
    margin: 18px auto 0;
    background: transparent;
    border-radius: 10px;
}

.team-card h4 {
    margin: 18px 15px 8px;
    color: #0f2b46;
}

.team-title {
    display: block;
    color: #d4af37;
    font-weight: bold;
    margin-bottom: 12px;
}

.team-card p {
    padding: 0 18px 22px;
    line-height: 1.6;
}



/* =========================
   HOURS CARD
========================= */

.hours-card {

    position:sticky;

    top:100px;

    height:max-content;

}



.hours-list p {

    margin-bottom:18px;

    line-height:1.5;

}



.hours-list strong {

    color:#0f2b46;

}



/* =========================
   TABLET
========================= */

@media (max-width:900px) {

    .about-hours {
        grid-template-columns: 1fr;
    }

    .hours-card {
        position: static;
    }

    .team-card {
        flex: 0 0 320px;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width:768px) {

    .about-card,
    .hours-card {
        padding: 20px;
    }

    .about-card h2,
    .hours-card h2 {
        font-size: 26px;
    }

    .accordion-content {
        padding: 18px;
    }

    .team-grid {
        gap: 18px;
        padding-bottom: 10px;
    }

    .team-card {
        flex: 0 0 85%;
    }

    .team-card img {
        padding: 10px;
    }

}
/* =========================
   GALLERY (HORIZONTAL SCROLL)
========================= */
#gallery .grid-3 {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;

    /* optional: makes scrolling smoother on mobile */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* keeps all images uniform */
#gallery img {
    width: 250px;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 6px;
    display: block;
    transition: 0.2s ease;
}

#gallery a {
    display: block;
}

/* LIGHTBOX BACKDROP */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* IMAGE */
.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
}

/* CLOSE BUTTON */
.lightbox .close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}


.cta {
    background-color: #1f1f1f;
    color: white;
    padding: 50px 20px;
}

/* CTA BUTTON */

.cta .btn {
    display: inline-block;
    padding: 12px 22px;
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all .3s ease;
}

.cta .btn:hover {
    background: #d4af37;
    color: #1f1f1f;
}

/* =========================
   CONTACT
========================= */

#contact a {
    color: #1f1f1f;
    text-decoration: none;
    font-weight: bold;
}

#contact a:hover {
    color: #d4af37;
}

#contact p {
    margin-bottom: 10px;
}

/* =========================
   FOOTER
========================= */
footer {
    background-color: #1f1f1f;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.footer-copy {
    margin-bottom: 5px;
}

.footer-location {
    color: #d4af37;
    margin-bottom: 20px;
}

/* =========================
   FOOTER SOCIALS
========================= */
.socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.socials-title {
    color: #d4af37;
    font-weight: bold;
    margin-bottom: 5px;
}

.socials a {
    display: inline-block;
    padding: 8px 14px;

    background: transparent;
    border: 1px solid #d4af37;
    border-radius: 5px;

    color: #d4af37;
    text-decoration: none;
    font-weight: 600;

    transition: all 0.3s ease;
}

.socials a:hover {
    background-color: #d4af37;
    color: #1f1f1f;
}

/* =========================
   DESIGNER CREDIT
========================= */
.designer-credit {
    margin-top: 25px;
    font-size: 0.8rem;
    opacity: 0.7;
}
/* =========================
   DESKTOP (768px+)
========================= */
@media (min-width: 768px) {

    /* HEADER becomes horizontal */
    .header-container {
        flex-direction: row;
        justify-content: space-between;
    }

    /* NAV becomes horizontal */
    nav {
        flex-direction: row;
        gap: 20px;
    }

    /* HERO text grows */
    .hero h1 {
        font-size: 42px;
    }

    /* GRID expands */
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    /* ABOUT becomes side-by-side */
    .about {
        flex-direction: row;
        text-align: left;
        justify-content: center;
    }

    /* GALLERY switches from scroll → grid */
    #gallery .grid-3 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow: visible;
    }

    #gallery img {
        width: 100%;
    }
}
