/* =====================================
   CSS GLOBAL RESET & VARIABLES
   ===================================== */
:root {
    --color-green: #6B8E23;
    --color-gold: #D4AF37;
    --color-gray: #4A5568;
    --color-dark-bg: #2c3e50;
    --color-light-bg: #f8f9fa;
    --color-white: #ffffff;
    --color-warning: #e74c3c;
    --font-primary: 'Poppins', sans-serif;
    --header-height: 75px;
    --transition-standard: 0.3s ease;
}

*, *::before, *::after { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    -webkit-tap-highlight-color: transparent; 
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    overflow-x: hidden;
}

body { 
    font-family: var(--font-primary); 
    line-height: 1.6; 
    color: var(--color-gray); 
    background-color: var(--color-white); 
    overflow-x: hidden;
    width: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 4px;
}

main {
    padding-top: var(--header-height);
}

.container { max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.section-padding { padding-block: 80px; }

/* Typography */
h1 { font-size: clamp(2.2rem, 7vw, 4.5rem); font-weight: 800; color: var(--color-dark-bg); line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); font-weight: 700; color: var(--color-dark-bg); margin-bottom: 15px; text-align: center; }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 700; color: var(--color-dark-bg); }

a { text-decoration: none; color: var(--color-green); transition: color var(--transition-standard); }
a:hover { color: var(--color-gold); }

