/* Doruk Seramik — el yapımı seramik vitrin sitesi */
:root {
  --color-charcoal: #333333;
  --color-beige: #a89b8c;
  --color-black: #0a0a0a;
  --color-clay: #a89b8c;
  --color-clay-dark: #333333;
  --color-cream: #f5f3f0;
  --color-sand: #e8e4df;
  --color-ink: #1a1a1a;
  --color-muted: #6b6560;
  --color-accent: #a89b8c;
  --color-white: #faf9f7;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-ink);
  background: var(--color-cream);
  line-height: 1.65;
  font-size: 1.05rem;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-clay-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-accent); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--color-clay); color: #fff; padding: 0.5rem 1rem; z-index: 9999;
}
.skip-link:focus { left: 0; }

.container { width: min(1140px, 92vw); margin-inline: auto; }
.container.narrow { width: min(760px, 92vw); }
.text-center { text-align: center; }

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
  margin: 0 0 0.5rem;
}

/* Logo */
.logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.logo-img {
  height: 52px;
  width: auto;
  max-width: min(190px, 42vw);
  object-fit: contain;
  display: block;
}
.logo-footer .logo-wrap {
  padding: 0.35rem 0.75rem;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.logo-footer .logo-img {
  height: 44px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(168, 155, 140, 0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  width: min(1140px, 92vw);
  margin-inline: auto;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(250, 249, 247, 0.75);
}
.main-nav a:hover,
.main-nav a.active { color: var(--color-beige); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-beige);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--color-charcoal);
  color: var(--color-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.btn-primary:hover { background: var(--color-beige); color: var(--color-black); }
.btn-outline {
  border-color: var(--color-beige);
  color: var(--color-charcoal);
  background: transparent;
}
.btn-outline:hover { background: var(--color-white); }
.btn-outline-light {
  border: 2px solid var(--color-beige);
  color: var(--color-charcoal);
  background: transparent;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
}
.btn-outline-light:hover { background: var(--color-charcoal); color: var(--color-white); }
.btn-instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
  border: none;
}

/* Hero home */
.hero-home {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 3rem 0;
}
.hero-home {
  background: var(--color-black);
  color: var(--color-white);
}
.hero-home .lead { color: rgba(250, 249, 247, 0.75); }
.hero-home h1 em { color: var(--color-beige); }
.hero-home-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(168, 155, 140, 0.15), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(51, 51, 51, 0.4), transparent),
    var(--color-black);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}
.hero-orb-1 { width: 400px; height: 400px; background: #d4a574; top: -10%; right: 5%; }
.hero-orb-2 { width: 300px; height: 300px; background: #a67c52; bottom: 10%; left: -5%; }

.hero-home-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-home h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 1rem;
}
.hero-home h1 em {
  font-style: italic;
  color: var(--color-clay);
}
.hero-home .lead {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 32ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 420px;
  margin-inline: auto;
}
.hero-vessel {
  position: absolute;
  inset: 15% 20%;
  background: linear-gradient(160deg, #e8c4a8 0%, #b8845c 40%, #7a5238 100%);
  border-radius: 45% 45% 40% 40% / 55% 55% 35% 35%;
  box-shadow: var(--shadow), inset 0 20px 40px rgba(255,255,255,0.2);
  animation: float 6s ease-in-out infinite;
}
.hero-ring {
  position: absolute;
  inset: 5%;
  border: 2px solid rgba(139, 90, 60, 0.2);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.animate-in {
  animation: fadeUp 0.8s ease backwards;
}
.hero-home-text .animate-in:nth-child(2) { animation-delay: 0.1s; }
.hero-home-text .animate-in:nth-child(3) { animation-delay: 0.2s; }
.hero-home-text .animate-in:nth-child(4) { animation-delay: 0.3s; }
.hero-visual.animate-in { animation-delay: 0.25s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--color-sand); }
.section-header {
  margin-bottom: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0;
  font-weight: 600;
}
.section-link { font-weight: 500; }

.intro-strip {
  padding: 3rem 0;
  background: var(--color-white);
  border-block: 1px solid var(--color-sand);
}
.intro-quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  text-align: center;
  margin: 0;
  line-height: 1.5;
  color: var(--color-clay-dark);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(139, 90, 60, 0.08);
  transition: transform 0.25s;
}
.card:hover { transform: translateY(-4px); }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-sand), var(--color-accent));
  margin-bottom: 1rem;
  opacity: 0.8;
}
.card h3 { font-family: var(--font-display); font-size: 1.5rem; margin: 0 0 0.75rem; }
.card h3 a { text-decoration: none; color: inherit; }
.card p { color: var(--color-muted); font-size: 0.95rem; margin: 0 0 1rem; }
.card-link { font-weight: 500; text-decoration: none; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow);
}
.gallery-item img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  padding: 1rem;
  font-size: 0.9rem;
}
.gallery-item figcaption span {
  display: block;
  color: var(--color-muted);
  font-size: 0.8rem;
  text-transform: capitalize;
}
.gallery-intro-block {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}
.gallery-cta { text-align: center; margin-top: 2.5rem; }
.gallery-item-link { position: relative; display: block; overflow: hidden; }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.55);
  color: var(--color-beige);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item-instagram:hover .gallery-item-overlay { opacity: 1; }
