/* --- Global Variables for Color and Font Management --- */
:root {
    --color-primary-dark: #1e4533; /* Dark Green for Header/Logo */
    --color-accent-red: #cc3333; /* Red/Maroon for Checkup Button */
    --color-accent-gold: #f4c244; /* Gold/Yellow for Main CTA */
    --color-background-light: #f7f7f7;
    --font-serif: 'Playfair Display', serif; 
    --font-sans: 'Roboto', sans-serif; 
}

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

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    background-color: white; 
    padding-top: 65px; 
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* REMOVED: .container styles - using Bootstrap's default .container now */

/* --- Typography Defaults --- */
h1, h2, h3 {
    font-family: var(--font-serif);
}

/* ==================================== */
/* 1. HEADER & NAVIGATION STYLES        */
/* ==================================== */
.main-header {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(30, 69, 51, 0.9); 
    padding: 10px 0;
    z-index: 1000;
}

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

.logo-link {
    display: flex;
    align-items: center;
    color: white;
    font-weight: bold;
}

.logo-image {
    height: 60px; 
    margin-right: 8px;
}

.main-nav ul {
    display: flex;
}

.main-nav a {
    color: white;
    font-weight: 500;
    padding: 10px 15px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--color-accent-gold); 
}

.cta-checkup {
    background-color: var(--color-accent-red);
    color: white;
    padding: 10px 20px;
    border-radius: 25px; 
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-checkup:hover {
    background-color: #a32929; 
}

/* ==================================== */
/* 2. HERO SECTION STYLES               */
/* ==================================== */
.hero-section {
    position: relative;
    height: 100vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    background: url('images/hort-us-eden-hero.png') no-repeat center center/cover;
    color: white; /* FIX: Ensure text is white on the dark hero background */
}
.hero-image {
    max-width: 20px;     /* adjust size as needed */
    width: 20px;
    height: auto;
    margin: 0 auto 20px; /* space below image */
    display: block;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 900px;
    padding: 0 20px;
}

.hero-heading {
    font-size: 4.5em; 
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 700;
}

.hero-subtext {
    font-size: 1.25em;
    line-height: 1.6;
    margin-bottom: 50px;
}

.main-cta-button {
    background-color: var(--color-accent-gold);
    color: var(--color-primary-dark); 
    font-size: 18px;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 5px; 
    display: inline-block;
    transition: background-color 0.3s;
}

.main-cta-button:hover {
    background-color: #e0b439; 
}

/* ==================================== */
/* 3. WORK / BEFORE & AFTER GALLERY     */
/* ==================================== */
.work-section {
    padding: 80px 0;
    background-color: var(--color-background-light); 
    text-align: center;
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 60px;
    color: var(--color-primary-dark);
}

/* REMOVED: .before-after-grid CSS grid definition - now using Bootstrap row/col */

.work-card {
    position: relative;
    overflow: hidden;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease;
    height: 100%; /* Ensures Bootstrap columns have uniform height */
}

.work-card:hover {
    transform: translateY(-5px);
}

.work-image {
    width: 100%; 
    height: auto; 
    object-fit: cover;
    display: block;
}

.view-more-container {
    margin-top: 60px;
}

.btn-secondary {
    display: inline-block;
    color: var(--color-primary-dark);
    border: 2px solid var(--color-primary-dark);
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
}

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

/* ==================================== */
/* 4. CORE SERVICES SECTION STYLES      */
/* ==================================== */
.services-section {
    padding: 100px 0;
    background-color: #f0f7f0; 
    text-align: center;
}

.services-header {
    margin-bottom: 70px;
}

.services-header .section-title {
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.15em;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* REMOVED: .services-grid CSS grid definition - now using Bootstrap row/col */

.service-card {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); 
    transition: transform 0.3s ease;
    height: 100%; /* Ensures Bootstrap columns have uniform height */
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-icon {
    /* Updated for Font Awesome icons */
    font-size: 3em;
    display: block;
    margin-bottom: 20px;
    color: var(--color-primary-dark);
}

.service-card h3 {
    font-size: 2em;
    color: var(--color-primary-dark);
    margin-bottom: 10px;
}

.service-highlight {
    font-weight: 500;
    color: #4a8d59; 
    display: block;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.service-description {
    font-size: 1em;
    color: #666;
}

/* ==================================== */
/* 5. FOOTER STYLES                     */
/* ==================================== */
.main-footer {
    background-color: white; 
    padding: 80px 0;
    color: #444; 
    border-top: 1px solid var(--color-background-light); 
}

/* REMOVED: .footer-grid CSS grid definition - now using Bootstrap row/col */

.footer-col h3 {
    font-family: var(--font-serif);
    font-size: 1.5em;
    color: var(--color-primary-dark);
    margin-bottom: 25px;
}

/* --- Column 1: Info --- */
.footer-logo-link {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.footer-logo-image {
    height: 60px; 
    margin-right: 5px;
}

.site-title-footer {
    font-weight: 700;
    font-size: 1.1em;
    color: var(--color-primary-dark);
    margin-bottom: 15px;
}

.footer-description {
    font-size: 0.95em;
    line-height: 1.5;
    max-width: 300px; /* Kept for the description block */
}

/* --- Columns 2 & 3: Links and Contact --- */
.footer-links ul,
.footer-contact ul {
    display: block;
}

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

.footer-links a {
    color: #444;
    transition: color 0.3s;
}

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

/* Style for Font Awesome icons in the contact list */
.contact-icon {
    font-size: 1.1em;
    margin-right: 8px;
    color: var(--color-primary-dark);
}

/* ==================================== */
/* 6. ABOUT US STYLES                   */
/* ==================================== */
.about-us-section {
    padding: 100px 0;
    background-color: #f0f7f0; 
}

/* REMOVED: .about-grid CSS grid definition - now using Bootstrap row/col */
/* The layout is handled by the .row and .col-lg-6 classes on about.php */

.about-title {
    font-size: 2.5em;
    color: var(--color-primary-dark);
    margin-bottom: 25px;
}

.mission-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
    margin-bottom: 50px;
    /* padding-right: 20px; <-- Removed padding as Bootstrap columns handle spacing */
}

.mission-subtitle,
.vision-subtitle {
    font-size: 1.4em;
    color: var(--color-primary-dark);
    margin-bottom: 15px;
}

.mission-simple-text,
.vision-simple-text {
    font-size: 1.05em;
    line-height: 1.7;
    padding: 15px;
    background-color: rgba(30, 69, 51, 0.05); 
    border-left: 3px solid var(--color-primary-dark); 
    color: var(--color-primary-dark);
}

.vision-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
    margin-bottom: 50px;
    /* padding-left: 20px; <-- Removed padding as Bootstrap columns handle spacing */
}

.vision-simple-text {
    border-left-color: #4a8d59; 
}

/* ==================================== */
/* 7. TEAM SECTION STYLES               */
/* ==================================== */
.our-team-section {
    padding: 100px 0;
    text-align: center;
    background-color: white; 
}

.team-subtitle {
    margin-bottom: 70px;
    font-size: 1.15em;
    color: #555;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* REMOVED: .team-grid CSS grid definition - now using Bootstrap row/col */

.team-member-card {
    background-color: var(--color-background-light); 
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); 
    height: 100%; /* Ensures Bootstrap columns have uniform height */
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%; 
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid white; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
}

.team-name {
    font-family: var(--font-serif);
    font-size: 1.6em;
    color: var(--color-primary-dark);
    margin-bottom: 5px;
}

.team-title {
    font-weight: 500;
    font-size: 1.05em;
    color: #4a8d59; 
    margin-bottom: 15px;
}

.team-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #666;
    min-height: 50px; 
}

/* ==================================== */
/* 8. FINAL CTA SECTION                 */
/* ==================================== */
.cta-section {
    padding: 100px 0;
    background-color: #f0f7f0; 
    text-align: center;
}

.cta-heading {
    font-size: 3em;
    color: var(--color-primary-dark);
    margin-bottom: 35px;
}

.cta-content .main-cta-button {
    font-size: 20px;
    padding: 20px 50px;
}


/* ==================================== */
/* 9. SERVICES PAGE STYLES (services.php) */
/* ==================================== */

.services-page-intro {
    background-color: var(--color-background-light);
    padding: 80px 0 50px;
}

/* These styles were for emojis and have been replaced by Font Awesome with utility classes */
/* .leaf-deco {
    margin-bottom: 20px;
    font-size: 1.5em;
    color: #4a8d59;
} */

.page-main-heading {
    font-size: 3.5em;
    color: var(--color-primary-dark);
    margin-bottom: 10px;
}

.page-sub-heading {
    font-size: 1.5em;
    color: #555;
    margin-bottom: 30px;
}

.intro-description {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto;
}

.service-detail-section {
    padding: 100px 0;
}

/* REMOVED: .detail-grid CSS grid definition - now using Bootstrap row/col */

.service-detail-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px; /* Added rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Added shadow for depth */
}

.service-title {
    font-size: 2.8em;
    color: var(--color-primary-dark);
    margin-bottom: 10px;
}

.service-tagline {
    font-weight: 500;
    font-size: 1.2em;
    color: #4a8d59;
    display: block;
    margin-bottom: 25px;
}

.service-summary {
    font-size: 1.1em;
    color: #444;
    font-style: italic;
    margin-bottom: 30px;
}

.detail-content-col h4 {
    font-size: 1.5em;
    color: var(--color-primary-dark);
    margin-bottom: 15px;
}

.check-list {
    margin-top: 0; /* Resetting ul margin */
}

.check-list li {
    font-size: 1.05em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

/* Style for Font Awesome check icon */
.check-icon {
    font-size: 1.2em;
    color: #4a8d59; /* Highlight green */
    margin-right: 10px;
    line-height: 1;
}

@media (max-width: 768px) {
    /* REMOVED: .reverse-mobile class is now handled by Bootstrap's flex utilities on the PHP file */
    
    .hero-heading {
        font-size: 3em; 
    }
    .hero-subtext {
        font-size: 1.1em;
    }
    .main-cta-button {
        padding: 15px 30px;
        font-size: 16px;
    }
    .team-member-card {
        padding: 20px;
    }
}