/* Modern CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #86be41;
    --secondary-gray: #737474;
    --dark-green: #5a8d2b;
    --light-green: #a4d451;
    --dark-gray: #4a4b4b;
    --light-gray: #9b9c9c;
    --white: #ffffff;
    --black: #1a1a1a;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--white);
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slides */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}

.slide:nth-child(1) {
    background: 
        linear-gradient(135deg, rgba(134, 190, 65, 0.8) 0%, rgba(90, 141, 43, 0.9) 50%, rgba(115, 116, 116, 0.8) 100%),
        /*url('https://images.pexels.com/photos/3757942/pexels-photo-3757942.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080&fit=crop') center/cover; */
        url('/img/boot.jpg') center/cover;
}

.slide:nth-child(2) {
    background: 
        linear-gradient(45deg, rgba(115, 116, 116, 0.8) 0%, rgba(134, 190, 65, 0.9) 50%, rgba(74, 75, 75, 0.8) 100%),
        /*url('https://images.pexels.com/photos/3768916/pexels-photo-3768916.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080&fit=crop') center/cover; */
        url('/img/ch.jpg') center/cover;
}

.slide:nth-child(3) {
    background: 
        linear-gradient(225deg, rgba(90, 141, 43, 0.8) 0%, rgba(134, 190, 65, 0.9) 30%, rgba(115, 116, 116, 0.8) 70%, rgba(74, 75, 75, 0.8) 100%),
       /* url('https://images.pexels.com/photos/3822621/pexels-photo-3822621.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080&fit=crop') center/cover; */
        url('/img/pad.jpg') center/cover;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.content-wrapper {
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    opacity: 0.9;
    line-height: 1.5;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Play Button */
.play-button-container {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.play-button {
    position: relative;
    width: 80px;
    height: 80px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(134, 190, 65, 0.3);
}

.play-button:hover {
    background: var(--white);
    color: var(--dark-green);
    transform: scale(1.05);
    box-shadow: 0 12px 48px rgba(134, 190, 65, 0.4);
}

.play-icon {
    position: relative;
    z-index: 2;
    margin-left: 3px;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

.pulse-ring-delay {
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

/* Navigation Dots */
.slide-nav {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.nav-dot.active,
.nav-dot:hover {
    background: var(--white);
    transform: scale(1.2);
}

/* Progress Bar */
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green), var(--light-green));
    width: 0%;
    animation: progressFill 5s linear infinite;
}

@keyframes progressFill {
    0% { width: 0%; }
    33.33% { width: 100%; }
    33.34% { width: 0%; }
    66.66% { width: 100%; }
    66.67% { width: 0%; }
    100% { width: 100%; }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    transform: scale(0.8) translateY(50px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-content {
    position: relative;
    background: var(--black);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 0 40px rgba(134, 190, 65, 0.3),
        0 0 80px rgba(134, 190, 65, 0.2),
        0 0 120px rgba(134, 190, 65, 0.1);
    border: 2px solid rgba(134, 190, 65, 0.4);
}

.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    z-index: 10;
}

.close-button:hover {
    background: rgba(134, 190, 65, 0.8);
    color: var(--white);
    transform: rotate(90deg);
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: var(--black);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .play-button {
        width: 70px;
        height: 70px;
    }
    
    .play-button-container {
        bottom: 20%;
    }
    
    .slide-nav {
        bottom: 12%;
        gap: 0.8rem;
    }
    
    .nav-dot {
        width: 10px;
        height: 10px;
    }
    
    .modal-container {
        width: 95%;
        margin: 1rem;
    }
    
    .close-button {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding: 0 1rem;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .modal-container {
        width: 98%;
        margin: 0.5rem;
    }
    
    .modal-content {
        border-radius: 15px;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .play-button {
        width: 100px;
        height: 100px;
    }
}

/* High DPI and Retina Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .play-button {
        box-shadow: 0 8px 32px rgba(134, 190, 65, 0.4);
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .slide,
    .play-button,
    .nav-dot,
    .modal-overlay,
    .modal-container {
        transition: none;
        animation: none;
    }
    
    .pulse-ring {
        animation: none;
    }
    
    .progress-fill {
        animation: none;
    }
}

/* Focus styles for accessibility */
.play-button:focus-visible,
.nav-dot:focus-visible,
.close-button:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

#imageTran{
    opacity: .4;
}