/* =============================================
   GASTRO | Restaurant & Bar 24/7
   Main Stylesheet
   ============================================= */

/* ----- CSS Custom Properties ----- */
:root {
  --primary-color: #c0392b; /* Rich Red */
  --bg-dark: #121212;
  --bg-light: #1e1e1e;
  --text-main: #f5f5f5;
  --text-muted: #aaaaaa;
}

/* ----- Reset & Base ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ----- Navigation ----- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary-color);
}

.logo span {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1px;
  display: block;
  text-align: center;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* ----- Hero Section ----- */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background:
    linear-gradient(rgba(18, 18, 18, 0.7), rgba(18, 18, 18, 0.9)),
    url("https://images.unsplash.com/photo-1514933651103-005eec06c04b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1934&q=80")
      center/cover;
  padding: 0 20px;
}

.hero h1 {
  font-size: 5rem;
  margin-bottom: 20px;
  text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.6;
}

/* ----- Buttons ----- */
.btn-group {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-dark);
  box-shadow: 0 0 15px rgba(192, 57, 43, 0.4);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-color);
  box-shadow: 0 0 25px rgba(192, 57, 43, 0.7);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--bg-dark);
}
/* ----- About Section ----- */
.about {
  padding: 100px 5%;
  background-color: var(--bg-light);
}

.about-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.about-tagline {
  font-style: italic;
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  height: 420px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--primary-color);
}

/* ----- Promotions Carousel ----- */
.promos {
  padding: 80px 5%;
  background-color: var(--bg-dark);
  text-align: center;
}

.promos-heading {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.promos-subheading {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 50px;
}

.promo-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
}

.promo-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.promo-card {
  min-width: 100%;
  flex-shrink: 0;
  background: var(--bg-light);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.promo-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.promo-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--primary-color);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 20px;
  z-index: 5;
}

.promo-info {
  padding: 30px;
  text-align: left;
}

.promo-info h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.promo-info p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 15px;
}

.promo-validity {
  display: block;
  font-size: 0.8rem;
  color: var(--primary-color);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.btn-sm {
  padding: 10px 28px;
  font-size: 13px;
}

/* Promo Arrows */
.promo-btn {
  position: absolute;
  top: 160px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-btn:hover {
  background: var(--primary-color);
  transform: scale(1.1);
}

.promo-btn-prev {
  left: 15px;
}

.promo-btn-next {
  right: 15px;
}

/* Promo Dots */
.promo-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 25px 0 5px;
}

.promo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #555;
  border: none;
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.promo-dot:hover {
  background: #888;
}

.promo-dot.active {
  background: var(--primary-color);
  transform: scale(1.3);
}

/* ----- Reservation Section ----- */
.reservation {
  padding: 100px 5%;
  background-color: var(--bg-light);
  text-align: center;
}

.reservation h2 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.res-form {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.res-form input,
.res-form select {
  width: 100%;
  padding: 15px;
  background: var(--bg-dark);
  border: 1px solid #333;
  color: #fff;
  border-radius: 5px;
  font-family: "Montserrat", sans-serif;
}

.res-form input:focus,
.res-form select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.res-form button {
  grid-column: span 2;
  margin-top: 10px;
}

/* ----- Floating Action Buttons (WhatsApp & Directions) ----- */
.fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  text-decoration: none;
}

.fab:hover {
  transform: scale(1.1);
}

.fab-whatsapp {
  background-color: #25d366;
}

.fab-map {
  background-color: #4285f4;
}

/* ----- Map Section ----- */
.map-section {
  padding: 0;
  line-height: 0;
}

.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ----- Footer ----- */
footer {
  text-align: center;
  padding: 40px 20px;
  background-color: #0a0a0a;
  color: var(--text-muted);
  font-size: 14px;
}

/* ----- Image Slider ----- */
.slider-section {
  padding: 80px 5%;
  background-color: var(--bg-dark);
  text-align: center;
}

.slider-heading {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.slider-subheading {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 50px;
}

.slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.slide {
  min-width: 100%;
  position: relative;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 30px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: #fff;
  text-align: left;
}

/* Arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.slider-btn-prev {
  left: 15px;
}

.slider-btn-next {
  right: 15px;
}

/* Dot Indicators */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px 0 5px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #555;
  border: none;
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.slider-dot:hover {
  background: #888;
}

.slider-dot.active {
  background: var(--primary-color);
  transform: scale(1.3);
}

/* ----- Responsive Design ----- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .nav-links {
    display: none;
    /* In a full build, add a hamburger menu here */
  }

  .btn-group {
    flex-direction: column;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about-text h2 {
    font-size: 2.2rem;
  }

  .about-stats {
    justify-content: center;
  }

  .about-image img {
    height: 300px;
  }

  .res-form {
    grid-template-columns: 1fr;
  }

  .res-form button {
    grid-column: span 1;
  }

  .slide img {
    height: 280px;
  }

  .slider-heading {
    font-size: 2rem;
  }

  .slide-caption {
    font-size: 1.2rem;
    padding: 15px 20px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .promos-heading {
    font-size: 2rem;
  }

  .promo-card img {
    height: 220px;
  }

  .promo-btn {
    top: 110px;
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .promo-info h3 {
    font-size: 1.3rem;
  }
}
