@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Colors */
  --surface: #f8f9fa;
  --surface-dim: #d0daf0;
  --surface-bright: #f8f9fa;
  --on-surface: #121c2c;
  
  --primary: #061b0e;
  --on-primary: #ffffff;
  
  --background: #f8f9fa;
  --on-background: #121c2c;
  
  /* Brand Specific */
  --brand-primary: #0F1F38; /* Ocean Navy Blue */
  --brand-accent: #C49B55; /* Teak / Luxury Gold */
  --brand-primary-strong: #081222;
  --text-muted: rgba(15, 31, 56, 0.72);
  --text-soft: rgba(15, 31, 56, 0.56);
  --text-inverse-muted: rgba(255, 255, 255, 0.78);
  --border-soft: rgba(15, 31, 56, 0.12);
  --blueprint-line: rgba(15, 31, 56, 0.12);
  --focus-ring: rgba(196, 155, 85, 0.35);

  /* Legacy aliases (planned removal) */
  --tactical-green: var(--brand-primary);
  --muted-gold: var(--brand-accent);
  
  /* Spacing */
  --section-padding: 25px;
  --container-max: 1440px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 18px;
  --space-8: 24px;
  --space-12: 30px;
  --space-16: 40px;

  /* Radius + Shadow */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 10px 24px rgba(15, 31, 56, 0.06);
  --shadow-md: 0 18px 36px rgba(15, 31, 56, 0.1);
  --shadow-lg: 0 28px 56px rgba(15, 31, 56, 0.16);
  
  /* Typography */
  --font-h-family: 'Montserrat', sans-serif;
  --font-body-family: 'Montserrat', sans-serif;
  --font-p-family: 'Montserrat', sans-serif;
  --font-mono-family: 'Montserrat', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body-family);
  background-color: var(--background);
  color: var(--on-background);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img,
video,
iframe {
  max-width: 100%;
}

a,
button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px var(--focus-ring);
}

::selection {
  background-color: var(--brand-primary);
  color: white;
}

/* Typography Utilities */
.h1, .h2, .h3 {
  font-family: var(--font-h-family);
  color: var(--brand-primary);
}

