/* ==========================================================================
   TURKUAZ GÜZELLİK MERKEZİ
   Akdeniz turkuazı + altın güneş · Cormorant / Jost
   ========================================================================== */

/* ---------- 1. Tasarım Token'ları ---------- */
:root {
    --font-display: 'Cormorant', Georgia, serif;
    --font-body: 'Jost', system-ui, sans-serif;

    --maxw: 1200px;
    --radius: 18px;
    --radius-sm: 12px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);

    --header-h: 84px;
}

/* Koyu tema (varsayılan · marka kimliği) */
[data-theme="dark"] {
    --bg:            #07171A;   /* en derin deniz */
    --bg-soft:       #0C2A30;   /* paneller */
    --bg-card:       #0F343A;
    --line:          rgba(201, 162, 75, 0.18);
    --line-soft:     rgba(255, 255, 255, 0.06);

    --text:          #EAF6F4;   /* deniz köpüğü beyazı */
    --text-soft:     #A9C5C3;
    --text-mute:     #6E8E8D;

    --turquoise:     #2FB7A8;
    --turquoise-2:   #1B8E83;
    --gold:          #D8B45F;
    --gold-2:        #B8923C;
    --gold-soft:     rgba(216, 180, 95, 0.12);

    --glass:         rgba(7, 23, 26, 0.72);
    --shadow:        0 24px 60px rgba(0, 0, 0, 0.45);
    --shadow-soft:   0 14px 36px rgba(0, 0, 0, 0.30);
    --sun:           radial-gradient(circle, rgba(216,180,95,0.30) 0%, rgba(216,180,95,0.05) 45%, transparent 70%);
}

/* Açık tema (gündüz) */
[data-theme="light"] {
    --bg:            #FBFAF5;   /* yumuşak fildişi */
    --bg-soft:       #F2F0E8;
    --bg-card:       #FFFFFF;
    --line:          rgba(176, 131, 46, 0.22);
    --line-soft:     rgba(11, 42, 46, 0.08);

    --text:          #0B2A2E;
    --text-soft:     #3C5B5C;
    --text-mute:     #7B9492;

    --turquoise:     #0E8C82;
    --turquoise-2:   #0A6E66;
    --gold:          #B0832E;
    --gold-2:        #946C22;
    --gold-soft:     rgba(176, 131, 46, 0.10);

    --glass:         rgba(251, 250, 245, 0.78);
    --shadow:        0 24px 55px rgba(14, 60, 56, 0.12);
    --shadow-soft:   0 14px 30px rgba(14, 60, 56, 0.08);
    --sun:           radial-gradient(circle, rgba(176,131,46,0.18) 0%, rgba(176,131,46,0.04) 45%, transparent 70%);
}

/* ---------- 2. Reset & temel ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background 0.4s ease, color 0.4s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 90%; max-width: var(--maxw); margin: 0 auto; }

/* ---------- 3. Tipografi ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}
.eyebrow--center { display: block; }

.section-head { max-width: 640px; margin: 0 auto 60px; text-align: center; }
.section-title { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
.section-sub { color: var(--text-soft); margin-top: 18px; font-size: 1.02rem; }

/* ---------- 4. Butonlar ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 15px 30px;
    border-radius: 50px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}
.btn-lg { padding: 18px 38px; font-size: 0.95rem; }

.btn-primary {
    background: linear-gradient(135deg, var(--turquoise) 0%, var(--turquoise-2) 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(47, 183, 168, 0.28);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(47, 183, 168, 0.40); }

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
    color: #1a1206;
    font-weight: 600;
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(216, 180, 95, 0.35); }

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

/* ---------- 5. Scroll progress ---------- */
#scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0;
    background: linear-gradient(90deg, var(--turquoise), var(--gold));
    z-index: 1000;
}

/* ---------- 6. Header ---------- */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%;
    height: var(--header-h);
    display: flex; align-items: center;
    z-index: 900;
    transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease, border-color 0.35s ease;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--line-soft);
    box-shadow: var(--shadow-soft);
    height: 70px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
    width: 14px; height: 14px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--gold), var(--gold-2));
    box-shadow: 0 0 0 4px var(--gold-soft);
    flex: none;
}
.brand-text { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; letter-spacing: 0.01em; }
.brand-text strong { color: var(--turquoise); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 38px; }
.nav ul { display: flex; gap: 34px; }
.nav-link {
    position: relative;
    font-size: 0.92rem; font-weight: 400; color: var(--text-soft);
    padding: 6px 0; transition: color 0.25s ease;
}
.nav-link::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
    background: var(--gold); transition: width 0.3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Hamburger */
