/*
Theme Name: Queen Istanbul
Theme URI: https://example.com/queen-istanbul
Author: Antigravity
Author URI: https://example.com
Description: Mistress Noir Istanbul için özel tasarım, premium ve SEO uyumlu WordPress teması.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: queen-istanbul
Tags: premium, dark, luxury, seo-friendly
*/

:root {
  --g0: #0a0a0a;
  --g1: #111111;
  --g2: #1a1a1a;
  --g3: #252525;
  --g4: #2e2e2e;
  --g5: #3a3a3a;
  --g6: #4a4a4a;
  --g7: #5e5e5e;
  --g8: #757575;
  --g9: #8c8c8c;
  --g10: #a0a0a0;
  --g11: #b5b5b5;
  --g12: #c8c8c8;
  --g13: #d8d8d8;
  --g14: #e5e5e5;
  --g15: #efefef;
  --g16: #f5f5f5;
  --g17: #fafafa;
  --g18: #fdfdfd;
  --g19: #ffffff;
  --accent: #c8c8c8;
  --accent-dark: #888;
  --gold: #b8a882;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--g0);
  color: var(--g13);
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(10,10,10,0.95), transparent);
  backdrop-filter: blur(2px);
}
.nav-logo {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--g12);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-links li a {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--g9);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links li a:hover { color: var(--g15); }

/* HERO */
#hero {
  height: 100svh;
  min-height: 600px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 5rem;
  overflow: hidden;
}

.istanbul-skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55%;
  opacity: 0.18;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, transparent 30%, var(--g0) 80%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.4) 40%, transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
}
.hero-eyebrow {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.5em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}
.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.8rem, 10vw, 4.5rem);
  font-weight: 400;
  color: var(--g17);
  line-height: 1.05;
  letter-spacing: 0.08em;
  opacity: 0;
  animation: fadeUp 1s ease 0.5s forwards;
}
.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1rem, 4vw, 1.4rem);
  color: var(--g9);
  margin-top: 1rem;
  letter-spacing: 0.1em;
  opacity: 0;
  animation: fadeUp 1s ease 0.8s forwards;
}
.hero-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 1.5rem auto;
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
}
.hero-location {
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--g7);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s ease 1.2s forwards;
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease 1.8s forwards;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* SECTIONS */
section {
  padding: 5rem 1.5rem;
  max-width: 480px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.5em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--g4), transparent);
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 400;
  color: var(--g16);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  line-height: 1.2;
}

/* BIO */
#bio {
  border-top: 1px solid var(--g3);
}
.bio-portrait {
  width: 100%;
  height: 320px;
  background: var(--g2);
  border: 1px solid var(--g4);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}
.bio-portrait-fill {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--g3) 0%, var(--g1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.portrait-symbol {
  font-family: 'Cormorant Garamond', serif;
  font-size: 8rem;
  color: var(--g5);
  line-height: 1;
  user-select: none;
}
.portrait-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--g0), transparent);
}
.bio-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--g11);
  margin-bottom: 1.2rem;
}
.bio-text strong {
  color: var(--g15);
  font-weight: 600;
}
.bio-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--g3);
  border: 1px solid var(--g3);
  margin-top: 2.5rem;
}
.stat {
  background: var(--g1);
  padding: 1.2rem 0.8rem;
  text-align: center;
}
.stat-number {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: var(--g15);
  display: block;
}
.stat-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--g7);
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}

/* SERVICES */
#services {
  border-top: 1px solid var(--g3);
  background: var(--g1);
  max-width: 100%;
  padding: 5rem 1.5rem;
}
#services .inner {
  max-width: 480px;
  margin: 0 auto;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-item {
  border-bottom: 1px solid var(--g3);
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: start;
  cursor: default;
  transition: background 0.2s;
}
.service-num {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
  padding-top: 3px;
}
.service-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--g15);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.service-desc {
  font-size: 12px;
  color: var(--g7);
  line-height: 1.6;
  letter-spacing: 0.03em;
}
.service-tag {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--g6);
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--g4);
  white-space: nowrap;
  height: fit-content;
}

