/* Üst Header (Başlıklar ve Telefon) */
.top-header {
    background-color: #003d8f;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.top-header h1, .top-header h2 {
    margin: 0;
    font-style: italic;
    color: white;
}

.top-header .header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-header .header-right p {
    margin: 0;
    font-size: 1rem;
}

/* Dil seçici */
.language-selector {
    color: white;
    display: flex;
    gap: 10px;
    align-items: center;
    
}

/* Dil seçici */
.language-selector {
    display: flex;
    gap: 10px;
    align-items: center;
    color: white;
}

.language-selector .lang-btn {
    background: none;
    border: 1px solid white; /* Daha ince beyaz çerçeve */
    padding: 5px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.language-selector .lang-btn:hover,
.language-selector .lang-btn.active {
    opacity: 1;
}

.language-selector .lang-btn svg {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    vertical-align: middle;
    margin-right: 5px;
    transition: transform 0.2s;
}

.language-selector .lang-btn:hover svg {
    transform: scale(1.1);
}

.language-selector .lang-btn span {
    color: white; /* Yazı rengi beyaz */
    font-weight: bold;
    font-size: 14px;
}


/* WhatsApp butonu */
.whatsapp-button {
    background-color: #25D366;
    color: white !important;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 15px;
    transition: background-color 0.3s;
}

.whatsapp-button:hover {
    background-color: #128C7E;
}

.whatsapp-button i {
    font-size: 18px;
}

/* Rezervasyon butonu */
.reservation-button {
    background-color: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-left: 20px;
}

.reservation-button:hover {
    background-color: #128C7E;
}

/* İkinci Header (Sekmeler) */
.main-header {
    background-color: #003d8f;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Divisey Pansiyon Yazısı */
.main-header h1 {
    margin: 0;
    font-size: 2rem;
    flex: 1;
}

/* Menü */
.main-header nav {
    flex: 2;
    display: flex;
    justify-content: center;
}

.main-header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

/* Menü Bağlantıları */
.main-header nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Menü Hover Efekti */
.main-header nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Küçük Ekranlar İçin (Responsive) */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        padding: 10px;
        gap: 15px;
    }

    .main-header h1 {
        text-align: center;
        margin-bottom: 10px;
    }

    .main-header nav {
        width: 100%;
    }

    .main-header nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .reservation-button {
        margin: 10px 0;
    }
}

/* Header Sağ Kısım */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #e0e0e0;
}

/* Sosyal Medya Linkleri */
.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-link {
    color: white;
    font-size: 1.2em;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

/* WhatsApp özel stili */
.social-link.whatsapp-link {
    background: #25D366;
}

.social-link.whatsapp-link:hover {
    background: #128C7E;
}

/* Instagram özel stili */
.social-link.instagram-link {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-link.instagram-link:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    opacity: 0.9;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .header-right {
        flex-direction: column;
        gap: 10px;
        align-items: flex-end;
    }

    .social-links {
        margin-top: 5px;
    }

    .social-link {
        font-size: 1.1em;
        padding: 6px;
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 576px) {
    .top-header {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .header-right {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }
}
