/* Hero Section CSS */

.hero-bg {
    background: url('../gallery/wp10513159.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    filter: brightness(1.1) contrast(1.3) saturate(1.2) sharpness(2.0);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.05), rgba(255, 255, 255, 0.1));
    pointer-events: none;
    backdrop-filter: blur(0.5px);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
}

/* Hero Section - Main title should be gold - OVERRIDE ALL THEMES */
.hero-bg h1,
.hero-bg .text-5xl,
.hero-bg .text-6xl,
.hero-bg .text-7xl,
.hero-bg .premium-text,
.hero-bg .hero-title {
    color: #D4AF37 !important;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.3) !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Force hero title to be gold in ALL themes */
[data-theme="light"] .hero-bg h1,
[data-theme="light"] .hero-bg .text-5xl,
[data-theme="light"] .hero-bg .text-6xl,
[data-theme="light"] .hero-bg .text-7xl,
[data-theme="light"] .hero-bg .premium-text,
[data-theme="light"] .hero-bg .hero-title {
    color: #D4AF37 !important;
}

[data-theme="dark"] .hero-bg h1,
[data-theme="dark"] .hero-bg .text-5xl,
[data-theme="dark"] .hero-bg .text-6xl,
[data-theme="dark"] .hero-bg .text-7xl,
[data-theme="dark"] .hero-bg .premium-text,
[data-theme="dark"] .hero-bg .hero-title {
    color: #D4AF37 !important;
}

/* Hero Section - Other text should be white */
.hero-bg p,
.hero-bg span,
.hero-bg div,
.hero-bg a,
.hero-bg button,
.hero-bg .text-gray-100,
.hero-bg .text-gray-300,
.hero-bg .text-3xl,
.hero-bg .text-sm,
.hero-bg .text-egypt-gold\/80,
.hero-bg .text-egypt-gold\/60,
.hero-bg .text-white,
.hero-bg .text-gray-200,
.hero-bg .text-gray-400,
.hero-bg .text-gray-500,
.hero-bg .text-gray-600,
.hero-bg .text-gray-700,
.hero-bg .text-gray-800,
.hero-bg .text-gray-900,
.hero-bg .hero-subtitle {
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.hero-bg .opacity-70 {
    opacity: 0.8 !important;
}

/* Light Theme Hero Section - Override any theme conflicts */
[data-theme="light"] .hero-bg h1,
[data-theme="light"] .hero-bg .text-5xl,
[data-theme="light"] .hero-bg .text-6xl,
[data-theme="light"] .hero-bg .text-7xl,
[data-theme="light"] .hero-bg .premium-text,
[data-theme="light"] .hero-bg .hero-title {
    color: #D4AF37 !important;
}

[data-theme="light"] .hero-bg p,
[data-theme="light"] .hero-bg span,
[data-theme="light"] .hero-bg div,
[data-theme="light"] .hero-bg a,
[data-theme="light"] .hero-bg button,
[data-theme="light"] .hero-bg .text-gray-100,
[data-theme="light"] .hero-bg .text-gray-300,
[data-theme="light"] .hero-bg .text-3xl,
[data-theme="light"] .hero-bg .text-sm,
[data-theme="light"] .hero-bg .text-egypt-gold\/80,
[data-theme="light"] .hero-bg .text-egypt-gold\/60,
[data-theme="light"] .hero-bg .text-white,
[data-theme="light"] .hero-bg .text-gray-200,
[data-theme="light"] .hero-bg .text-gray-400,
[data-theme="light"] .hero-bg .text-gray-500,
[data-theme="light"] .hero-bg .text-gray-600,
[data-theme="light"] .hero-bg .text-gray-700,
[data-theme="light"] .hero-bg .text-gray-800,
[data-theme="light"] .hero-bg .text-gray-900,
[data-theme="light"] .hero-bg .hero-subtitle {
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .hero-bg .text-egypt-gold\/80 {
    color: rgba(255, 255, 255, 0.8) !important;
}

[data-theme="light"] .hero-bg .text-egypt-gold\/60 {
    color: rgba(255, 255, 255, 0.6) !important;
}

[data-theme="light"] .hero-bg .opacity-70 {
    opacity: 0.8 !important;
}

/* Light Theme Hero Section Background */
[data-theme="light"] .hero-bg::before {
    background: linear-gradient(45deg, rgba(184, 134, 11, 0.1), rgba(255, 255, 255, 0.15));
}

/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
        background-position: center center;
        background-size: cover;
        min-height: 100vh;
        padding: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .hero-content {
        padding: 1rem;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        word-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-buttons a {
        width: 100%;
        max-width: 240px;
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    /* Watch Video butonunu Start Your Journey ile aynı boyutta yap */
    .hero-buttons a:last-child {
        width: 100%;
        max-width: 240px;
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    /* Mobil için Watch Video butonunda emoji sol tarafta */
    .hero-buttons a:last-child span {
        justify-content: flex-start;
        gap: 0.75rem;
    }
    
    /* Emoji'yi yazının soluna kaydır */
    .hero-buttons a:last-child span span:first-child {
        order: 2; /* Yazıyı sağa kaydır */
    }
    
    .hero-buttons a:last-child span svg {
        order: 1; /* Emoji'yi sola kaydır */
    }
}

@media (max-width: 480px) {
    .hero-bg {
        background-position: center center;
        background-size: cover;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* High DPI Display Improvements */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-bg {
        background-image: url('https://static.vecteezy.com/system/resources/previews/036/195/982/non_2x/ai-generated-the-pyramids-of-giza-and-camels-in-the-desert-of-egypt-pyramids-giza-cairo-in-egypt-with-a-camel-caravan-panoramic-scenic-view-ai-generated-free-photo.jpg');
    }
}

/* Landscape Mobile Improvements */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-bg {
        min-height: 100vh;
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}