/* GALLERY */
#gallery {
  border-top: 1px solid var(--g3);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--g2);
  border: 1px solid var(--g3);
}
.gallery-item:first-child {
  grid-column: 1 / -1;
}
.gallery-img-placeholder {
  width: 100%;
  padding-bottom: 75%;
  position: relative;
  overflow: hidden;
}
.gallery-item:first-child .gallery-img-placeholder {
  padding-bottom: 50%;
}
.gallery-fill {
  position: absolute; /* Placeholder div tam kutu içine oturur. */
  inset: 0; /* Dört kenardan sıfır boşluk bırakır. */
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--g5);
  user-select: none;
}

/* şu değişti: WordPress the_post_thumbnail() img etiketini çerçeveye kilitleyen kurallar eklendi */
.gallery-img-placeholder img.gallery-fill {
  display: block; /* Inline boşluklarını kaldırır. */
  width: 100%; /* Konteynerin tüm genişliğini kaplar. */
  height: 100%; /* Konteynerin tüm yüksekliğini kaplar. */
  object-fit: cover; /* Görseli orantılı kırparak çerçeveye tam sığdırır. */
  object-position: center; /* Görsel ortalanır, kenar kesmez. */
  position: absolute; /* Padding-bottom trick ile oluşturulan alana sabitlenir. */
  inset: 0; /* Dört kenardan sıfır, tam kaplar. */
  flex: none; /* Flexbox'tan çıkar, absolute konumlanır. */
}
.g-fill-1 { background: linear-gradient(145deg, #1c1c1c, #0f0f0f); }
.g-fill-2 { background: linear-gradient(145deg, #222, #161616); }
.g-fill-3 { background: linear-gradient(145deg, #191919, #111); }
.g-fill-4 { background: linear-gradient(145deg, #202020, #131313); }
.g-fill-5 { background: linear-gradient(145deg, #1a1a1a, #0e0e0e); }
.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem 0.8rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--g9);
  text-transform: uppercase;
}

/* CONTACT */
#contact {
  border-top: 1px solid var(--g3);
  background: var(--g0);
  text-align: center;
}
.contact-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--g8);
  margin-bottom: 3rem;
  line-height: 1.7;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}
.contact-btn {
  display: block;
  padding: 1rem 2rem;
  border: 1px solid var(--g4);
  color: var(--g12);
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: all 0.3s;
  background: transparent;
}
.contact-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184,168,130,0.05);
}
.contact-btn.primary {
  border-color: var(--g7);
  color: var(--g16);
}

/* FOOTER */
footer {
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--g2);
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}
.footer-text {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--g5);
  text-transform: uppercase;
}

/* ISTANBUL SKYLINE SVG */
.skyline-svg {
  width: 100%;
  height: 100%;
}

/* DECORATIVE LINE */
.deco-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--g5), var(--gold), var(--g5), transparent);
  margin: 3rem 0;
}

/* QUOTE BLOCK */
.quote-block {
  border-left: 2px solid var(--gold);
  padding: 1.5rem 1.5rem;
  background: var(--g1);
  margin: 2rem 0;
}
.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--g12);
  line-height: 1.7;
}
.quote-attr {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--g6);
  text-transform: uppercase;
  margin-top: 0.8rem;
}

/* RULES NOTICE */
.rules-notice {
  background: var(--g2);
  border: 1px solid var(--g4);
  padding: 1.2rem;
  margin-top: 2rem;
  font-size: 11px;
  color: var(--g7);
  line-height: 1.7;
  letter-spacing: 0.05em;
}
.rules-notice strong {
  color: var(--g11);
  font-weight: 400;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* CHAIN ORNAMENT */
.ornament {
  text-align: center;
  margin: 1rem 0;
  font-size: 18px;
  color: var(--g5);
  letter-spacing: 0.5em;
}

/* RTL SUPPORT (Arabic etc.) */
body.rtl { /*şu değişti: RTL desteği eklendi */
  direction: rtl;
  unicode-bidi: embed;
}
body.rtl .section-label::after {
  background: linear-gradient(to left, var(--g4), transparent);
}
body.rtl .quote-block {
  border-left: none;
  border-right: 2px solid var(--gold);
}
body.rtl .service-num {
  padding-left: 10px;
  padding-right: 0;
}
body.rtl nav {
  flex-direction: row-reverse;
}
body.rtl .nav-links {
  flex-direction: row-reverse;
}
body.rtl .lang-switcher {
  flex-direction: row-reverse;
}
