/* =====================
   RESET & VARIABLES
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F7F4EF;
  --dark: #1A1A18;
  --dark2: #2C2C28;
  --accent: #C8873A;
  --accent2: #E8A45C;
  --text: #3A3A36;
  --text-light: #7A7A72;
  --white: #FFFFFF;
  --card-bg: #EEEBE4;
  --section-pad: 100px;
  --radius: 16px;
  --shadow: 0 8px 40px rgba(26,26,24,0.10);
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

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

/* =====================
   NAVBAR  z-index: 500
   ===================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(247,244,239,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(26,26,24,0.08);
  transition: background 0.3s, box-shadow 0.3s;
}
#navbar.scrolled {
  background: rgba(247,244,239,0.98);
  box-shadow: 0 2px 24px rgba(26,26,24,0.12);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 32px;
}

/* =====================
   LOGO
   PNG kullanmak için HTML'de:
   <a class="logo" href="#"><img src="logo.png" alt="Logo" class="logo-img"></a>
   ===================== */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: auto;
}
.logo-img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text-wrap strong {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo-text-wrap span {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,26,24,0.25); }

/* =====================
   HAMBURGER  z-index: 700
   ===================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 700;
  position: relative;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
  pointer-events: none;
}
.hamburger.open span { background: #fff; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================
   MOBİL MENÜ  z-index: 600
   ===================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.77,0,0.18,1);
  pointer-events: none;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  visibility: visible;
}
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu ul li { margin: 20px 0; }
.mobile-menu ul a {
  color: white;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.mobile-menu ul a:hover { opacity: 1; color: var(--accent2); }

/* =====================
   HERO
   ===================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 120px 32px 80px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-shape { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.18; }
.shape1 { width: 600px; height: 600px; background: var(--accent); right: -100px; top: -100px; }
.shape2 { width: 400px; height: 400px; background: #8B6F4A; left: -50px; bottom: 0; }
.shape3 { width: 300px; height: 300px; background: var(--accent2); right: 200px; bottom: 100px; }
.hero-content { position: relative; max-width: 760px; margin: 0 auto; text-align: center; animation: fadeUp 0.8s ease both; }
.hero-badge { display: inline-block; background: var(--card-bg); border: 1px solid rgba(200,135,58,0.3); color: var(--accent); font-size: 0.85rem; font-weight: 600; padding: 8px 18px; border-radius: 50px; margin-bottom: 28px; letter-spacing: 0.04em; }
.hero-title { font-family: var(--font-head); font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 900; line-height: 1.1; color: var(--dark); margin-bottom: 24px; letter-spacing: -0.03em; }
.hero-title em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: 1.1rem; color: var(--text-light); margin-bottom: 40px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: white; text-decoration: none; padding: 16px 32px; border-radius: 50px; font-weight: 600; font-size: 1rem; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; box-shadow: 0 8px 24px rgba(37,211,102,0.4); }
.btn-primary:hover { background: #1ebe5d; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(37,211,102,0.55); }
.btn-outline { display: inline-flex; align-items: center; gap: 10px; border: 2px solid var(--dark); color: var(--dark); text-decoration: none; padding: 14px 30px; border-radius: 50px; font-weight: 600; font-size: 1rem; transition: all 0.2s; }
.btn-outline:hover { background: var(--dark); color: white; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat strong { font-family: var(--font-head); font-size: 2rem; font-weight: 900; color: var(--dark); line-height: 1; }
.stat span { font-size: 0.82rem; color: var(--text-light); margin-top: 4px; letter-spacing: 0.03em; }
.stat-divider { width: 1px; height: 40px; background: rgba(26,26,24,0.15); }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; animation: bounce 2s infinite; }
.hero-scroll span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-light); }
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, var(--accent), transparent); }

/* =====================
   SECTIONS — COMMON
   ===================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
section { padding: var(--section-pad) 0; }
.dark-section { background: var(--dark); color: white; }
.dark-section .section-label { color: var(--accent2); }
.dark-section h2 { color: white; }
.section-label { display: inline-block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); margin-bottom: 12px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; color: var(--dark); letter-spacing: -0.03em; margin-bottom: 12px; }
.section-desc { color: var(--text-light); font-size: 1rem; }
.center-section { text-align: center; }
.center-section h2 { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 12px; }
.center-section .section-desc { margin-bottom: 40px; }

/* =====================
   HAKKIMIZDA
   ===================== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; height: 380px; }
.about-card { position: absolute; border-radius: var(--radius); padding: 32px; }
.card-main { background: var(--dark); color: white; width: 70%; bottom: 0; left: 0; box-shadow: var(--shadow); }
.card-main .about-icon { font-size: 3rem; margin-bottom: 16px; }
.card-main p { font-size: 0.95rem; color: rgba(255,255,255,0.75); line-height: 1.6; }
.card-accent { background: var(--accent); color: white; top: 0; right: 0; width: 55%; display: flex; flex-direction: column; box-shadow: 0 8px 32px rgba(200,135,58,0.35); }
.card-accent strong { font-family: var(--font-head); font-size: 2rem; font-weight: 900; line-height: 1.1; }
.card-accent span { font-size: 0.9rem; opacity: 0.85; margin-top: 4px; }
.about-text h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 900; color: var(--dark); letter-spacing: -0.03em; margin-bottom: 20px; line-height: 1.2; }
.about-text p { color: var(--text-light); margin-bottom: 16px; line-height: 1.8; }
.feature-list { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.feature-list li { font-size: 0.95rem; color: var(--text); font-weight: 500; }

/* =====================
   HİZMETLER
   ===================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.service-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); padding: 40px 32px; position: relative; transition: background 0.3s; }
.service-card:hover { background: rgba(255,255,255,0.09); }
.service-num { font-family: var(--font-head); font-size: 3rem; font-weight: 900; color: rgba(255,255,255,0.06); position: absolute; top: 20px; right: 24px; line-height: 1; }
.service-icon { font-size: 2.2rem; margin-bottom: 20px; }
.service-card h3 { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: white; margin-bottom: 12px; }
.service-card p { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* =====================
   GALERİ
   ===================== */
