/* --- WCAG Compliant Color Variables --- */
:root {
    --brand-charcoal: #FFFFFF;
    --brand-forest: #F0F8FF;
    --brand-emerald: #FFFFFF;
    --brand-olive: #F4F0DB;
    --brand-sage: #0B0D0C;
    --brand-cream: x #0B0D0C;
    --brand-muted: #0B0D0C;
}

/* --- Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.site-body {
    background-color: var(--brand-charcoal);
    color: var(--brand-cream);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- Navigation & Hamburger Menu --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #F0F8FF;
    backdrop-filter: blur(10px);
    border-bottom: .5px solid rgba(138, 145, 117, 0.3);
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 100px;
}

.nav-brand {
    font-family: Georgia, serif;
    font-size: 1.25rem;
    letter-spacing: 0.15em;
    color: var(--brand-sage);
    font-weight: bold;
}

.nav-links {
    display: none;
    margin-right: 50px;
}

.nav-links a {
    color: var(--brand-cream);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--brand-sage);

    outline-offset: 4px;
}

.nav-btn {
    display: none;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 130px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.hamburger-btn {
    background: transparent;
    border: 2px solid var(--brand-muted);
    border-radius: 0.375rem;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 2.5rem;
    height: 2.5rem;
    justify-content: center;
    align-items: center;
}

.hamburger-line {
    display: block;
    width: 1.25rem;
    height: 2px;
    background-color: var(--brand-muted);
    transition: transform 0.2s ease;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--brand-charcoal);
    border-bottom: 1px solid rgba(138, 145, 117, 0.3);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    z-index: 999l;
}

.mobile-menu[hidden] {
    display: none;
}

.mobile-link {
    color: var(--brand-cream);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.mobile-link:hover,
.mobile-link:focus {
    color: var(--brand-sage);
}

/* --- Quote Section --- */

.quote {
    font-size: 20px;
    border-style: outset;
    padding: 10px 20px;
    margin: auto;
    margin-top: 35px;
    margin-bottom: 40px;
    width: fit-content;
    background-color: #F0F8FF;
}





/* --- Hero Section --- */



.btn-primary {
    background-color: var(--brand-emerald);
    color: var(--brand-cream);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border: 1px solid var(--brand-olive);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--brand-forest);
}

.btn-secondary {
    background-color: transparent;
    color: var(--brand-cream);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border: 1px solid var(--brand-cream);
    transition: background-color 0.2s ease;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: rgba(138, 145, 117, 0.2);
}

/* --- Front Card Section --- */


.front-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    text-align: center;
   
}

/*.front-card-dir {
    background: #ffffff;

    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border-top: 4px solid var(--brand-forest);
    border-left: 1px solid rgba(138, 145, 117, 0.2);
    border-right: 1px solid rgba(138, 145, 117, 0.2);
    border-bottom: 1px solid rgba(138, 145, 117, 0.2);
}*/

.front-card-dir {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.front-card-dir img {
    font-family: Georgia, serif;
    max-width: 100%;
    height: auto;
    padding: 5rem;
}

.front-card-dir p {
    color: #0B0D0C;
    font-size: 1.5rem;
    line-height: 1.6;
    text-align: center;
    
    margin: 0;
}

.front-photo-card {
    background: #ffffff;
    padding: 5rem;
    position: relative;
    box-shadow: #FFFFFF;
    align-items: center;
}




/* --- Products / Services Section --- */
.services-section {
    padding: 3rem 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--brand-sage);
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.section-title {
    font-family: Georgia, serif;
    font-size: 2rem;
}

/* Base Styles: Mobile Phones (Default) */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Single column layout for mobile */
    gap: 1.5rem;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
    background-color: #2b4528;
    /* Green card background */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
}

