/* ============================================================
   borankayali-site — Premium boutique styles (Alkan visual system)
   Palette: navy #0B1F3A · cream #F7F3EB · gold #C4A35A
   ============================================================ */

:root {
  --navy: #0B1F3A;
  --navy-deep: #071528;
  --navy-soft: #143056;
  --cream: #F7F3EB;
  --cream-dark: #EDE6D9;
  --gold: #C4A35A;
  --gold-hover: #D4B56E;
  --gold-muted: rgba(196, 163, 90, 0.18);
  --text: #1A2433;
  --text-muted: #5A6575;
  --white: #FFFFFF;
  --shadow: 0 12px 40px rgba(11, 31, 58, 0.12);
  --radius: 12px;
  --header-h: 72px;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--gold);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--gold);
  color: var(--navy);
  padding: 0.6rem 1rem;
  z-index: 1000;
  font-weight: 600;
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 31, 58, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 163, 90, 0.25);
  height: var(--header-h);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--cream);
}

.brand:hover { color: var(--gold); }

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(196, 163, 90, 0.45);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.primary-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.primary-nav a:hover,
.primary-nav a[aria-current="true"] {
  color: var(--gold);
  background: rgba(196, 163, 90, 0.1);
}

.nav-cta {
  margin-left: 0.35rem;
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--gold-hover) !important;
  color: var(--navy) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(196, 163, 90, 0.4);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}

.btn:active { transform: translateY(1px); }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-hover);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 243, 235, 0.55);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 720px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 45%, var(--navy-soft) 100%);
  color: var(--cream);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(196, 163, 90, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(196, 163, 90, 0.06), transparent 50%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196, 163, 90, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 163, 90, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 4.5rem 5rem;
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  color: var(--cream);
  margin-bottom: 0.4em;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-style: italic;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-lead {
  color: rgba(247, 243, 235, 0.82);
  font-size: 1.1rem;
  max-width: 38em;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
}

.section-label {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.section-header {
  max-width: 640px;
  margin-bottom: 2.75rem;
}

.section-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.portrait-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(196, 163, 90, 0.35);
  background: var(--navy);
  aspect-ratio: 16 / 10;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.portrait-caption {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
  font-family: var(--font-serif);
}

.about-role {
  color: var(--gold);
  font-weight: 600;
  font-size: 1rem;
  margin-top: -0.4rem;
  margin-bottom: 1.4rem;
}

.about-bio p {
  color: var(--text-muted);
}

.about-bio p:last-child {
  margin-bottom: 0;
}

/* ---------- Services ---------- */
.services {
  background: var(--white);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.service-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-card-wide {
  grid-column: span 2;
}

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin-bottom: 1rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  margin-bottom: 0.5em;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin: 0;
}

/* ---------- Values ---------- */
.values {
  background: var(--navy);
  color: var(--cream);
}

.values h2,
.values .section-label {
  color: var(--cream);
}

.values .section-label { color: var(--gold); }

.values .section-intro {
  color: rgba(247, 243, 235, 0.72);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.value-item {
  padding: 1.5rem 1.1rem;
  border: 1px solid rgba(196, 163, 90, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s, background 0.25s;
}

.value-item:hover {
  border-color: var(--gold);
  background: rgba(196, 163, 90, 0.08);
}

.value-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.value-item h3 {
  color: var(--cream);
  font-size: 1.2rem;
  margin-bottom: 0.5em;
}

.value-item p {
  color: rgba(247, 243, 235, 0.7);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-lead {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-details li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--cream-dark);
}

.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.contact-details a {
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--navy);
}

.contact-details a:hover { color: var(--gold); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
}

.form-field {
  margin-bottom: 1.15rem;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: rgba(196, 163, 90, 0.55);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-muted);
  outline: none;
  background: var(--white);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.form-note a {
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(247, 243, 235, 0.75);
  padding-block: 2.75rem 2rem;
  border-top: 1px solid rgba(196, 163, 90, 0.3);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.footer-logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid rgba(196, 163, 90, 0.4);
}

.footer-brand strong {
  display: block;
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-brand p {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: var(--gold);
}

.footer-meta {
  text-align: right;
}

.footer-disclaimer {
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 0.85rem;
  max-width: 480px;
  margin-left: auto;
}

.footer-copy {
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: rgba(247, 243, 235, 0.55);
}

.footer-domain {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card-wide {
    grid-column: span 2;
  }
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .value-item:nth-child(4),
  .value-item:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(196, 163, 90, 0.3);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.35s, visibility 0.35s;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .primary-nav a {
    display: block;
    padding: 0.85rem 1rem;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-media { order: -1; }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-meta { text-align: left; }
  .footer-disclaimer { margin-left: 0; }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .service-cards {
    grid-template-columns: 1fr;
  }
  .service-card-wide {
    grid-column: span 1;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .brand-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
