/* =================================================================== */
/* 1. GLOBAL STİLLER (Tüm Sayfalar) */
/* =================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-attachment: fixed;
}

/* Header ve Navigation */
header {
    background: rgba(44, 24, 16, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.5);
}

.logo h1 {
    background: linear-gradient(135deg, #d4af37 0%, #f4e6c3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Logo linkinin alt çizgisini kaldırır */
a.logo,
a.logo:visited {
    text-decoration: none;
    color: inherit;
}

a.logo h1 {
    color: inherit;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.2rem;
}

.nav-menu a {
    color: #f9f7f4;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0.8rem;
    position: relative;
    border-radius: 8px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #f4e6c3);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
}

.nav-menu a:hover::before {
    width: 80%;
}

/* Genel Section Styling */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: #2c1810;
    margin-bottom: 3.5rem;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 1.5rem auto;
    border-radius: 2px;
}

/* Genel Buton Stili */
.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #2c1810 0%, #4a3020 100%);
    color: #d4af37;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(44, 24, 16, 0.3);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: linear-gradient(135deg, #d4af37 0%, #f4e6c3 100%);
    color: #2c1810;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

/* Genel 'Devamını Oku' Stili */
.read-more {
    color: #b8941f;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin-left: auto;     /* <--- BU SATIRI EKLEYİN (Sağa iter) */
    align-self: flex-start; /* <--- (Varsayılan değere çekelim) */
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(184, 148, 31, 0.1);
}

.read-more:hover {
    color: #2c1810;
    background: rgba(212, 175, 55, 0.2);
    transform: translateX(5px);
}

/* Genel Hizalama */
.text-center {
    text-align: center;
}

/* WhatsApp Butonu */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c1810 0%, #1a0f0a 100%);
    color: #f9f7f4;
    text-align: center;
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

footer p {
    background: linear-gradient(135deg, #d4af37 0%, #f4e6c3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
}


/* =================================================================== */
/* 2. GLOBAL RESPONSIVE (Tüm Sayfalar) */
/* =================================================================== */

/* Mobil Boyutu (768px ve altı) */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
        word-wrap: break-word;
        text-align: center;
    }
    
    .section-title::after {
        width: 60px;
        height: 3px;
        margin: 1rem auto;
    }

    header {
        padding: 0.8rem 0;
    }
    
    nav {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    .logo {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }
    
    .logo img {
        width: 50px;
        height: 50px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        padding: 0.5rem 0;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .nav-menu a {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        white-space: nowrap;
    }
    
    /* languageToggle anasayfada olmasa bile header'da, o yüzden burada */
    .language-toggle {
        padding: 0.5rem 1rem;
        font-size: 0.80rem;
        margin-top: 0;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 0.95rem;
        margin-top: 1.5rem;
    }

    .read-more {
        margin-left: auto;   /* <--- BU SATIRI EKLEYİN (Ortalamak için) */
        margin-right: auto; /* <--- BU SATIRI EKLEYİN (Ortalamak için) */
        margin-top: 1rem;
        /* 'align-self' komutuna artık gerek yok */
    }
    
    footer {
        padding: 2rem 0;
    }
    
    footer p {
        font-size: 0.9rem;
        padding: 0 1rem;
        text-align: center;
    }

    /* Genel Mobil İyileştirmeleri */
    .btn,
    .read-more,
    .contact-link,
    .form-submit {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .story-card:hover,
    .jewelry-item:hover,
    .announcement-card:hover,
    .event-card:hover,
    .menu-category:hover {
        transform: translateY(-5px);
    }

    h1, h2, h3, h4, h5, h6, p, span, a {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
}

/* Çok Küçük Ekranlar (480px ve altı) */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .logo img {
        width: 45px;
        height: 45px;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .nav-menu a {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}