/* =====================
   Modern Hero Section
   ===================== */
:root {
    --primary-color: #0a4a0a;
    --secondary-color: #ff9000;
    --accent-color: #ff5252;
    --text-light: #ffffff;
    --text-dark: #2d3748;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, rgba(10, 74, 10, 0.9) 0%, rgba(15, 105, 15, 0.9) 100%);
}

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient), url('../img/hero-bg.jpg') no-repeat center center/cover;
    color: var(--text-light);
    padding-top: 100px; /* Adjusted to account for fixed header */
    padding-bottom: 80px;
    overflow: hidden;
    z-index: 1;
    margin-top: 80px; /* Add margin to account for fixed header */
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 20px;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.hero-text h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-text .lead {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 144, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 144, 0, 0.4);
    background-color: #ff9e1f;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--secondary-color);
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background: var(--secondary-color);
    color: #fff;
    transform: rotateY(180deg);
}

.feature-item span {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
}

/* Animated Elements */
.hero-shape-1,
.hero-shape-2,
.hero-shape-3 {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    bottom: 50px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    right: 10%;
    animation: float 12s ease-in-out infinite;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typewriter Effect */
.typewriter {
    display: inline-block;
    position: relative;
    color: var(--secondary-color);
}

.typewriter::after {
    content: '|';
    position: absolute;
    right: -15px;
    color: var(--secondary-color);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-text .lead {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
        min-height: auto;
        padding-bottom: 80px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-text .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .feature-item {
        padding: 20px 15px;
    }
    
    .hero-shape-1,
    .hero-shape-2,
    .hero-shape-3 {
        display: none;
    }
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
}

.scroll-down i {
    font-size: 1.5rem;
    margin-top: 5px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}
