/* ==========================================================================
   CSS VARIABLES & RESET
   ========================================================================== */
:root {
    --color-primary: #8FB9A8; /* Soft Pastel Green */
    --color-primary-dark: #6B9685; /* Darker green for hovers */
    --color-text: #2C3E3A; /* Deep cool grey/green for text readability */
    --color-text-light: #5A706A; /* Muted text */
    --color-bg-light: #F0F6F7; /* Very soft pastel blue for section backgrounds */
    --color-white: #ffffff;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased; 
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
.section { padding: 80px 0; }

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.section-title--center { text-align: center; }

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.section-text {
    margin-bottom: 1.2rem;
    color: var(--color-text-light);
}

html { scroll-padding-top: 160px; }

.mb-small { margin-bottom: 20px; }
.nav__link.active-link { color: var(--color-primary); }
.services-spacing { margin-top: 80px; margin-bottom: 80px; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    text-align: center;
}

.btn--full { width: 100%; }

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 2px solid var(--color-primary);
}

.btn--primary:hover {
    background-color: var(--color-primary-dark);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn--outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-in-out;
    z-index: -1;
}

.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.header__logo {
    display: flex;
    align-items: center;
    height: 100%; 
}

.header__logo-img {
    max-height: 70px; 
    width: auto;
    transition: var(--transition);
}

.header__logo:hover .header__logo-img { opacity: 0.8; }

.nav__list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav__link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-text);
    transition: var(--transition);
}

.nav__link:hover { color: var(--color-primary); }

.header__toggle { display: none; }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden; 
    margin-top: 0; 
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('desktopHero.jpg') center/cover no-repeat;
    z-index: 0;
    will-change: transform; 
    animation: slowZoom 20s infinite alternate linear;
}

.hero__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(61, 52, 50, 0.75); 
    z-index: 1;
}

.hero__content {
    position: relative;
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
    margin-top: 60px;
    z-index: 2;
    opacity: 0;
    animation: fadeUp 1s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about__image {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ==========================================================================
   BANNER SECTION
   ========================================================================== */
.banner {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 60px 0;
    text-align: center;
    font-style: italic;
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--color-bg-light);
    padding: 40px 30px;
    border-radius: 6px;
    border-top: 4px solid var(--color-primary);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.service-card__title {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card__text {
    color: var(--color-text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */
.bg-light { background-color: var(--color-bg-light); }

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.pricing__info {
    background: var(--color-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.pricing__info h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 20px;
    font-size: 1.4rem;
    border-bottom: 2px solid var(--color-bg-light);
    padding-bottom: 10px;
}

.pricing__list { margin-bottom: 25px; }

.pricing__list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
    color: var(--color-text);
}

.pricing__list li strong {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.pricing__note {
    background-color: #e0f1ea; 
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid var(--color-primary);
    font-size: 0.95rem;
}

.pricing__note p { margin-bottom: 10px; }

/* ==========================================================================
   CONTACT FORM STYLES
   ========================================================================== */
.contact__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--color-white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact__info h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact__list { margin-top: 20px; }
.contact__list li { margin-bottom: 15px; color: var(--color-text-light); }
.contact__list strong { color: var(--color-primary-dark); }

/* Form Styling */
.form {
    width: 100%;
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-text);
}

.form__input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d9e6;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    color: var(--color-text); 
    background-color: var(--color-white); 
    -webkit-appearance: none; 
    appearance: none; 
    display: block; /* Ensures inputs don't sit side-by-side */
}

.form__input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(143, 185, 168, 0.2); 
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #3D3432; 
    color: var(--color-white);
    padding: 60px 0 20px;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer__title {
    font-family: var(--font-heading);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer__text { 
    color: #e0e0e0; 
    margin-bottom: 10px; 
}

.footer__links li { margin-bottom: 10px; }
.footer__links a { color: #e0e0e0; transition: var(--transition); }
.footer__links a:hover { color: var(--color-white); }

.footer__bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* ==========================================================================
   SCROLL ANIMATION CLASSES (JS)
   ========================================================================== */
.hidden-el {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.show-el {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 100ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 300ms; }

/* ==========================================================================
   MEDIA QUERIES (MOBILE RESPONSIVENESS)
   ========================================================================== */
@media screen and (max-width: 768px) {
    .hero::before { background-image: url('mobileHero.jpg'); }

    .header__toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 101; 
        padding: 0;
    }

    .header__toggle span {
        width: 100%;
        height: 2px;
        background-color: var(--color-text);
        transition: all 0.3s ease-in-out;
        transform-origin: center;
    }

    .header__toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .header__toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
    .header__toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--color-white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transition: 0.4s;
        overflow-y: auto;
    }

    .nav.show-menu { left: 0; }
    .nav__list { flex-direction: column; padding: 50px 0; gap: 30px; }

    .hero__title { font-size: 2.2rem; }
    .hero__description { font-size: 1rem; }
    .hero__buttons { flex-direction: column; gap: 20px; }
    .hero__buttons .btn { margin-bottom: 0; width: 100%; }

    .about__container { grid-template-columns: 1fr; }
    
    /* Forces the form and contact info to stack nicely on mobile */
    .contact__container { grid-template-columns: 1fr; padding: 30px; gap: 40px; }
}