/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Hero section with background image */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('./imgs/bg-mother-nature.jpg') center center / cover no-repeat fixed;
    padding: 2rem;
}

/* Semi-transparent overlay for text readability */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 1;
}

/* Content container */
.content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Typography */
.headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.main-text {
    margin-bottom: 3rem;
}

.main-text p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.subtext {
    margin-bottom: 3rem;
}

.subtext p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-style: italic;
    opacity: 0.9;
    font-weight: 300;
}

.cta {
    margin-top: 2rem;
}

.cta p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 1rem;
    font-weight: 500;
}

.cta-link {
    display: inline-block;
    color: #FFD700;
    text-decoration: none;
    font-size: clamp(1.2rem, 2.8vw, 1.5rem);
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border: 2px solid #FFD700;
    border-radius: 8px;
    background: rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.cta-link:hover,
.cta-link:focus {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Tablet styles */
@media (max-width: 768px) {
    .hero {
        padding: 1.5rem;
        background-attachment: scroll;
    }
    
    .content {
        max-width: 90%;
    }
    
    .headline {
        margin-bottom: 1.5rem;
    }
    
    .main-text {
        margin-bottom: 2rem;
    }
    
    .main-text p {
        margin-bottom: 1.2rem;
    }
    
    .subtext {
        margin-bottom: 2rem;
    }
}

/* Mobile styles */
@media (max-width: 480px) {
    .hero {
        padding: 1rem;
        min-height: 100vh;
        background-attachment: scroll;
    }
    
    .overlay {
        background: linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.5) 100%
        );
    }
    
    .content {
        max-width: 95%;
    }
    
    .headline {
        margin-bottom: 1.2rem;
    }
    
    .main-text {
        margin-bottom: 1.8rem;
    }
    
    .main-text p {
        margin-bottom: 1rem;
    }
    
    .subtext {
        margin-bottom: 1.8rem;
    }
    
    .cta-link {
        padding: 0.7rem 1.2rem;
        font-size: 1.1rem;
        word-break: break-all;
    }
}

/* High-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero {
        background-image: url('./imgs/bg-mother-nature.jpg');
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .overlay {
        background: linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.5) 100%
        );
    }
}