/* Fixes for hero section and language/currency selector */

/* Adjust hero section to prevent overlap */
.hero-section {
    min-height: 600px;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.hero-title {
    margin-bottom: 40px;
}

.hero-title-main {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.hero-title-sub {
    font-size: 2rem;
    opacity: 0.8;
}

/* Fix background logo positioning */
.hero-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12rem;
    font-weight: 900;
    opacity: 0.1;
    z-index: 1;
    white-space: nowrap;
    pointer-events: none;
}

/* Search box adjustments */
.hero-search {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Language and Currency Selector Redesign */
.language-currency-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-selector, .currency-selector {
    position: relative;
}

.lang-btn, .currency-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.lang-btn:hover, .currency-btn:hover {
    border-color: #0658CC;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.lang-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-dropdown, .currency-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.lang-selector.active .lang-dropdown,
.currency-selector.active .currency-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a, .currency-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s ease;
}

.lang-dropdown a:hover, .currency-dropdown a:hover {
    background: #f5f5f5;
}

.lang-dropdown a.active, .currency-dropdown a.active {
    background: #e8f0ff;
    color: #0658CC;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
        padding-top: 60px;
    }
    
    .hero-title-main {
        font-size: 2.5rem;
    }
    
    .hero-title-sub {
        font-size: 1.5rem;
    }
    
    .hero-bg-text {
        font-size: 8rem;
    }
    
    .language-currency-selector {
        flex-direction: column;
        gap: 10px;
    }
}