/* ==========================================================================
   CSS Variables & Base Styles
   ========================================================================== */
   :root {
    /* Brand Colors */
    --color-primary: #2C5F2E;     /* Forest green */
    --color-primary-dark: #1E4220;
    --color-accent: #F4A261;      /* Warm orange */
    --color-accent-dark: #E08C4A;
    --color-bg: #FAFAF8;          /* Off-white */
    --color-bg-alt: #F2F2EF;      /* Slightly darker off-white for contrast */
    --color-text: #1A1A1A;        /* Dark text */
    --color-text-light: #5A5A5A;  /* Lighter text for subtitles */
    --color-white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 24px rgba(0,0,0,0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 40px 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }
}

.bg-alt {
    background-color: var(--color-bg-alt);
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-2px) scale(1.04);
    box-shadow: var(--shadow-md);
    color: var(--color-white);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    transition: all var(--transition-normal);
    z-index: 1000;
    padding: 20px 0;
}

.navbar.scrolled {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: var(--color-text);
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-accent);
    transition: width var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 20px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    transition: all var(--transition-normal);
    border-radius: 3px;
}

/* Mobile Nav */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: center;
        transition: right var(--transition-normal);
        padding: 40px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-bottom: 40px;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for fixed nav */
    background: radial-gradient(circle at 100% 50%, rgba(44, 95, 46, 0.05) 0%, transparent 50%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.pre-headline {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.main-headline {
    font-size: 58px;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.sub-text {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    border-radius: 8px 80px 8px 80px;
    box-shadow: var(--shadow-lg);
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .sub-text {
        max-width: 100%;
        margin: 0 auto 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image img {
        border-radius: 4px 40px 4px 40px;
        margin-top: 40px;
    }
    
    .main-headline {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   Social Proof Bar
   ========================================================================== */
.social-proof {
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 20px 0;
    background-color: var(--color-white);
}

.proof-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.proof-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.proof-list svg {
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .proof-list {
        justify-content: center;
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.about-content {
    flex: 1;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-quote {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-primary);
    font-style: italic;
    border-left: 4px solid var(--color-accent);
    padding: 20px;
    margin: 30px 0;
    background-color: var(--color-white);
    border-radius: 0 8px 8px 0;
    box-shadow: var(--shadow-sm);
}

.credentials h3 {
    font-size: 1.1rem;
    font-family: var(--font-body);
    margin-bottom: 1rem;
    color: var(--color-text);
}

.credentials ul {
    list-style-type: disc;
    padding-left: 20px;
    color: var(--color-text-light);
}

.credentials li {
    margin-bottom: 8px;
}

@media (max-width: 992px) {
    .about-container {
        flex-direction: column-reverse;
    }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(44, 95, 46, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-desc {
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.service-includes {
    flex-grow: 1;
    margin-bottom: 30px;
}

.service-includes li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--color-text);
    font-size: 0.95rem;
}

.service-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.service-investment {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.card-btn {
    width: 100%;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-header {
    margin-bottom: 50px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--color-accent);
}

.rating {
    color: var(--color-accent);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.quote {
    font-style: italic;
    color: var(--color-text-light);
    margin-bottom: 25px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.client-name {
    margin-bottom: 2px;
    font-size: 1.1rem;
}

.client-title {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* ==========================================================================
   Booking / Contact Section
   ========================================================================== */
.booking-header {
    margin-bottom: 50px;
}

.booking-sub {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.booking-container {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.booking-widget, .contact-form-container {
    flex: 1;
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.widget-header h3, .contact-form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.widget-header p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.widget-dates {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.date-chip {
    padding: 15px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.date-chip:hover {
    border-color: var(--color-primary);
    background-color: rgba(44, 95, 46, 0.05);
}

.widget-btn {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    font-family: var(--font-body);
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.error-msg {
    color: #e74c3c;
    font-size: 0.85rem;
    display: none;
    margin-top: 5px;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #e74c3c;
}

.form-group.error .error-msg {
    display: block;
}

.form-submit {
    width: 100%;
}

.form-success {
    display: none;
    background-color: rgba(44, 95, 46, 0.1);
    color: var(--color-primary);
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
}

@media (max-width: 768px) {
    .booking-container {
        flex-direction: column;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .footer-logo {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-tagline {
    color: rgba(255,255,255,0.7);
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--color-white);
    opacity: 0.8;
}

.social-icons a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.footer-links h4 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    flex-wrap: wrap;
    gap: 15px;
}

.protron-link {
    color: var(--color-accent);
    text-decoration: underline;
}

.protron-link:hover {
    color: var(--color-white);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Refinements & Additions
   ========================================================================== */

/* Portfolio Badge */
.portfolio-badge {
    background-color: #1A1A1A;
    color: var(--color-white);
    font-size: 13px;
    padding: 8px 20px;
    position: relative;
    z-index: 1002;
    transition: height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
}

.badge-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.protron-link-badge {
    color: var(--color-accent);
    text-decoration: underline;
}

.protron-link-badge:hover {
    color: var(--color-white);
}

#closeBadge {
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    padding-left: 15px;
}

/* Decorative Line */
.decorative-line {
    width: 40px;
    height: 3px;
    background-color: var(--color-accent);
    margin-bottom: 1.5rem;
}

/* Hero Radial Gradient */
.hero-content {
    position: relative;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(44, 95, 46, 0.08) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

/* Mobile Overrides (max-width: 768px) */
@media (max-width: 768px) {
    /* 1. Hero stacks vertically — image above text */
    .hero-container {
        flex-direction: column-reverse;
    }
    
    /* 3. Services grid single column */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* 5. Font sizes */
    .main-headline {
        font-size: 34px !important;
    }
    .section-title {
        font-size: 26px;
    }
    body {
        font-size: 16px;
    }
    
    /* 6. Social proof bar 2x2 grid */
    .proof-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        text-align: left;
    }
    
    .proof-list li {
        justify-content: flex-start;
    }
    
    /* 7. Footer columns stack */
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