.gallery-caption {
  display: block;
  color: var(--color-muted);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}
.gallery-empty { text-align: center; color: var(--color-muted); padding: 3rem 0; }

/* Page hero */
.page-hero {
  position: relative;
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, var(--color-sand) 0%, var(--color-cream) 100%);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238b5a3c' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  margin: 0 0 0.5rem;
}
.page-hero .lead { color: var(--color-muted); font-size: 1.15rem; margin: 0; max-width: 50ch; }

/* Prose content */
.prose { font-size: 1.08rem; }
.prose p { margin: 0 0 1.25rem; }
.prose strong { color: var(--color-clay-dark); }
.prose h2, .prose h3 {
  font-family: var(--font-display);
  margin: 2rem 0 1rem;
}
.content-cta {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-sand);
  text-align: center;
}

/* CTA */
.cta-band {
  background: var(--color-clay-dark);
  color: var(--color-cream);
}
.cta-band-inner { text-align: center; }
.cta-band h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 0.5rem;
}
.cta-band p { opacity: 0.9; margin-bottom: 1.5rem; }
.cta-band .btn-primary {
  background: var(--color-white);
  color: var(--color-clay-dark);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
}
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: 1rem; }
.contact-form-wrap {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 1.25rem; }
.form-row label { display: block; font-weight: 500; margin-bottom: 0.35rem; font-size: 0.9rem; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-sand);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-cream);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--color-accent);
  border-color: transparent;
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }
.alert { padding: 1rem; border-radius: 8px; margin-bottom: 1rem; }
.alert-success { background: #e8f5e9; color: #2e7d32; }
.alert-error { background: #ffebee; color: #c62828; }

/* Footer */
.site-footer {
  background: var(--color-ink);
  color: rgba(255, 252, 248, 0.85);
  padding: 4rem 0 0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.5fr repeat(2, 1fr);
  padding-bottom: 3rem;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 1rem;
  color: var(--color-white);
}
.footer-brand p { opacity: 0.8; max-width: 28ch; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links a, .footer-contact a, .instagram-link {
  color: rgba(255, 252, 248, 0.75);
  text-decoration: none;
}
.footer-links a:hover, .instagram-link:hover { color: var(--color-accent); }
.logo-footer .logo-text strong, .logo-footer .logo-text em { color: var(--color-white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--color-black);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(168, 155, 140, 0.2);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }
  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav ul { flex-direction: column; }
  .main-nav .btn-instagram { margin-top: 1rem; width: 100%; }
  .hero-home-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 280px; }
}

.error-page h1 { font-family: var(--font-display); font-size: 2.5rem; }