.h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.label-caps {
  font-family: var(--font-h-family);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mono-data {
  font-family: var(--font-mono-family);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

/* Color Utilities */
.text-white { color: #ffffff; }
.text-white-80 { color: rgba(255, 255, 255, 0.8); }
.text-white-60 { color: rgba(255, 255, 255, 0.6); }
.text-white-50 { color: rgba(255, 255, 255, 0.5); }
.text-white-40 { color: rgba(255, 255, 255, 0.4); }

.text-primary { color: var(--brand-primary); }
.text-primary-80 { color: rgba(15, 31, 56, 0.8); }
.text-primary-60 { color: rgba(15, 31, 56, 0.6); }
.text-primary-40 { color: rgba(15, 31, 56, 0.4); }
.text-primary-30 { color: rgba(15, 31, 56, 0.3); }
.text-accent { color: var(--brand-accent); }

/* Eski class isimlerini geriye dönük uyumluluk veya ileride temizlemek için temporarily primary'e bağlayalım */
.text-green { color: var(--brand-primary); }
.text-green-80 { color: rgba(15, 31, 56, 0.8); }
.text-green-60 { color: rgba(15, 31, 56, 0.6); }
.text-green-40 { color: rgba(15, 31, 56, 0.4); }
.text-green-30 { color: rgba(15, 31, 56, 0.3); }
.text-gold { color: var(--brand-accent); }

.bg-white { background-color: #ffffff; }
.bg-surface { background-color: var(--surface); }
.bg-primary { background-color: var(--brand-primary); }
.bg-accent { background-color: var(--brand-accent); }

/* Legacy */
.bg-green { background-color: var(--brand-primary); }
.bg-gold { background-color: var(--brand-accent); }
.bg-dark { background-color: #000000; }

/* Layout Utilities */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1024px) { .container { padding: 0 40px; } }

.section { padding: var(--section-padding) 0; position: relative; }
@media (max-width: 767px) {
  .section { padding: 44px 0; }
}

.flex-between { display: flex; justify-content: space-between; }
.flex-align-center { display: flex; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-column { display: flex; flex-direction: column; }
.align-end { align-items: flex-end; }
.justify-center { justify-content: center; }

.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.pb-4 { padding-bottom: 16px; }

.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 896px; }
.max-w-xl { max-width: 576px; }
.font-medium { font-weight: 500; }
.font-sm { font-size: 14px; }
.block { display: block; }
.text-center { text-align: center; }
.relative { position: relative; }
.absolute-fill { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.z-10 { z-index: 10; }

.border-bottom-blueprint { border-bottom: 1px solid rgba(15, 31, 56, 0.15); }
.border-bottom-blueprint-dark { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.border-bottom-primary { border-bottom: 2px solid var(--brand-primary); }
.border-bottom-green { border-bottom: 2px solid var(--brand-primary); } /* legacy */
.border-none { border: none !important; }

/* Soft Patterns instead of Blueprint */
.blueprint-bg {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px; /* Daha ferah, deniz hissiyatlı bir pattern */
}
.blueprint-bg-light {
  background-image: 
    linear-gradient(rgba(15, 31, 56, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 31, 56, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Animations Utilities */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 36px; font-family: var(--font-body-family); font-size: 13px;
  font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%) rotate(35deg) scale(0);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.btn:hover::after {
  transform: translate(-50%, -50%) rotate(35deg) scale(1);
}

.btn-primary { background-color: var(--brand-primary); color: white; border-color: var(--brand-primary); }
.btn-primary:hover { background-color: var(--brand-primary-strong); border-color: var(--brand-primary-strong); box-shadow: var(--shadow-sm); }
.btn-outline-white { background-color: transparent; color: white; border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background-color: white; color: var(--brand-primary); border-color: white; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); }
.btn-outline-gold { background-color: transparent; color: var(--brand-accent); border-color: var(--brand-accent); }
.btn-outline-gold:hover { background-color: var(--brand-accent); color: white; box-shadow: var(--shadow-sm); }

.hover-white:hover { background-color: white !important; color: var(--brand-primary) !important; }
.hover-gold:hover { color: var(--brand-accent) !important; }
.btn-outline-gold.hover-gold:hover { color: #fff !important; }

.btn-text-link {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body-family);
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; color: var(--brand-primary); border-bottom: 1px solid var(--brand-primary);
  padding-bottom: 4px; transition: all 0.3s ease;
}
.btn-text-link:hover { color: var(--brand-accent); border-color: var(--brand-accent); }

/* Icons */
.icon-sm { font-size: 16px; }
.icon-lg { font-size: 40px; }

/* Reusable page hero */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-primary);
  border-bottom: 4px solid var(--brand-accent);
  padding-top: 80px;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.42;
  z-index: 0;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--brand-primary) 0%, rgba(15, 31, 56, 0.35) 100%);
  z-index: 1;
}
.page-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}
.page-hero-title {
  font-weight: 800;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.section-label--hero .hero-luxury-label {
  border-left: none;
  padding-left: 0;
  margin-left: 0;
  border-bottom: 2px solid var(--brand-accent);
  padding-bottom: 8px;
  color: #fff;
  letter-spacing: 0.25em;
}

/* Unified inner pages hero (galeri ile aynı yapı; ana sayfa ve detay sayfaları hariç) */
.site-page-hero {
  position: relative;
  height: 38vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-primary);
  border-bottom: 4px solid var(--brand-accent);
  padding-top: 72px;
  overflow: hidden;
}
.site-page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  filter: grayscale(60%);
  z-index: 0;
}
.site-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--brand-primary) 10%, transparent 80%);
  z-index: 1;
}
.site-page-hero-inner {
  position: relative;
  z-index: 10;
  text-align: center;
}
.site-page-hero-kicker {
  display: inline-block;
  font-family: var(--font-body-family);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 2px solid var(--brand-accent);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.site-page-hero-title {
  font-family: var(--font-h-family);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

@media (max-width: 480px) {
  .site-page-hero {
    min-height: 300px;
    padding-top: 72px;
  }
}

/* Reusable CTA */
.cta-section {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: brightness(0.25);
  z-index: 1;
}
.cta-section .container {
  position: relative;
  z-index: 2;
}
.cta-label {
  border: none;
  color: var(--brand-accent);
  letter-spacing: 0.3em;
  margin-bottom: 16px;
  display: inline-block;
  padding: 0;
}
.cta-title {
  font-weight: 800;
  font-family: var(--font-h-family);
}
.cta-desc {
  color: var(--text-inverse-muted);
  font-size: 16px;
  line-height: 1.8;
  max-width: 700px;
}
.cta-actions {
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  display: flex;
}
.cta-btn {
  font-size: 14px;
  padding: 16px 36px;
  letter-spacing: 0.15em;
}

/* Unified card/form styling */
.value-card,
.product-card,
.news-card,
.showcase-card,
.info-card,
.featured-news {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.form-control {
  border-radius: var(--radius-sm);
  min-height: 52px;
}

@media (max-width: 1024px) {
  .cta-bg {
    background-attachment: scroll !important;
  }
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 300px;
  }
  .cta-section {
    padding: 52px 0;
  }
}

@media (max-width: 900px) {
  .container {
    padding: 0 16px;
  }
  .h1 {
    font-size: clamp(30px, 9vw, 42px);
  }
  .h2 {
    font-size: clamp(24px, 7vw, 34px);
  }
  .h3 {
    font-size: 20px;
  }
  .btn {
    padding: 13px 20px;
    font-size: 12px;
    letter-spacing: 0.08em;
  }
  .flex-between {
    flex-wrap: wrap;
    gap: 12px;
  }
  .site-page-hero {
    min-height: 250px;
    height: auto;
    padding-top: 86px;
    padding-bottom: 26px;
  }
  .site-page-hero-kicker {
    font-size: 11px;
    letter-spacing: 0.18em;
    margin-bottom: 10px;
  }
  .site-page-hero-title {
    font-size: clamp(22px, 8vw, 30px);
    letter-spacing: 0.03em;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 34px 0;
  }
  .mb-8 {
    margin-bottom: 24px;
  }
  .mt-8 {
    margin-top: 24px;
  }
}

/* Footer: .fade-* varsayimi opacity:0; app.js 404/engellenirse alt bilgi yine okunur olsun */
footer .footer-col.fade-in-left,
footer .footer-col.fade-in-right,
footer .footer-col.fade-up {
  opacity: 1;
  transform: none;
  transition: none;
}
footer .footer-bottom {
  opacity: 1;
  transform: none;
}