.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
    position: relative;
    padding: calc(var(--header-h) + 70px) 0 130px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 80% 0%, var(--gold-soft) 0%, transparent 45%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.hero-sun {
    position: absolute; top: -120px; right: -80px;
    width: 620px; height: 620px; background: var(--sun);
    pointer-events: none;
}
.hero-grid {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.05fr 0.95fr;
    gap: 60px; align-items: center;
}
.hero-copy { max-width: 560px; }
.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.6rem);
    letter-spacing: -0.01em;
}
.hero-title em { font-style: italic; font-weight: 400; color: var(--gold); }
.hero-desc { color: var(--text-soft); font-size: 1.1rem; margin: 26px 0 38px; max-width: 480px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Kemerli "Akdeniz penceresi" çerçevesi — sayfanın imza öğesi */
.hero-visual { position: relative; }
.hero-frame {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 220px 220px 24px 24px;
    overflow: hidden;
    border: 1px solid var(--gold);
    box-shadow: var(--shadow);
}
.hero-frame::after {  /* ince iç altın hat */
    content: ""; position: absolute; inset: 9px;
    border: 1px solid var(--gold-soft);
    border-radius: 210px 210px 16px 16px;
    pointer-events: none;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }

.citrus-sprig {
    position: absolute; left: -34px; bottom: 26px;
    width: 120px; height: 120px; color: var(--gold);
    opacity: 0.85;
}

/* Dalga geçişi */
.wave-divider { position: absolute; left: 0; bottom: -1px; width: 100%; line-height: 0; z-index: 1; }
.wave-divider svg { width: 100%; height: 90px; }
.wave-divider path { fill: var(--bg-soft); }

/* ---------- 8. Hakkımızda ---------- */
.about { padding: 110px 0; background: var(--bg-soft); }
.trust-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.trust-card {
    background: var(--bg-card);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 38px 28px;
    transition: transform 0.4s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
}
.trust-card:hover { transform: translateY(-8px); border-color: var(--line); box-shadow: var(--shadow-soft); }
.trust-icon {
    display: grid; place-items: center;
    width: 58px; height: 58px; border-radius: 14px;
    background: var(--gold-soft); color: var(--gold);
    font-size: 1.4rem; margin-bottom: 22px;
}
.trust-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.trust-card p { color: var(--text-soft); font-size: 0.95rem; }

/* ---------- 9. Hizmetler ---------- */
.services { padding: 110px 0; }
.service-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.4s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
}
.service-card::before {  /* üstte ince altın aksan */
    content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 0; z-index: 3;
    background: linear-gradient(90deg, var(--turquoise), var(--gold));
    transition: width 0.4s var(--ease);
}
.service-card:hover { transform: translateY(-8px); border-color: var(--line); box-shadow: var(--shadow-soft); }
.service-card:hover::before { width: 100%; }
.service-card--feature { border-color: var(--line); }

/* Görsel başlık */
.service-media {
    position: relative; height: 180px; overflow: hidden;
    background: var(--bg-soft);
}
.service-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.service-card:hover .service-media img { transform: scale(1.07); }
.service-media::after {  /* görseli gövdeye yumuşak bağlama */
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 55%, var(--bg-card) 100%);
}
/* Fotoğrafsız kartlar için markalı degrade başlık */
.service-media--plain {
    display: grid; place-items: center;
    background: linear-gradient(140deg, var(--turquoise-2) 0%, var(--bg-card) 60%);
}
.service-media--plain i { font-size: 3.2rem; color: var(--gold); opacity: 0.55; }
.service-media--plain::after { display: none; }

/* Görselin üzerine binen ikon rozeti */
.service-body { position: relative; padding: 40px 28px 30px; }
.service-icon {
    position: absolute; top: -28px; left: 28px; z-index: 2;
    display: grid; place-items: center;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--bg-card); color: var(--gold);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    font-size: 1.3rem;
}
.service-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.service-card p { color: var(--text-soft); font-size: 0.92rem; min-height: 58px; }
.service-link {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 14px; font-size: 0.85rem; font-weight: 500;
    color: var(--turquoise); transition: gap 0.3s ease, color 0.3s ease;
}
.service-link i { font-size: 0.8rem; transition: transform 0.3s ease; }
.service-link:hover { color: var(--gold); }
.service-link:hover i { transform: translateX(4px); }

/* ---------- 10. Galeri ---------- */
.gallery { padding: 110px 0; background: var(--bg-soft); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    grid-auto-flow: dense;
    gap: 18px;
}
.gallery-item {
    position: relative; overflow: hidden; border-radius: var(--radius);
    border: 1px solid var(--line-soft);
}
.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.7s var(--ease);
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item figcaption {
    position: absolute; left: 0; bottom: 0; width: 100%;
    padding: 20px 18px 14px;
    font-family: var(--font-display); font-size: 1.2rem;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.72), transparent);
    transform: translateY(8px); opacity: 0;
    transition: 0.4s var(--ease);
}
.gallery-item:hover figcaption { transform: translateY(0); opacity: 1; }

