body {
    background-color: #e94141;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    position: relative;
    min-height: 100vh;
}

/* Yol görseli - SAYFANIN EN ÜSTÜNDEN BAŞLIYOR */
.road-background {
    position: absolute;
    top: 0; /* EN ÜSTTE */
    left: 0;
    width: 100%;
    height: 600px; /* DAHA YÜKSEK YAPTIM: 500px'den 600px'e */
    background-image: url('yol.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* TABLET VE MASAÜSTÜ EKRANLAR - Daha yüksek */
@media (min-width: 768px) {
    .road-background {
        top: 0; /* Tablette de en üstte */
        height: 700px; /* 550px'den 700px'e ÇIKARDIK */
    }
}

/* GENİŞ MASAÜSTÜ EKRANLARDA ÇOK DAHA YÜKSEK */
@media (min-width: 1200px) {
    .road-background {
        top: 0; /* Masaüstünde de en üstte */
        height: 800px; /* 600px'den 800px'e ÇIKARDIK */
    }
}

/* Sayfa içeriği - yol görselinin üstünde */
.page-content {
    position: relative;
    z-index: 2;
}

/* Üst boşluk */
.top-spacing {
    height: 20px;
    position: relative;
    z-index: 3;
}

/* Menü Container - STICKY ÖZELLİĞİ BURAYA EKLENİYOR */
.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    position: sticky; /* STICKY YAPTIM */
    top: 0; /* ÜSTTE SABİT KALACAK */
    z-index: 100; /* YÜKSEK Z-INDEX VERDİM */
    transition: all 0.3s ease; /* YUMUŞAK GEÇİŞ */
}

/* Sticky durumunda gölge ekleme */
.menu-container.sticky {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.menu-bar {
    background-color: white;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    position: relative;
    margin: 0 40px;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* Menü arkaplanı yarı saydam yapalım ki yol görünsün */
    background-color: rgba(255, 255, 255, 0.95);
    /* Menü bar da sticky olacak şekilde ayarlandı */
    position: relative;
}

/* Oval kenarlar - GENİŞ */
.menu-bar::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 0;
    width: 80px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50% 0 0 50%;
    z-index: 1;
}

.menu-bar::after {
    content: '';
    position: absolute;
    right: -40px;
    top: 0;
    width: 80px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 0 50% 50% 0;
    z-index: 1;
}

/* Menü öğeleri - NOKTALI */
.menu-items {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.menu-item {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 8px 5px;
    position: relative;
    z-index: 2;
}

.menu-item:hover {
    color: #e94141;
}

.menu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #e94141;
    transition: width 0.3s ease;
}

.menu-item:hover::after {
    width: 100%;
}

/* İletişim linki için özel stil */
.menu-item.contact-link {
    position: relative;
}

.menu-item.contact-link::after {
    content: '↗';
    font-size: 12px;
    margin-left: 4px;
    opacity: 0.7;
}

/* Menü öğeleri arasına nokta */
.menu-dot {
    color: #e94141;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    user-select: none;
    position: relative;
    z-index: 2;
}

/* Logo alanı */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    z-index: 2;
    height: 100%;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

/* Sağ taraf kontrolleri */
.right-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

/* Mobil telefon ikonu */
.phone-icon {
    display: none;
    text-decoration: none;
    color: #e94141;
    font-size: 22px;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    background-color: rgba(233, 65, 65, 0.1);
    position: relative;
    z-index: 2;
}

.phone-icon:hover {
    color: white;
    background-color: #e94141;
    transform: scale(1.1);
}

/* Mobil menü butonu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    position: relative;
    z-index: 2;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Mobil Popup Menü */
.mobile-menu-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-width: 350px;
    background-color: #f3e5c0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    padding: 100px 30px 50px 30px;
    overflow: visible;
}

/* Popup üstünde logo */
.mobile-menu-popup::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 160px;
    background-image: url('arev-mini-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1002;
    filter: 
        drop-shadow(0 0 2px rgba(233, 65, 65, 0.5))
        drop-shadow(0 0 4px rgba(233, 65, 65, 0.3))
        contrast(1.2)
        brightness(0.95);
}

.mobile-menu-popup.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Popup içindeki menü öğeleri */
.mobile-menu-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.mobile-menu-item {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 18px;
    padding: 15px 20px;
    text-align: center;
    background-color: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.mobile-menu-item:hover {
    background-color: #e94141;
    color: white;
    border-color: #e94141;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(233, 65, 65, 0.3);
}

/* Popup'taki iletişim linki için özel stil */
.mobile-menu-item.contact-link {
    position: relative;
}

.mobile-menu-item.contact-link::after {
    content: ' ↗';
    font-size: 14px;
    opacity: 0.7;
}

/* Popup altına "AR EV ® ARORA" yazısı */
.popup-footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    padding-top: 15px;
    border-top: 1px solid rgba(233, 65, 65, 0.2);
    margin-top: 20px;
}