/* --- REVEAL ANIMATIONS --- */
.reveal-up, .reveal-left, .reveal-right { 
    opacity: 0; 
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.active, .reveal-left.active, .reveal-right.active { opacity: 1; transform: translate(0, 0); }

/* Buttons */
.cta-button { 
    display: inline-flex; 
    align-items: center; 
    padding: 12px 30px; 
    background-color: var(--color-gold); 
    color: var(--color-dark-bg); 
    border: none; 
    border-radius: 50px; 
    font-weight: 600; 
    letter-spacing: 1px; 
    cursor: pointer; 
    transition: all var(--transition-standard); 
    margin-top: 20px; 
    text-transform: uppercase; 
    text-decoration: none; 
}
.cta-button:hover { background-color: #c4a330; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); }
.primary-cta { background-color: var(--color-green); color: var(--color-white); }
.primary-cta:hover { background-color: #507c1c; }

/* Header */
#main-header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    background-color: rgba(255, 255, 255, 0.95); 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); 
    z-index: 1000; 
    transition: background-color var(--transition-standard), box-shadow var(--transition-standard); 
    height: var(--header-height);
    display: flex;
    align-items: center;
}
.header-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%;
    max-width: 1300px; 
    margin-inline: auto; 
    padding-inline: 20px; 
}
.logo-area { display: flex; align-items: center; font-weight: 700; font-size: 1.4rem; color: var(--color-dark-bg); }
.logo-image { height: 40px; width: auto; margin-inline-end: 10px; }
.nav-links { display: flex; align-items: center; }
.nav-item { margin-inline-start: 25px; font-weight: 600; color: var(--color-gray); position: relative; white-space: nowrap; font-size: 0.95rem; }
.nav-item::after { 
    content: ''; 
    position: absolute; 
    width: 0; 
    height: 2px; 
    bottom: -5px; 
    left: 0; 
    background: var(--color-green); 
    transition: width var(--transition-standard); 
}
.nav-item:hover::after { width: 100%; }

/* Hero */
.hero-section { 
    position: relative;
    overflow: hidden; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    height: 100vh; 
    height: 100dvh; 
    width: 100%;
    background-color: var(--color-dark-bg);
}
.video-background { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transform: translate(-50%, -50%); 
    z-index: 1; 
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 2; }
.hero-content { 
    z-index: 3; 
    color: var(--color-white); 
    max-width: 800px; 
    padding-inline: 20px;
}
.hero-content h1 { color: var(--color-white); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
.hero-content h2 { color: #ddd; font-weight: 300; }
.hero-content h3 { color: var(--color-gold); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 30px; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { opacity: 0; animation: fadeIn 1s ease-out forwards; }
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

/* Service Cards */
.service-overview { text-align: center; background-color: var(--color-light-bg); }
.intro-paragraph { font-size: clamp(1rem, 3vw, 1.3rem); max-width: 900px; margin-inline: auto; margin-block-end: 50px; color: var(--color-gray); font-weight: 300; }
.service-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.service-card { background: var(--color-white); padding: 40px 30px; border-radius: 15px; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05); transition: all var(--transition-standard); border-top: 5px solid transparent; text-align: center; }
.service-card:hover { transform: translateY(-10px); border-top: 5px solid var(--color-green); }
.icon-large { font-size: 3rem; color: var(--color-green); margin-bottom: 20px; display: block; }

/* Layouts */
.section-alternating { background-color: var(--color-white); }
.bg-light { background-color: var(--color-light-bg); }
.alternating-layout { display: flex; gap: 60px; align-items: center; }
.reverse-layout { flex-direction: row-reverse; }
.content-block { flex: 1; }
.content-block h2 { text-align: left; margin-bottom: 20px; }
.small-title { color: var(--color-green); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; display: block; }

/* Bullets */
.bullet-list { list-style: none; padding-inline-start: 0; margin: 0; }
.bullet-list li { position: relative; padding-inline-start: 35px; margin-block-end: 15px; line-height: 1.5; text-align: left; }
.bullet-list li::before { 
    content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--color-green); 
    position: absolute; left: 0; top: 2px; font-size: 1.1rem; 
}
.bullet-bold { font-weight: 700; }

/* Stats */
.stat-block { display: flex; align-items: center; margin-block: 20px; color: var(--color-warning); }
.stat-reduction-arrow { font-size: 2.5rem; margin-inline-end: 15px; }
.stat-value { font-size: 2.5rem; font-weight: 800; }

/* Images */
.image-block { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.image-container { 
    position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    aspect-ratio: 16/10; transition: transform 0.5s ease; 
} 
.image-container img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 0.5s; }
.image-container:hover img { transform: scale(1.05); }
.image-caption { background: rgba(0,0,0,0.7); color: white; padding: 10px; font-size: 0.85rem; position: absolute; bottom: 0; width: 100%; text-align: center; }

/* DSM Display */
.dsm-display { margin-top: 30px; background: #eee; padding: 20px; border-radius: 12px; }
.dsm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 15px; }
.dsm-item img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 6px; }
.dsm-caption { font-size: 0.75rem; text-align: center; margin-top: 5px; font-weight: 600; }

/* Slider */
.bg-wood-tone { background-color: #f4f1ea; }
.event-slider-container { width: 100%; max-width: 1000px; height: 350px; margin-inline: auto; overflow: hidden; border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); position: relative; }
.event-slider-track { display: flex; width: 500%; height: 100%; animation: slideLoop 25s infinite ease-in-out; will-change: transform; }
.event-slide { width: 20%; height: 100%; flex-shrink: 0; } 
.event-slide img { width: 100%; height: 100%; object-fit: cover; }
@keyframes slideLoop {
    0%, 16% { transform: translate3d(0, 0, 0); }
    20%, 36% { transform: translate3d(-20%, 0, 0); }
    40%, 56% { transform: translate3d(-40%, 0, 0); }
    60%, 76% { transform: translate3d(-60%, 0, 0); }
    80%, 96% { transform: translate3d(-80%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

/* Contact */
.contact-section { background-color: var(--color-white); }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; }
.contact-form-wrapper { background: var(--color-light-bg); padding: 40px; border-radius: 15px; }
#inquiry-form input, #inquiry-form select, #inquiry-form textarea { 
    width: 100%; padding: 15px; margin-block-end: 20px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; font-size: 1rem;
}
#inquiry-form textarea { height: 150px; resize: vertical; }

/* Footer */
footer { background-color: var(--color-dark-bg); color: #fff; padding-block: 60px 20px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; border-block-end: 1px solid rgba(255,255,255,0.1); padding-block-end: 30px; margin-block-end: 20px; flex-wrap: wrap; }
.footer-links a { color: #888; margin-inline-start: 20px; font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--color-green); }

/* Responsive */
@media (max-width: 1024px) {
    .alternating-layout, .reverse-layout { flex-direction: column !important; text-align: center; }
    .content-block h2 { text-align: center; }
    .bullet-list { display: inline-block; text-align: left; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    :root { --header-height: 110px; }
    #main-header { height: auto; padding-block: 10px; }
    .header-content { flex-direction: column; gap: 10px; }
    .nav-links { width: 100%; overflow-x: auto; white-space: nowrap; padding-block: 4px; }
    .nav-item { display: inline-block; margin-inline: 4px; padding: 7px 18px; background: #f0f0f0; border-radius: 25px; font-size: 0.85rem; }
}

@media (max-width: 480px) {
    .section-padding { padding-block: 40px; }
    h2 { font-size: 1.8rem; }
    .event-slider-container { height: 250px; }
}