/* ---------- 11. CTA ---------- */
.cta { position: relative; padding: 100px 0; overflow: hidden; background: var(--bg); }
.cta-sun {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 760px; height: 760px; background: var(--sun); pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; text-align: center; max-width: 720px; }
.cta-title { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 16px; }
.cta-sub { color: var(--text-soft); margin-bottom: 36px; font-size: 1.05rem; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* ---------- 12. İletişim ---------- */
.contact { padding: 110px 0; background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: stretch; }
.info-list { display: flex; flex-direction: column; gap: 26px; margin-bottom: 36px; }
.info-list li { display: flex; gap: 18px; align-items: flex-start; }
.info-ic {
    display: grid; place-items: center; flex: none;
    width: 50px; height: 50px; border-radius: 14px;
    background: var(--gold-soft); color: var(--gold); font-size: 1.15rem;
}
.info-list strong { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 4px; }
.info-list a, .info-list span { color: var(--text-soft); font-size: 1rem; }
.info-list a:hover { color: var(--gold); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.map-card {
    border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line); min-height: 360px;
    box-shadow: var(--shadow-soft);
}
.map-card iframe { width: 100%; height: 100%; min-height: 360px; filter: grayscale(0.2); }

/* ---------- 13. Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line-soft); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--text-soft); font-size: 0.92rem; max-width: 340px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--line); color: var(--text-soft); transition: 0.3s ease;
}
.footer-social a:hover { background: var(--gold); color: #1a1206; border-color: var(--gold); transform: translateY(-3px); }
.footer-col h4 { font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col span { color: var(--text-soft); font-size: 0.92rem; transition: color 0.25s ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line-soft); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: var(--text-mute); }
.credit a { color: var(--gold); }

/* ---------- 14. Yüzen butonlar ---------- */
.floating { position: fixed; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 14px; z-index: 950; }
.float-btn {
    display: grid; place-items: center;
    width: 52px; height: 52px; border-radius: 50%;
    border: none; cursor: pointer; font-size: 1.25rem; color: #fff;
    box-shadow: var(--shadow-soft); transition: transform 0.3s var(--ease);
}
.float-btn:hover { transform: scale(1.08) translateY(-2px); }
.float-theme { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1a1206; font-size: 1.1rem; }
.float-wa { background: #25D366; }
.float-phone { background: linear-gradient(135deg, var(--turquoise), var(--turquoise-2)); }

/* ---------- 15. Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Hero açılış animasyonu */
.hero-copy > * { opacity: 0; transform: translateY(26px); animation: rise 0.9s var(--ease) forwards; }
.hero-copy .eyebrow    { animation-delay: 0.05s; }
.hero-copy .hero-title { animation-delay: 0.18s; }
.hero-copy .hero-desc  { animation-delay: 0.34s; }
.hero-copy .hero-actions { animation-delay: 0.5s; }
.hero-visual { opacity: 0; transform: translateY(26px) scale(0.98); animation: rise 1s var(--ease) 0.3s forwards; }
@keyframes rise { to { opacity: 1; transform: translateY(0) scale(1); } }

/* ---------- 16. Responsive ---------- */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; gap: 50px; }
    .hero-copy { max-width: 100%; }
    .hero-visual { max-width: 420px; margin: 0 auto; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
    :root { --header-h: 70px; }
    .nav {
        position: fixed; inset: 0 0 0 auto; width: 78%; max-width: 340px;
        flex-direction: column; justify-content: center; align-items: flex-start;
        gap: 30px; padding: 0 40px;
        background: var(--bg-soft);
        transform: translateX(100%); transition: transform 0.4s var(--ease);
        box-shadow: var(--shadow);
    }
    .nav.open { transform: translateX(0); }
    .nav ul { flex-direction: column; gap: 22px; }
    .nav-link { font-size: 1.15rem; }
    .nav-cta { width: 100%; justify-content: center; }
    .nav-toggle { display: flex; z-index: 901; }

    .about, .services, .gallery, .contact, .cta { padding: 80px 0; }
    .section-head { margin-bottom: 44px; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .gallery-item--wide { grid-column: span 2; }
    .gallery-item--tall { grid-row: span 1; }

    .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .trust-grid, .service-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-frame { border-radius: 160px 160px 20px 20px; }
    .service-card p { min-height: 0; }
    .floating { right: 16px; bottom: 16px; }
    .float-btn { width: 48px; height: 48px; }
}

/* ---------- 17. Erişilebilirlik ---------- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    .hero-copy > *, .hero-visual { opacity: 1; transform: none; }
}