.popup-footer span {
    color: #e94141;
    font-weight: bold;
}

/* Popup kapatma butonu */
.close-popup-btn {
    position: absolute;
    top: -20px;
    right: -20px;
    background: white;
    border: 2px solid #e94141;
    font-size: 24px;
    color: #e94141;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1003;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

.close-popup-btn:hover {
    background-color: #e94141;
    color: white;
    border-color: #e94141;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(233, 65, 65, 0.4);
}

/* Overlay (arkaplan karartma) */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.overlay.active {
    display: block;
    animation: fadeOverlay 0.3s ease;
}

@keyframes fadeOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* xxalanxx metnini aşağı kaydırmak için ek class */
.bottom-text-spaced {
    display: block;
    padding-top: 40px; /* 20px'den 40px'e çıkarıldı */
    margin-top: 20px; /* Ek olarak margin eklendi */
    line-height: 1.2; /* Satır yüksekliği ayarlandı */
}

/* Responsive tasarım */
@media (max-width: 992px) {
    .road-background {
        height: 550px; /* 450px'den 550px'e ÇIKARDIK */
    }
    
    .menu-bar {
        margin: 0 100px;
        padding: 0 30px;
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .menu-bar::before {
        left: -100px;
        width: 100px;
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .menu-bar::after {
        right: -100px;
        width: 100px;
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .menu-items {
        gap: 8px;
    }
    
    .menu-item {
        font-size: 14px;
        padding: 8px 4px;
    }
    
    .menu-dot {
        font-size: 18px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    /* Tablet ve mobilde sticky menü için daha yüksek z-index */
    .menu-container {
        z-index: 200;
    }
    
    /* Tablet için xxalanxx kaydırma ayarı */
    .bottom-text-spaced {
        padding-top: 35px;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .road-background {
        height: 500px; /* 400px'den 500px'e ÇIKARDIK */
        /* Mobilde 10px aşağıda - POZİSYONU AYNI KALDI */
        top: 10px;
    }
    
    .top-spacing {
        height: 15px;
    }
    
    .menu-bar {
        height: 60px;
        padding: 0 20px;
        margin: 0 60px;
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .menu-bar::before {
        left: -60px;
        width: 60px;
        border-radius: 50% 0 0 50%;
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .menu-bar::after {
        right: -60px;
        width: 60px;
        border-radius: 0 50% 50% 0;
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .menu-items {
        display: none;
    }
    
    /* Mobilde telefon ikonunu göster */
    .phone-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .logo-img {
        height: 35px;
    }
    
    /* Popup için mobil ayarları */
    .mobile-menu-popup {
        max-width: 320px;
        padding: 90px 25px 45px 25px;
    }
    
    .mobile-menu-popup::before {
        width: 140px;
        height: 140px;
        top: -70px;
        filter: 
            drop-shadow(0 0 2px rgba(233, 65, 65, 0.5))
            drop-shadow(0 0 4px rgba(233, 65, 65, 0.3))
            contrast(1.2)
            brightness(0.95);
    }
    
    .popup-footer {
        font-size: 13px;
        bottom: 15px;
        padding-top: 12px;
    }
    
    .close-popup-btn {
        top: -15px;
        right: -15px;
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    
    /* Mobilde sticky menü için ayarlar */
    .menu-container {
        top: 0;
        z-index: 300;
    }
    
    /* Mobil için xxalanxx kaydırma ayarı */
    .bottom-text-spaced {
        padding-top: 30px;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .road-background {
        height: 450px; /* 350px'den 450px'e ÇIKARDIK */
    }
    
    .menu-bar {
        margin: 0 40px;
        padding: 0 15px;
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .menu-bar::before {
        left: -40px;
        width: 40px;
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .menu-bar::after {
        right: -40px;
        width: 40px;
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .logo-img {
        height: 30px;
    }
    
    .phone-icon {
        font-size: 20px;
        padding: 6px;
    }
    
    /* Popup için mobil ayarları */
    .mobile-menu-popup {
        width: 90%;
        padding: 80px 25px 40px 25px;
        max-width: 300px;
    }
    
    .mobile-menu-popup::before {
        width: 120px;
        height: 120px;
        top: -60px;
        filter: 
            drop-shadow(0 0 2px rgba(233, 65, 65, 0.5))
            drop-shadow(0 0 4px rgba(233, 65, 65, 0.3))
            contrast(1.2)
            brightness(0.95);
    }
    
    .mobile-menu-item {
        font-size: 16px;
        padding: 12px 15px;
    }
    
    .popup-footer {
        font-size: 12px;
        bottom: 12px;
        padding-top: 10px;
    }
    
    .close-popup-btn {
        top: -12px;
        right: -12px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    /* Küçük ekranlar için xxalanxx kaydırma ayarı */
    .bottom-text-spaced {
        padding-top: 25px;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .road-background {
        height: 400px; /* 300px'den 400px'e ÇIKARDIK */
    }
    
    .menu-bar {
        height: 50px;
        padding: 0 10px;
        margin: 0 30px;
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .logo-img {
        height: 25px;
    }
    
    .phone-icon {
        font-size: 18px;
        padding: 5px;
    }
    
    .mobile-menu-btn {
        font-size: 22px;
        padding: 6px;
    }
    
    .menu-bar::before {
        left: -30px;
        width: 30px;
        border-radius: 50% 0 0 50%;
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .menu-bar::after {
        right: -30px;
        width: 30px;
        border-radius: 0 50% 50% 0;
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .mobile-menu-popup {
        width: 85%;
        padding: 70px 20px 35px 20px;
        max-width: 280px;
    }
    
    .mobile-menu-popup::before {
        width: 100px;
        height: 100px;
        top: -50px;
        filter: 
            drop-shadow(0 0 2px rgba(233, 65, 65, 0.5))
            drop-shadow(0 0 4px rgba(233, 65, 65, 0.3))
            contrast(1.2)
            brightness(0.95);
    }
    
    .mobile-menu-item {
        font-size: 15px;
        padding: 10px 12px;
    }
    
    .popup-footer {
        font-size: 11px;
        bottom: 10px;
    }
    
    .close-popup-btn {
        top: -10px;
        right: -10px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    /* Mobil için xxalanxx kaydırma ayarı */
    .bottom-text-spaced {
        padding-top: 20px;
        margin-top: 5px;
    }
}

@media (max-width: 360px) {
    .road-background {
        height: 350px; /* 250px'den 350px'e ÇIKARDIK */
    }
    
    .menu-bar {
        margin: 0 20px;
        padding: 0 5px;
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .menu-bar::before {
        left: -20px;
        width: 20px;
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .menu-bar::after {
        right: -20px;
        width: 20px;
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .logo-img {
        height: 22px;
    }
    
    .phone-icon {
        font-size: 16px;
        padding: 4px;
    }
    
    .mobile-menu-btn {
        font-size: 20px;
        padding: 4px;
    }
    
    .mobile-menu-popup {
        width: 90%;
        padding: 60px 15px 30px 15px;
        max-width: 250px;
    }
    
    .mobile-menu-popup::before {
        width: 90px;
        height: 90px;
        top: -45px;
        filter: 
            drop-shadow(0 0 2px rgba(233, 65, 65, 0.5))
            drop-shadow(0 0 4px rgba(233, 65, 65, 0.3))
            contrast(1.2)
            brightness(0.95);
    }
    
    .mobile-menu-item {
        font-size: 14px;
        padding: 8px 10px;
    }
    
    .popup-footer {
        font-size: 10px;
        bottom: 8px;
        padding-top: 8px;
    }
    
    .close-popup-btn {
        top: -8px;
        right: -8px;
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    /* Çok küçük ekranlar için xxalanxx kaydırma ayarı */
    .bottom-text-spaced {
        padding-top: 15px;
        margin-top: 3px;
        line-height: 1.1;
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 320px) {
    .road-background {
        height: 320px; /* 220px'den 320px'e ÇIKARDIK */
    }
    
    .menu-bar {
        margin: 0 15px;
        padding: 0 3px;
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .menu-bar::before {
        left: -15px;
        width: 15px;
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .menu-bar::after {
        right: -15px;
        width: 15px;
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .logo-img {
        height: 20px;
    }
    
    .phone-icon {
        font-size: 15px;
        padding: 3px;
    }
    
    .mobile-menu-btn {
        font-size: 18px;
        padding: 3px;
    }
    
    .mobile-menu-popup {
        padding: 55px 12px 25px 12px;
        max-width: 230px;
    }
    
    .mobile-menu-popup::before {
        width: 80px;
        height: 80px;
        top: -40px;
        filter: 
            drop-shadow(0 0 2px rgba(233, 65, 65, 0.5))
            drop-shadow(0 0 4px rgba(233, 65, 65, 0.3))
            contrast(1.2)
            brightness(0.95);
    }
    
    .popup-footer {
        font-size: 9px;
    }
    
    /* En küçük ekranlar için xxalanxx kaydırma ayarı */
    .bottom-text-spaced {
        padding-top: 12px;
        margin-top: 2px;
    }
}