.gallery-filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { background: var(--card-bg); border: none; color: var(--text); padding: 10px 24px; border-radius: 50px; font-family: var(--font-body); font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.filter-btn.active, .filter-btn:hover { background: var(--accent); color: white; }

/* Galeri grid — masaüstü */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 12px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--card-bg);
  /* Yüksekliği grid-auto-rows'tan alıyor, ama fallback: */
  min-height: 200px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item.featured { grid-row: span 2; }
.gallery-item:hover { transform: scale(0.98); box-shadow: var(--shadow); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(to top, rgba(26,26,24,0.8), transparent); color: white; transform: translateY(10px); opacity: 0; transition: all 0.3s; }
.gallery-item:hover .gallery-overlay { opacity: 1; transform: translateY(0); }
.gallery-overlay p { font-weight: 600; font-size: 0.95rem; }

.gallery-loading { text-align: center; padding: 80px 0; color: var(--text-light); }
.loading-spinner { width: 36px; height: 36px; border: 3px solid var(--card-bg); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
.gallery-empty { text-align: center; padding: 80px 0; color: var(--text-light); display: flex; flex-direction: column; align-items: center; }
.empty-icon { font-size: 3rem; margin-bottom: 12px; }

/* =====================
   LIGHTBOX  z-index: 800
   ===================== */
.lightbox { position: fixed; inset: 0; background: rgba(10,10,8,0.95); z-index: 800; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: 12px; object-fit: contain; }
.lb-close { position: absolute; top: 24px; right: 32px; background: none; border: none; color: white; font-size: 1.8rem; cursor: pointer; opacity: 0.7; transition: opacity 0.2s; }
.lb-close:hover { opacity: 1; }
#lbCaption { color: rgba(255,255,255,0.6); margin-top: 16px; font-size: 0.9rem; }

/* =====================
   HARİTA
   ===================== */
.map-col { gap: 60px; align-items: start; }
.map-info { color: rgba(255,255,255,0.8); }
.map-info h2 { color: white; font-family: var(--font-head); font-size: 2.2rem; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 16px; }
.map-info p { margin-bottom: 32px; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.cd-icon { font-size: 1.4rem; line-height: 1.3; }
.contact-detail strong { display: block; color: white; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 2px; }
.contact-detail span { font-size: 0.9rem; color: rgba(255,255,255,0.55); }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 400px; border: none; display: block; }

/* =====================
   İLETİŞİM
   ===================== */
.contact-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.contact-btn { display: inline-flex; align-items: center; gap: 12px; padding: 18px 36px; border-radius: 50px; font-weight: 700; font-size: 1rem; text-decoration: none; transition: all 0.25s; }
.phone-btn { background: var(--dark); color: white; box-shadow: 0 8px 24px rgba(26,26,24,0.15); }
.phone-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(26,26,24,0.2); }
.wa-btn { background: #25D366; color: white; box-shadow: 0 8px 24px rgba(37,211,102,0.3); }
.wa-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(37,211,102,0.4); }

/* =====================
   FOOTER
   ===================== */
footer { background: var(--dark); padding: 40px 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; color: white; font-size: 1rem; }
footer p { color: rgba(255,255,255,0.4); font-size: 0.85rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent2); }

/* =====================
   WHATSAPP FLOAT
   ===================== */
.wa-float { position: fixed; bottom: 28px; right: 28px; width: 60px; height: 60px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(37,211,102,0.45); z-index: 490; transition: transform 0.25s, box-shadow 0.25s; animation: pulse-wa 3s infinite 1s; }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,0.6); animation: none; }

/* =====================
   ANİMASYONLAR
   ===================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
@keyframes pulse-wa { 0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); } 50% { box-shadow: 0 6px 32px rgba(37,211,102,0.7), 0 0 0 12px rgba(37,211,102,0.12); } }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* =====================
   RESPONSIVE — TABLET
   ===================== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .about-visual { height: 260px; margin-bottom: 0; }
  .map-col { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-inner { flex-direction: column; align-items: flex-start; }

  /* Galeri tablet: 2 sütun */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery-item.featured { grid-row: span 1; }
}

/* =====================
   RESPONSIVE — MOBİL
   ===================== */
@media (max-width: 600px) {
  :root { --section-pad: 64px; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .stat-divider { height: 28px; }
  #hero { padding: 120px 20px 80px; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 14px 20px; }
  .footer-inner { gap: 12px; }

  /* Galeri mobil: 1 sütun, sabit yükseklik */
  .gallery-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-rows: 240px !important;
    gap: 10px;
  }
  .gallery-item {
    width: 100% !important;
    height: 240px !important;
    grid-row: span 1 !important;
    min-height: 240px !important;
  }
  .gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
}
