/* Font Face Declarations */
@font-face {
  font-family: "Chunk Five Print";
  src: url("fonts/chunk-five-print.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("fonts/poppins-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("fonts/poppins-medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Now";
  src: url("fonts/helvetica-now-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Arial Nova";
  src: url("fonts/arial-nova.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Bohemian Artisanal Color Palette */
  --color-amber: #d4a574; /* Warm amber glow */
  --color-amber-dark: #b8945f; /* Deeper amber */
  --color-amber-light: #e6c896; /* Light amber */
  --color-wood: #8b4513; /* Rich wood brown */
  --color-wood-dark: #654321; /* Dark wood */
  --color-wood-light: #a0522d; /* Light wood */
  --color-metal: #2c2c2c; /* Dark metal */
  --color-metal-light: #404040; /* Lighter metal */
  --color-charcoal: #1a1a1a; /* Deep charcoal */
  --color-cream: #f5f1e8; /* Warm cream */
  --color-cream-dark: #e8e0d1; /* Slightly darker cream */
  --color-gold: #d4af37; /* Metallic gold accent */
  --color-copper: #b87333; /* Copper accent */
  --color-burgundy: #722f37; /* Deep burgundy accent */

  /* Legacy color mappings for compatibility */
  --color-white: var(--color-cream);
  --color-yellow: var(--color-amber);
  --color-brown: var(--color-wood);
  --color-brown-dark: var(--color-wood-dark);
  --color-wine: var(--color-burgundy);
  --color-main: var(--color-gold);
  --color-filter: rgba(26, 26, 26, 0.5);
  --color-filter-dark: rgba(26, 26, 26, 0.7);
  --color-smoky-black: var(--color-charcoal);

  /* Typography */
  --font-pricing: "Chunk Five Print", sans-serif;
  --font-bold-medium: "Poppins", serif;
  --font-titles: "Helvetica Now", sans-serif;
  --font-small-text: "Arial Nova", sans-serif;
}

* {
  font-family: var(--font-family-sans-serif);
}

body {
  background-color: var(--color-charcoal);
}

.hero-section {
  background: linear-gradient(
    135deg,
    var(--color-charcoal) 0%,
    var(--color-metal) 30%,
    var(--color-wood-dark) 70%,
    var(--color-charcoal) 100%
  );
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
}

.text-description {
  color: var(--color-cream);
  font-size: 1.25rem;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(212, 175, 116, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.navbar-brand {
  font-family: var(--font-titles);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--color-wood-dark) !important;
}

.navbar {
  background-color: var(--color-cream) !important;
  border-bottom: 3px solid var(--color-amber);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link {
  color: var(--color-wood-dark) !important;
  font-weight: 500;
  font-family: var(--font-small-text);
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--color-amber-dark) !important;
}

.process-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background-color: var(--color-cream);
  border-top: 4px solid var(--color-amber);
  border-radius: 12px;
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(139, 69, 19, 0.3);
}

.contact-section {
  background-color: var(--color-cream);
}

.promotions {
  background: linear-gradient(
    135deg,
    var(--color-charcoal) 0%,
    var(--color-metal) 30%,
    var(--color-wood-dark) 70%,
    var(--color-charcoal) 100%
  );
  position: relative;
}

.promotions::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(212, 175, 116, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Menu Section Styles */
.menu-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid var(--color-amber);
  border-radius: 15px;
  background-color: var(--color-cream);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(139, 69, 19, 0.3);
}

.menu-card .card-title {
  color: var(--color-wood-dark) !important;
  font-family: var(--font-bold-medium);
  font-weight: 600;
}

.menu-card .btn-primary {
  background-color: var(--color-wood);
  border-color: var(--color-wood);
  font-weight: 600;
  font-family: var(--font-small-text);
  transition: all 0.3s ease;
}

.menu-card .btn-primary:hover {
  background-color: var(--color-amber-dark);
  border-color: var(--color-amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.4);
}

.footer {
  background: linear-gradient(
    180deg,
    var(--color-charcoal) 0%,
    var(--color-metal) 100%
  );
  color: var(--color-cream);
}

.btn-primary {
  background-color: var(--color-wood);
  border-color: var(--color-wood);
  font-weight: 600;
  font-family: var(--font-small-text);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--color-amber-dark);
  border-color: var(--color-amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.4);
}

.btn-outline-light:hover {
  background-color: var(--color-wood);
  border-color: var(--color-wood);
  color: var(--color-cream);
}

.text-primary {
  color: var(--color-wood-dark) !important;
}

.bg-primary {
  background-color: var(--color-wood) !important;
}

.card {
  border: 2px solid var(--color-amber);
  border-radius: 15px;
  background-color: var(--color-cream);
}

.form-control:focus {
  border-color: var(--color-amber);
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 116, 0.25);
}

.input-group .btn-primary {
  background-color: var(--color-amber-dark);
  border-color: var(--color-amber-dark);
}

.input-group .btn-primary:hover {
  background-color: var(--color-wood);
  border-color: var(--color-wood);
}

.footer a:hover {
  color: var(--color-amber) !important;
}

.hero-section h1 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.process-card .bg-primary {
  background-color: var(--color-wood) !important;
}

.contact-section .bg-primary {
  background-color: var(--color-wood) !important;
}

/* Pizza Carousel Styles */
.pizza-carousel {
  margin: 0 auto;
  max-width: 1200px;
}

.pizza-carousel .slick-slide {
  padding: 0 15px;
}

.pizza-slide {
  position: relative;
  text-align: center;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.pizza-slide:hover {
  transform: translateY(-5px);
}

.pizza-slide img {
  height: 300px;
  width: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.pizza-slide:hover img {
  transform: scale(1.05);
}

.pizza-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    135deg,
    var(--color-wood) 0%,
    var(--color-amber-dark) 100%
  );
  color: var(--color-cream);
  padding: 15px;
  border-radius: 0 0 15px 15px;
  opacity: 0.95;
}

.pizza-caption h5 {
  color: var(--color-cream);
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 1.1rem;
  font-family: var(--font-bold-medium);
}

.pizza-caption p {
  color: var(--color-amber-light);
  margin-bottom: 0;
  font-size: 0.9rem;
  font-family: var(--font-small-text);
}

/* Slick Carousel Custom Styles */
.slick-dots {
  bottom: -50px;
}

.slick-dots li button:before {
  color: var(--color-wood);
  font-size: 12px;
}

.slick-dots li.slick-active button:before {
  color: var(--color-amber);
}

.slick-prev,
.slick-next {
  z-index: 1;
  width: 50px;
  height: 50px;
  background: var(--color-wood);
  border-radius: 50%;
  border: none;
  color: var(--color-cream);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.slick-prev:hover,
.slick-next:hover {
  background: var(--color-amber-dark);
  transform: scale(1.1);
}

.slick-prev {
  left: -60px;
}

.slick-next {
  right: -60px;
}

.slick-prev:before,
.slick-next:before {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pizza-slide img {
    height: 250px;
  }

  .pizza-caption {
    padding: 10px;
  }

  .pizza-caption h5 {
    font-size: 1rem;
  }

  .pizza-caption p {
    font-size: 0.8rem;
  }

  .slick-prev {
    left: -40px;
  }

  .slick-next {
    right: -40px;
  }
}

/* Fallback Grid Layout */
.pizza-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.pizza-grid > div {
  display: contents;
}

@media (max-width: 768px) {
  .pizza-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* Logo styling */
.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

.footer img {
  filter: brightness(0) invert(1); /* Makes the logo white for dark footer */
}
