@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Cairo:wght@400;500;600;700;800&display=swap');

/* ─── RESET & ROOT ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --green-dark:  #1a4a2e;
  --green-mid:   #2d6e47;
  --green-light: #3d8b5a;
  --gold:        #c8972f;
  --gold-light:  #e0b84a;
  --cream:       #f9f5ef;
  --cream-dark:  #ede7d9;
  --text:        #2d2d2d;
  --text-light:  #5a5a5a;
  --white:       #ffffff;
  --footer-bg:   #0e2c1a;
}

body {
  font-family: 'Cairo', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Amiri', 'Georgia', serif;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 66px;
  background: rgba(17, 50, 30, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.nav-logo img {
  width: 178px;
  height: auto;
  display: block;
}

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

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

.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--gold-light); background: rgba(255,255,255,0.07); }
.nav-links a.active { color: var(--gold-light); }

.nav-social {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(200,151,47,0.25);
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.nav-social a:hover {
  background: rgba(200,151,47,0.2);
  border-color: var(--gold);
  color: var(--gold-light);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 6rem 1.5rem 4rem;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 30, 15, 0.72) 0%,
    rgba(18, 60, 30, 0.58) 50%,
    rgba(8, 30, 15, 0.82) 100%
  );
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200,151,47,0.18);
  border: 1px solid rgba(200,151,47,0.5);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 0.38rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 1.6rem;
}

.hero h1 {
  font-family: 'Audiowide', cursive;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  margin-bottom: 0.6rem;
}

.hero h1 em { font-style: normal; color: var(--gold-light); }

.hero-slogan {
  font-family: 'Amiri', serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-tagline {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 2;
}

.hero-scroll::after {
  content: '';
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
}

/* Sub-page hero (shorter) */
.hero-sub {
  min-height: 45vh;
  padding: 8rem 1.5rem 4rem;
}

.hero-sub h1 { font-size: clamp(2.4rem, 6vw, 4rem); }

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--gold);
  color: var(--white);
  padding: 0.88rem 2.2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(200,151,47,0.4);
  display: inline-block;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,151,47,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 0.88rem 2.2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.55);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  padding: 0.88rem 2.4rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(200,151,47,0.35);
  display: inline-block;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,151,47,0.5);
}

.btn-green {
  background: var(--green-dark);
  color: var(--white);
  padding: 0.88rem 2.4rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-green:hover { background: var(--green-mid); transform: translateY(-2px); }

.btn-white-outline {
  background: transparent;
  color: var(--white);
  padding: 0.88rem 2.4rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.45);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-white-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* ─── SECTION COMMONS ─── */
section { padding: 5.5rem 1.5rem; }
.container { max-width: 1140px; margin: 0 auto; }

.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-divider {
  width: 56px; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.ornament {
  text-align: center;
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 8px;
  margin-bottom: 1.2rem;
  opacity: 0.65;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ─── INFO BAR ─── */
.info-bar {
  background: var(--green-dark);
  padding: 3rem 1.5rem;
}

.info-bar-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.info-card {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(200,151,47,0.28);
  border-radius: 14px;
  padding: 1.6rem 1.4rem;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}

.info-card:hover {
  background: rgba(255,255,255,0.11);
  transform: translateY(-3px);
}

.info-card-icon { font-size: 1.8rem; margin-bottom: 0.7rem; display: block; }
.info-card-title { color: var(--gold-light); font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 0.45rem; }
.info-card-content { color: rgba(255,255,255,0.88); font-size: 0.92rem; line-height: 1.55; }
.info-card-content a { color: var(--gold-light); font-weight: 600; }
.info-card-content a:hover { text-decoration: underline; }

/* ─── ABOUT ─── */
.about { background: var(--cream); }

.about-grid {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.about-image-wrap {
  flex-shrink: 0;
  width: 42%;
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(26,74,46,0.2);
}

.about-badge {
  position: absolute;
  bottom: -1.2rem; right: -1.2rem;
  background: var(--gold);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.7rem 1.3rem;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(200,151,47,0.4);
}

.about-text { flex: 1; }

.about-text p {
  color: var(--text-light);
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.feature-list { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.4rem; }

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.feature-dot {
  width: 9px; height: 9px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── SERVICES / HIZMETLER ─── */
.hizmetler { background: var(--white); }
.hizmetler-inner { background: var(--cream); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--cream-dark);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--gold), var(--green-light));
  border-radius: 4px 0 0 4px;
}

.service-card:hover {
  box-shadow: 0 12px 40px rgba(26,74,46,0.12);
  transform: translateY(-4px);
  border-color: rgba(200,151,47,0.4);
}

.service-icon { font-size: 2.4rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--green-dark); margin-bottom: 0.6rem; font-family: 'Amiri', serif; }
.service-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

.services-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ─── BRANCHES / ŞUBELER ─── */
.subeler-section { background: var(--cream); }
.subeler-inner { background: var(--white); }

.branches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}

.branch-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 16px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.branch-card:hover {
  box-shadow: 0 10px 35px rgba(26,74,46,0.12);
  transform: translateY(-4px);
  border-color: rgba(200,151,47,0.45);
}

.branch-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  flex-shrink: 0;
}

