/* Hero Section Styles */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1000;
    padding-top: 0; /* GeneratePress eredeti menü miatt */
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    width: 100%;
    max-width: none;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    will-change: transform; /* Teljesítmény optimalizálás */
    contain: layout style paint; /* CSS containment */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-transform: lowercase;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out;
    transform: translateY(1rem);
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
}

.exchange-rate-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease-out 0.3s both;
    min-width: 700px;
    max-width: 80vw;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    aspect-ratio: 3.5 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-2rem);
    margin: 0 auto;
}

.exchange-rate-label {
    font-size: 2.4rem;
    font-weight: 400;
    margin-bottom: 1rem;
    opacity: 0.8;
    letter-spacing: 1px;
}

.exchange-rate-value {
    font-size: 12rem;
    font-weight: 200;
    margin-bottom: 1rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    line-height: 1;
}

.exchange-rate-value.animate {
    animation: numberRoll 1.2s ease-out;
}

.exchange-rate-value .loading {
    font-size: 2rem;
    opacity: 0.7;
    display: inline-block;
    white-space: nowrap;
}

.exchange-rate-update {
    font-size: 0.9rem;
    opacity: 0.6;
    font-weight: 300;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
}

/* Animations - Optimalizálva a teljesítményhez */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes numberRoll {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Content area styling */
.hero-section + .site-content {
    background: #f8f9fa;
    position: relative;
    z-index: 1;
}

.hero-section + .site-content .container {
    padding-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        transform: translateY(0.5rem);
        margin-bottom: 2rem;
        margin-top: 0.5rem;
    }
    
    .exchange-rate-container {
        padding: 2rem 3rem;
        min-width: 85vw;
        max-width: 85vw;
        aspect-ratio: 3 / 1;
        transform: translateY(-1rem);
        margin: 0 auto;
    }
    
    .exchange-rate-value {
        font-size: 9rem;
    }
    
    .exchange-rate-label {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        transform: translateY(0.2rem);
        margin-bottom: 1.5rem;
        margin-top: 0.3rem;
    }
    
    .exchange-rate-container {
        padding: 1.5rem 2rem;
        min-width: 90vw;
        max-width: 90vw;
        aspect-ratio: 2.5 / 1;
        transform: translateY(-0.5rem);
        margin: 0 auto;
    }
    
    .exchange-rate-value {
        font-size: 7rem;
    }
    
    .exchange-rate-label {
        font-size: 2rem;
    }
    
    .exchange-rate-update {
        font-size: 0.8rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hide default header when hero is present */
.hero-section ~ .site-header {
    position: relative;
    z-index: 999;
}

/* Ensure content flows properly */
.site-content {
    position: relative;
    z-index: 1;
}

/* Duplikált hero szekciók elrejtése */
.hero-section + .hero-section {
    display: none !important;
}

/* Debug vonalak eltávolítva */ 