/* ==========================================
   La Mora Pizza - Main Stylesheet
   Author: TUDO'S FAMILY LTD
   Description: Global styles + Hero Video
   ========================================== */

/* ? Renk De?i?kenleri */
:root {
  --color-primary: #4B0A2B;      /* Bö?ürtlen */
  --color-primary-light: #7A335C;/* Aç?k bö?ürtlen */
  --color-accent: #D4A017;       /* Alt?n */
  --color-secondary: #006E3D;    /* ?talyan ye?ili */
  --color-bg: #FFF9F3;           /* Krem zemin */
  --color-text: #222222;         /* Koyu gri metin */
  --color-danger: #C0392B;       /* Pizza k?rm?z?s? */
}

/* ? Genel S?f?rlama ve Temel Ayarlar */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
  font-style: italic;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ? Ba?l?klar (bold + italic) */
h1, h2, h3, h4, h5, h6 {
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 0.5em;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }

/* ? Linkler */
a {
  color: var(--color-primary);
  font-style: italic;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--color-accent);
}

/* ? Butonlar */
button, .btn {
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 600;
  background-color: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
button:hover, .btn:hover {
  background-color: var(--color-primary);
}

/* ? Yard?mc? S?n?flar */
.not-italic { font-style: normal !important; }
.bold-not-italic { font-style: normal !important; font-weight: 700 !important; }

small, .muted {
  font-style: italic;
  font-size: 0.9rem;
  color: #444;
}

/* ?? Responsive ayarlar? */
@media (max-width: 768px) {
  html, body { font-size: 15px; }
  h1 { font-size: 2rem; }
}

/* ==========================================
   Logo Styles (Header & Footer ortak)
   ========================================== */

.logo-svg {
  width: 160px;
  height: auto;
  max-height: 90px;
  transition: all 0.3s ease;
}

/* Scroll sonras? header logosu biraz küçülsün */
.header.scrolled .logo-svg {
  width: 130px;
  max-height: 70px;
  transform: scale(0.98);
}

/* Footer logosu daha büyük görünsün */
.footer .logo-svg {
  width: 180px;
  max-height: 110px;
}

/* ? Mobilde logoyu küçült */
@media (max-width: 768px) {
  .logo-svg {
    width: 130px;
    max-height: 80px;
  }

  .header.scrolled .logo-svg {
    width: 110px;
    max-height: 65px;
  }

  .footer .logo-svg {
    width: 150px;
    max-height: 90px;
  }
}

/* ==========================================
   HERO ALANI (Video Destekli)
   ========================================== */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

/* ? Video arka plan */
.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

/* ? Overlay (metin okunabilirli?i için) */
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

/* ?? Hero içerik */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: #f1f1f1;
  margin-bottom: 1.5rem;
}

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

.hero-buttons .btn {
  background-color: var(--color-accent);
  color: #fff;
  border-radius: 8px;
  font-size: 1.1rem;
  padding: 0.8rem 1.6rem;
}

.hero-buttons .btn:hover {
  background-color: var(--color-primary);
}

/* ? Mobil düzen */
@media (max-width: 768px) {
  .hero {
    height: 80vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  /* Videoyu gizle, görsel fallback göster */
  .hero-bg {
    display: none;
  }

  .hero {
    background: url("/img/hero-pizza.jpg") center center / cover no-repeat;
  }
}