.branch-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  font-family: 'Amiri', serif;
}

.branch-card .branch-tag {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.branch-card .branch-link {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--green-mid);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.branch-card .branch-link:hover { color: var(--gold); }

/* Branch detail page */
.branch-detail { background: var(--cream); }

.branch-info-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.branch-info-item {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 14px;
  padding: 1.5rem 1.8rem;
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.branch-info-item-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.branch-info-item h4 {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.branch-info-item p, .branch-info-item a {
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
}

.branch-info-item a { color: var(--green-mid); }
.branch-info-item a:hover { color: var(--gold); text-decoration: underline; }

/* Photo placeholders */
.photos-placeholder {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.photo-slot {
  aspect-ratio: 4/3;
  background: var(--cream-dark);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.85rem;
  border: 2px dashed rgba(200,151,47,0.3);
}

.photo-slot span { font-size: 1.8rem; opacity: 0.5; }

.photos-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

/* ─── GALLERY ─── */
.gallery-section { background: var(--cream); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 36px rgba(26,74,46,0.18);
}

/* ─── MAP ─── */
.map-section { background: var(--white); }

.map-wrapper {
  margin-top: 2.5rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.map-wrapper iframe {
  width: 100%;
  height: 460px;
  border: none;
  display: block;
}

/* ─── SOCIAL SECTION ─── */
.social-section {
  background: var(--green-dark);
  padding: 4rem 1.5rem;
  text-align: center;
}

.social-section .section-title { color: var(--white); margin-bottom: 0.5rem; }
.social-section p { color: rgba(255,255,255,0.72); font-size: 1rem; margin-bottom: 2rem; }

.social-links {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(200,151,47,0.35);
  border-radius: 12px;
  padding: 1rem 2rem;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.social-link:hover {
  background: rgba(200,151,47,0.2);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.social-link-icon { font-size: 1.4rem; }

/* ─── CONTACT / CTA ─── */
.contact {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  color: var(--white);
  text-align: center;
}

.contact .section-title { color: var(--white); }

.contact-lead {
  color: rgba(255,255,255,0.78);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

.contact-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 5rem 1.5rem 0;
  max-width: 1140px;
  margin: 0 auto;
}

.breadcrumb a { color: var(--green-mid); font-weight: 500; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(0,0,0,0.3); }

/* ─── FOOTER ─── */
footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.85rem;
}

footer strong { color: rgba(255,255,255,0.7); }

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.footer-social a {
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  transition: color 0.2s;
}

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

/* ─── HANIM BADGE ─── */
.hanim-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(180,120,200,0.12);
  border: 1px solid rgba(180,120,200,0.3);
  color: #9b59b6;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1050px) {
  .branches-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0; background: rgba(14,44,26,0.98); padding: 1rem 0; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.8rem 1.5rem; border-radius: 0; }
  .nav-burger { display: flex; }
  .about-grid { flex-direction: column; }
  .about-image-wrap { width: 100%; }
  .about-image-wrap img { height: 320px; }
  .about-badge { right: 1rem; bottom: 1rem; }
}

@media (max-width: 700px) {
  section { padding: 4rem 1.2rem; }
  .hero { background-attachment: scroll; }
  .services-grid { grid-template-columns: 1fr; }
  .branches-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .photos-placeholder { grid-template-columns: 1fr 1fr; }
  .map-wrapper iframe { height: 320px; }
  .hero h1 { font-size: 2.6rem; }
  .nav-social { display: none; }
}

@media (max-width: 480px) {
  .branches-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .photos-placeholder { grid-template-columns: 1fr; }
  .info-bar-grid { flex-direction: column; align-items: stretch; }
  .info-card { max-width: 100%; }
  .branch-info-grid { flex-direction: column; }
}
