/**
 * Asvita — statik index.html ile aynı görünüm (mor zemin, pembe primary)
 */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: hsl(270 15% 8%);
  --fg: hsl(240 10% 90%);
  --card: hsl(270 12% 12%);
  --primary: hsl(340 65% 55%);
  --primary-fg: #fff;
  --muted: hsl(270 10% 18%);
  --muted-fg: hsl(240 8% 50%);
  --border: hsl(270 10% 20%);
  --radius: 0.75rem;
  --nav-h: 4.5rem;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* BG shapes */
.bg-shape {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.bg-shape--left {
  top: -100px;
  left: -150px;
  background: var(--primary);
}

.bg-shape--right {
  top: -50px;
  right: -150px;
  background: hsl(280 40% 45%);
}

/* Animations */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.reveal {
  animation: reveal-up 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reveal-delay-1 {
  animation-delay: 80ms;
}

.reveal-delay-2 {
  animation-delay: 160ms;
}

.reveal-delay-3 {
  animation-delay: 240ms;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  min-height: var(--nav-h);
  background: hsla(270, 15%, 8%, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsla(270, 10%, 20%, 0.5);
}

.navbar__brand {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.navbar__brand span {
  color: var(--primary);
}

.btn {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--primary-fg);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px hsla(340, 65%, 55%, 0.25);
  transition: box-shadow 0.2s, transform 0.15s;
  text-align: center;
}

.btn:hover {
  box-shadow: 0 6px 20px hsla(340, 65%, 55%, 0.35);
}

.btn:active {
  transform: scale(0.97);
}

.btn--lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  border-radius: 0.75rem;
}

.btn--full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Card */
.card {
  max-width: 56rem;
  margin: 0 auto;
  border-radius: 1rem;
  background: hsla(270, 12%, 12%, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid hsla(270, 10%, 20%, 0.4);
  padding: 2rem 2rem;
}

@media (min-width: 768px) {
  .card {
    padding: 3rem;
  }
}

.card--narrow {
  max-width: 42rem;
}

/* Hero */
.hero {
  padding: 7rem 1rem 3rem;
}

.hero__badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 9999px;
  background: hsla(340, 65%, 55%, 0.15);
  color: var(--primary);
  border: 1px solid hsla(340, 65%, 55%, 0.2);
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  color: var(--muted-fg);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 36rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
}

.hero__tags li {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 9999px;
  background: var(--muted);
  border: 1px solid hsla(270, 10%, 20%, 0.6);
  color: var(--muted-fg);
}

/* Gallery */
.gallery {
  padding: 0 1rem 3rem;
}

.gallery__grid {
  max-width: 56rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid hsla(270, 10%, 20%, 0.4);
  background: var(--card);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s;
}

.gallery__item:hover {
  transform: scale(1.02);
}

.gallery__item:active {
  transform: scale(0.98);
}

.gallery__item img {
  width: 100%;
  display: block;
  object-fit: contain;
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__overlay span {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-fg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Intro */
.intro {
  padding: 0 1rem 3rem;
}

.intro .card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .intro .card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.intro h2 {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.intro p {
  color: var(--muted-fg);
  max-width: 28rem;
}

.intro__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.intro__cta small {
  font-size: 0.75rem;
  color: var(--muted-fg);
}

/* Order */
.order {
  padding: 0 1rem 3rem;
}

.order .card--narrow {
  max-width: 42rem;
}

.order h2 {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.order > .card > p,
.order .order__lead {
  color: var(--muted-fg);
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsla(240, 10%, 90%, 0.8);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--muted);
  border: 1px solid hsla(270, 10%, 20%, 0.6);
  color: var(--fg);
  font-size: 0.9375rem;
  font-family: inherit;
  outline: none;
  transition: box-shadow 0.2s;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-fg);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  box-shadow: 0 0 0 2px hsla(340, 65%, 55%, 0.4);
}

.form-textarea {
  resize: none;
}

.form-select option {
  background: var(--card);
  color: var(--fg);
}

.fieldset {
  border-radius: 0.75rem;
  background: hsla(270, 10%, 18%, 0.5);
  border: 1px solid hsla(270, 10%, 20%, 0.4);
  padding: 1rem;
  margin-top: 0.25rem;
}

.fieldset legend {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsla(240, 10%, 90%, 0.8);
  padding: 0 0.5rem;
}

.fieldset p {
  color: hsla(240, 10%, 90%, 0.7);
  font-size: 0.875rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  margin-top: 0.25rem;
}

.checkbox-label input {
  margin-top: 0.25rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary);
  border-radius: 4px;
}

.checkbox-label span {
  font-size: 0.875rem;
  color: hsla(240, 10%, 90%, 0.7);
}

.form-space {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* FAQ */
.faq {
  padding: 0 1rem 3rem;
}

.faq h2 {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq details {
  border-radius: 0.75rem;
  background: hsla(270, 10%, 18%, 0.5);
  border: 1px solid hsla(270, 10%, 20%, 0.4);
  overflow: hidden;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--fg);
  user-select: none;
  transition: background 0.2s;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  background: hsla(270, 10%, 18%, 0.8);
}

.faq summary .icon {
  color: var(--muted-fg);
  font-size: 1.125rem;
  transition: transform 0.2s;
}

.faq details[open] summary .icon {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 1.25rem 1rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.6;
}

/* Footer CTA */
.footer-cta {
  padding: 1rem 1rem 4rem;
  text-align: center;
}

.site-footer {
  position: relative;
  z-index: 10;
  padding: 1.5rem 1rem 2rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted-fg);
  border-top: 1px solid hsla(270, 10%, 20%, 0.4);
}

/* Sipariş hata çubuğu */
.flash-bar {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 60;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  background: hsla(340, 65%, 55%, 0.18);
  color: var(--primary);
  border-bottom: 1px solid hsla(340, 65%, 55%, 0.3);
}

/* Teşekkür */
.thanks-page {
  position: relative;
  z-index: 10;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 6rem 1rem 3rem;
}

.thanks-page .card {
  text-align: center;
  max-width: 28rem;
}

.thanks-page .thanks-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  background: hsla(142, 70%, 40%, 0.25);
  color: hsl(142, 70%, 55%);
}

.thanks-page h1 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.thanks-page p {
  margin-bottom: 1.5rem;
  color: var(--muted-fg);
  font-size: 0.9375rem;
}

.thanks-page .order-mail-warn {
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid hsla(40, 70%, 50%, 0.35);
  background: hsla(40, 60%, 50%, 0.12);
  color: hsl(40 45% 78%);
  font-size: 0.875rem;
}

/* WhatsApp */
.wa-fab {
  position: fixed;
  right: 1rem;
  bottom: 1.5rem;
  z-index: 40;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.wa-fab svg {
  display: block;
}

.page-main {
  position: relative;
  z-index: 10;
  min-height: 100vh;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3 {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
}
