/* ========================================
   Şira Nur Uysal — Shared Styles
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Raleway:wght@300;400;500&display=swap');

/* ---- Variables ---- */
:root {
    --color-bg: #0D0D12;
    --color-bg-light: #141420;
    --color-text: #F5F3EF;
    --color-text-muted: #9A98A6;
    --color-gold: #C9A962;
    --color-gold-light: #E8D5A3;
    --color-purple: #6B5B95;
    --color-border: rgba(201, 169, 98, 0.2);
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Raleway', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    font-weight: 300;
    line-height: 1.8;
    overflow-x: hidden;
}

/* ---- Skip Navigation ---- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--color-gold);
    color: var(--color-bg);
    padding: 0.8rem 1.5rem;
    z-index: 10000;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 500;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* ---- Navigation ---- */
nav:not(.breadcrumb) {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(13, 13, 18, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1600px;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-decoration: none;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.logo-symbol {
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    gap: 1.2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-gold);
}

.nav-cta {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    border: none;
    border-radius: 4px;
    color: var(--color-bg) !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 169, 98, 0.4);
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
}

/* ---- Mobile Menu ---- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
    appearance: none;
}

.menu-toggle span {
    width: 24px;
    height: 1px;
    background: var(--color-gold);
    transition: all 0.3s ease;
}

/* ---- Cookie Consent ---- */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13, 13, 18, 0.97);
    border-top: 1px solid var(--color-border);
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 9999;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.cookie-consent.hidden { display: none; }
.cookie-consent p { margin: 0; max-width: 600px; }
.cookie-consent-buttons { display: flex; gap: 0.8rem; flex-shrink: 0; }
.cookie-accept {
    padding: 0.5rem 1.2rem;
    background: var(--color-gold);
    color: var(--color-bg);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
}
.cookie-reject {
    padding: 0.5rem 1.2rem;
    background: transparent;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.8rem;
}

/* ---- Stars Background ---- */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--color-text);
    border-radius: 50%;
    opacity: 0.3;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* ---- WhatsApp Button ---- */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(13, 13, 18, 0.95);
    color: var(--color-text);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ---- Footer ---- */
footer {
    padding: 3rem 4rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-gold);
}

footer p {
    color: var(--color-text-muted);
    font-size: 0.75rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-gold);
}

/* ---- Utilities ---- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    nav {
        padding: 1rem 2rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-links.active {
        display: flex;
    }

    footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 2rem;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .whatsapp-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 55px;
        height: 55px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* Language Switcher */
.lang-switcher { display: flex; align-items: center; gap: 6px; margin-left: 10px; }
.lang-switcher a { color: rgba(255,255,255,.45); text-decoration: none; font-size: .82em; font-weight: 600; padding: 2px 6px; border-radius: 4px; }
.lang-switcher a:hover { color: #C9A962; }
.lang-switcher a.active { color: #C9A962; background: rgba(201,169,98,.15); }
.lang-switcher .sep { color: rgba(255,255,255,.25); font-size: .8em; }

/* ---- Site Search ---- */
.nav-search-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    flex-shrink: 0;
}
.nav-search-btn:hover { color: var(--color-gold); }
.nav-search-btn svg { width: 18px; height: 18px; }

/* Search Overlay */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 10001;
    display: none;
    flex-direction: column;
    align-items: center;
    padding-top: 12vh;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.search-overlay.open {
    display: flex;
    opacity: 1;
}
.search-overlay.fade-out {
    opacity: 0;
}

.search-container {
    width: 100%;
    max-width: 640px;
    padding: 0 24px;
}

.search-input-wrap {
    position: relative;
    margin-bottom: 12px;
}

.search-input-wrap svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 18px 50px 18px 52px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1.1rem;
    outline: none;
    transition: border-color 0.2s;
}
.search-input:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(201,169,98,0.12);
}
.search-input::placeholder { color: rgba(255,255,255,0.3); }

.search-kbd {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 3px 8px;
    letter-spacing: 0.05em;
}

.search-close {
    position: fixed;
    top: 24px;
    right: 28px;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s;
    z-index: 10002;
}
.search-close:hover { color: var(--color-gold); }

.search-results {
    max-height: 55vh;
    overflow-y: auto;
    padding-right: 4px;
}
.search-results::-webkit-scrollbar { width: 4px; }
.search-results::-webkit-scrollbar-thumb { background: rgba(201,169,98,0.2); border-radius: 2px; }

.search-result-item {
    display: block;
    text-decoration: none;
    padding: 14px 18px;
    border-radius: 8px;
    transition: background 0.15s;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.search-result-item:hover,
.search-result-item.active {
    background: rgba(201,169,98,0.08);
}

.search-result-cat {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    opacity: 0.7;
    margin-bottom: 3px;
}

.search-result-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 4px;
}
.search-result-item:hover .search-result-title { color: var(--color-gold); }

.search-result-desc {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.search-hint {
    text-align: center;
    padding: 30px 20px;
    color: rgba(255,255,255,0.25);
    font-size: 0.82rem;
}

@media (max-width: 768px) {
    .search-overlay { padding-top: 6vh; }
    .search-input { font-size: 1rem; padding: 16px 16px 16px 48px; }
    .search-kbd { display: none; }
    .search-close { top: 16px; right: 16px; }
    .search-results { max-height: 65vh; }
}