.service-header,
.service-desc,
.service-duration,
.service-card .btn-primary {
    margin-left: 1rem;
    margin-right: 1rem;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.service-name {
    font-size: 1.1rem;
    margin: 0;
}

.service-price {
    font-size: 1.1rem;
    font-weight: bold;
}

.service-desc {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.service-duration {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 0.75rem;
}

.service-card .btn-primary {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    border-radius: 20px;
    cursor: pointer;
}


/* --- Gallery Section --- */
.gallery-section {
    background-color: rgba(10, 56, 40, 0.15);
    padding: 4rem 1.5rem;
    border-top: 1px solid rgba(138, 145, 117, 0.2);
    border-bottom: 1px solid rgba(138, 145, 117, 0.2);
}

.gallery-container {
    max-width: 72rem;
    margin: 0 auto;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.gallery-item {
    height: 16rem;
    background-color: var(--brand-forest);
    border: 1px solid var(--brand-olive);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nav-Bar Service Dropdown Menu*/

/* First-level dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--brand-forest);
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* Dropdown links & triggers */
.dropdown-content a,
.dropdown-submenu>a {
    color: var(--brand-cream);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    white-space: nowrap;
}

.dropdown-content a:hover,
.dropdown-submenu>a:hover {
    background-color: var(--brand-emerald);
}

/* Nested Submenu Wrapper */
.dropdown-submenu {
    position: relative;
}

/* Second-level dropdown (pops out to the side) */
.sub-dropdown-content {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: var(--brand-forest);
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 20;
}

/* Links inside the sub-dropdown */
.sub-dropdown-content a {
    color: var(--brand-cream);
    padding: 10px 16px;
    text-decoration: none;
    display: block;
}

.sub-dropdown-content a:hover {
    background-color: var(--brand-emerald);
}

/* Hover States to reveal menus */
.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-submenu:hover .sub-dropdown-content {
    display: block;
}


.mobile-subcategories {
    display: flex;
    flex-direction: column;
    padding-left: 1rem;
    gap: 0.75rem;
    margin-top: 0.5rem;
    border-left: 2px solid rgba(138, 145, 117, 0.4);
}

.mobile-subcategories.hidden {
    display: none;
}

.mobile-sub-link {
    color: var(--brand-sage, #A8B563);
    font-size: 0.95rem;
    text-decoration: none;
}

.mobile-sub-link:hover {
    color: #FFFFFF;
}

/* --- Extended Portfolio & Slideshow Styling --- */
.portfolio-page-container {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 2.5rem;
    margin-top: 8rem0;
}

.portfolio-header h1 {
    font-size: 2.3rem;
    color: var(--brand-forest);
    margin-bottom: 0.5rem;
    font-family: Georgia, serif;
}

.portfolio-header p {
    font-size: 1.1rem;
    color: var(--brand-sage);
}

.portfolio-section-box {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 3rem;
    border: 1px solid rgba(138, 145, 117, 0.2);
}

.slideshow-container {
    position: relative;
    width: 80%;
    height: 450px;
    background-color: var(--brand-charcoal);
    overflow: hidden;
    margin: auto;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 48, 24, 0.85));
    color: #ffffff;
    padding: 1.5rem;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.dots-container {
    display: flex;
    justify-content: center;
    padding: 1rem;
    background: #ffffff;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #d1d5db;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--brand-forest);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border-top: 4px solid var(--brand-forest);
    border-left: 1px solid rgba(138, 145, 117, 0.2);
    border-right: 1px solid rgba(138, 145, 117, 0.2);
    border-bottom: 1px solid rgba(138, 145, 117, 0.2);
}

.portfolio-card h3 {
    font-size: 1.4rem;
    color: var(--brand-muted);
    margin-bottom: 1rem;
    font-family: Georgia, serif;
}

.portfolio-card p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- About --- */
.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
}

.about-text-box {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 30px;
    border-radius: 8px;
    max-width: 550px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.about-text-box h1,
.about-text-box p {
    margin-top: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    letter-spacing: 0.02em;
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
}

.about-pic {
    height: 550px;
    width: 600px;
    object-fit: cover;
    margin-top: 0;
}

.about-container img,
.about-container .about-text {
    width: 100%;
    max-width: 500px;

}

/* --- Contact Page Styling --- */
.contact-page-container {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1.5rem;

}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-size: 2.3rem;
    color: var(--brand-muted);
    margin-bottom: 0.5rem;
    font-family: Georgia, serif;
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--brand-sage);
}

.contact-content-grid {
    display: grid;
    grid-template-columns: 1fr 1;
    gap: 2rem;
    align-items: start;
}

.contact-info-card,
.contact-form-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: #FFFFFF;
    border: 1px solid rgba(138, 145, 117, 0.2);
}

.contact-info-card h3,
.contact-form-card h3 {
    font-size: 1.4rem;
    color: var(--brand-muted);
    margin-bottom: 1rem;
    font-family: Georgia, serif;
}

.contact-info-card p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-details-list {
    list-style: none;
    padding: 0;
}

.contact-details-list li {
    margin-bottom: 0.8rem;
    color: #374151;
    font-size: 0.95rem;
}

.contact-details-list strong {
    color: var(--brand-muted);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-muted);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(138, 145, 117, 0.4);
    border-radius: 6px;
    font-size: 0.95rem;
    color: #1f2937;
    background-color: #f9fafb;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-muted);
    background-color: #ffffff;
}

.submit-btn {
    background-color: var(--brand-forest);
    color: var(--brand-cream, #ffffff);
    border: none;
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: #FFFFFF;
    /* Darker shade of forest */
}

.form-success-msg {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
}


/* --- Policy Pages Styling --- */
.policy-page-container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.policy-header {
    text-align: center;
    margin-bottom: 2.5rem;
    margin-top: 7rem;
}

.policy-header h1 {
    font-size: 2.3rem;
    color: var(--brand-muted);
    margin-bottom: 0.5rem;
    font-family: Georgia, serif;
}

.policy-header p {
    font-size: 0.95rem;
    color: var(--brand-sage);
}

.policy-card {
    background: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(138, 145, 117, 0.2);
}

.policy-card h2 {
    font-size: 1.25rem;
    color: var(--brand-muted);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-family: Georgia, serif;
}

.policy-card h2:first-of-type {
    margin-top: 0;
}

.policy-card p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}



/* --- Footer --- */
.footer {
    padding: 3rem 1.5rem;
    text-align: center;
    background-color: #BEDFF1;
    border-top: 1px solid rgba(138, 145, 117, 0.3);
}


.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.footer-links a {
    color: var(--brand-muted);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 70px;
}

.footer-links a:hover {
    color: var(--brand-sage);
    text-decoration: underline;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--brand-muted);
}

h6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    font-weight: normal;
    font-size: 20px;
}

/* --- Desktop Styles Override --- */
@media (min-width: 768px) {
    .hamburger-btn {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }

    .navbar {
        flex-direction: row;
        justify-content: space-between;
    }

    .nav-links {
        display: flex;
        gap: 2.5rem;
    }

    .nav-btn {
        display: inline-block;
        background-color: var(--brand-emerald);
        color: var(--brand-cream);
        padding: 0.5rem 1.25rem;
        border-radius: 9999px;
        font-size: 0.875rem;
        font-weight: 600;
        text-decoration: none;
        border: 1px solid var(--brand-olive);
    }




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

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

    .contact-content-grid {
        grid-template-columns: 1fr 1.5fr;
        gap: 2.5rem;
    }

    .about-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 60px 20px;
    }

    h6{
        flex-direction: row;
        justify-self: space-between;
        align-items: center;
    }
}