/* ==========================================================================
   GLOBAL DESIGN SYSTEM & VARIABLES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --primary-color: #2E7D32;
    --secondary-color: #4CAF50;
    --accent-color: #FF9800;
    --bg-color: #F8FAFC;
    --white: #FFFFFF;
    --dark-color: #1F2937;
    --text-muted: #6B7280;
    --border-color: #E2E8F0;
    
    /* Material Design Accents */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--dark-color);
    line-line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

input, textarea, button {
    font-family: inherit;
}

/* ==========================================================================
   REUSABLE UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

.text-center { text-align: center; }

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 16px;
    position: relative;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 48px auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(46, 125, 50, 0.05);
    transform: translateY(-2px);
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.header {
    background-color: var(--white);
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.header.scrolled {
    height: 70px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark-color);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--dark-color);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(31, 41, 55, 0.65), rgba(31, 41, 55, 0.5)), url('https://images.unsplash.com/photo-1610348725531-843dff563e2c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: var(--header-height);
    text-align: left;
}

.hero-content {
    max-width: 700px;
}

.hero-tagline {
    background-color: rgba(76, 175, 80, 0.2);
    border: 1px solid var(--secondary-color);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 36px;
    opacity: 0.95;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.hero-btns .btn-secondary {
    color: var(--white);
    border-color: var(--white);
}

.hero-btns .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   ABOUT PREVIEW / SPLIT SECTIONS
   ========================================================================== */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.split-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.split-img-wrapper img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.split-img-wrapper:hover img {
    transform: scale(1.03);
}

.split-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.split-text p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* =--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
/* PRODUCTS SECTION
   ========================================================================== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.product-card {
    padding: 0;
    overflow: hidden;
}

.product-img {
    height: 240px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   WHY CHOOSE US / FEATURES
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-item {
    text-align: left;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(46, 125, 50, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   STATISTICS & TRUST
   ========================================================================== */
.bg-dark {
    background-color: var(--dark-color);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-card text-center {
    padding: 16px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.85;
    font-weight: 400;
}

/* ==========================================================================
   CALL TO ACTION (CTA)
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #1b5e20);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 64px;
    box-shadow: var(--shadow-lg);
}

.cta-content {
    max-width: 650px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-section .btn-white {
    background-color: var(--white);
    color: var(--primary-color);
}

.cta-section .btn-white:hover {
    background-color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #111827;
    color: #9CA3AF;
    padding-top: 80px;
    border-top: 1px solid #1F2937;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand h2 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.footer-heading {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-links flex-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.footer-contact-item span:first-child {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid #1F2937;
    padding: 24px 0;
    font-size: 0.9rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 99;
    border: none;
    font-size: 1.2rem;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-4px);
}

/* ==========================================================================
   PAGE SPECIFIC: INNER HERO
   ========================================================================== */
.inner-hero {
    background: linear-gradient(rgba(31, 41, 55, 0.8), rgba(31, 41, 55, 0.7)), url('https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    padding: 120px 0 60px 0;
    color: var(--white);
    margin-top: var(--header-height);
}

.inner-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    font-size: 0.9rem;
    margin-top: 8px;
    opacity: 0.8;
}

.breadcrumbs a:hover {
    color: var(--secondary-color);
}

/* ==========================================================================
   PAGE SPECIFIC: CONTACT
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 48px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    background-color: rgba(46, 125, 50, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-details p, .contact-details a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.map-wrapper {
    margin-top: 16px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 250px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    color: var(--dark-color);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

/* ==========================================================================
   PAGE SPECIFIC: GALLERY
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 280px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: var(--white);
    font-weight: 500;
    font-size: 1.05rem;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Lightbox Components */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 85%;
    max-height: 80%;
    position: relative;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
}

.lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    background: transparent;
    border: none;
}

.lightbox-caption {
    color: var(--white);
    text-align: center;
    margin-top: 16px;
    font-size: 1.1rem;
}

/* ==========================================================================
   PAGE SPECIFIC: PRIVACY POLICY
   ========================================================================== */
.policy-content {
    background-color: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.policy-content h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 32px 0 16px 0;
}

.policy-content h2:first-of-type {
    margin-top: 0;
}

.policy-content p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.policy-content ul {
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-left: 24px;
    list-style-type: disc;
}

.policy-content li {
    margin-bottom: 8px;
}