:root {
    --forest-green: #1b3022;
    --sage: #f9fbf9;
    --gold: #e0c084;
    --white: #ffffff;
    --text-gray: #555;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: var(--white);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    color: var(--forest-green);
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.nav-links a {
    text-decoration: none;
    color: var(--forest-green);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 20px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--forest-green);
    margin: 4px 0;
    transition: all 0.3s ease;
}

.hero {
    height: 80vh;
    min-height: 550px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('Gemini_Generated_Image_1q8n7q1q8n7q1q8n.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    border: 1px solid var(--white);
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    margin-top: 20px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: var(--white);
    color: var(--forest-green);
}

.trust-bar {
    background: var(--forest-green);
    color: var(--white);
    padding: 15px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

section {
    padding: 80px 15%;
}

h2 {
    color: var(--forest-green);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 300;
    margin-bottom: 40px;
}

.about,
.before-after,
.contact,
.aftercare {
    background: var(--sage);
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.technology {
    text-align: center;
    background: var(--white);
}

.tech-img {
    max-width: 600px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 30px;
}

.services-grid,
.pricing-grid,
.ba-grid,
.aftercare-grid,
.advice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-item,
.pricing-item,
.ba-item,
.aftercare-item,
.advice-item {
    background: var(--white);
    padding: 30px;
    border-left: 4px solid var(--forest-green);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.pricing-intro,
.contact-intro {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-gray);
}

/* Preparation Section Specifics */
.pre-treatment {
    background: var(--white);
}

.advice-item {
    border: 1px solid #eee;
    border-left: 4px solid var(--forest-green);
}

.advice-item h3,
.aftercare-item h3,
.pricing-item h3 {
    color: var(--forest-green);
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1rem;
}

.advice-item ul,
.aftercare-item ul,
.pricing-item ul {
    list-style: none;
    padding: 0;
}

.advice-item li,
.aftercare-item li {
    font-size: 0.9rem;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    color: var(--text-gray);
}

.advice-item li::before,
.aftercare-item li::before {
    content: "•";
    color: var(--gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.aftercare-item {
    border-top: 4px solid var(--gold);
    border-left: none;
}

.aftercare-item i {
    font-size: 1.8rem;
    color: var(--forest-green);
    margin-bottom: 15px;
    display: block;
}

.ba-item img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.note {
    font-style: italic;
    font-size: 0.85rem;
    color: #777;
    margin-top: 10px;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
    width: 100%;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
}

.btn-submit {
    background: var(--forest-green);
    color: var(--white);
    border: none;
    padding: 15px;
    width: 100%;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
}

.btn-submit:hover {
    background: #15481a;
}

#form-result {
    text-align: center;
    margin-top: 15px;
    font-weight: 600;
}

.map-section {
    padding: 0;
    line-height: 0;
}

footer {
    background: #0f1410;
    color: var(--white);
    padding: 60px 8%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

footer h4 {
    color: var(--gold);
    margin-bottom: 20px;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--gold);
}

.copyright {
    grid-column: 1 / -1;
    text-align: center;
    opacity: 0.5;
    font-size: 0.8rem;
    padding-top: 30px;
    border-top: 1px solid #222;
}

/* ────────────────────────────────────────────────
   MOBILE MENU & HAMBURGER → X TRANSITION
───────────────────────────────────────────────── */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 10px 0;
        margin-left: 0;
        font-size: 1rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Hamburger → X icon */
.menu-toggle.is-active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ────────────────────────────────────────────────
   FORM ACCESSIBILITY ENHANCEMENTS
───────────────────────────────────────────────── */
label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--forest-green);
    font-size: 0.95rem;
}

/* Slightly darker fallback for gold-on-white contrast safety */
.note,
.pricing-item p:not(.note) {
    color: #666;
}

/* ────────────────────────────────────────────────
   PRICING SECTION FIXES & ENHANCEMENTS
───────────────────────────────────────────────── */
.pricing-item {
    min-height: 320px;          /* Prevents cards from becoming too short and misaligned */
    display: flex;
    flex-direction: column;
    justify-content: space-between;  /* Pushes note to bottom if content varies */
}

.pricing-item ul {
    margin: 15px 0 10px 0;
    flex-grow: 1;               /* Lets list take available space */
}

.pricing-item p:not(.note) {
    margin-bottom: 0.8rem;
}

.note {
    margin-top: auto;           /* Keeps note at bottom of card */
}

.pricing-grid {
    margin-top: 2rem;
}

.pricing-item h3 {
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #eee;   /* Optional subtle divider */
}
