/* ================================
   DRS Sweets & Restaurant - Main Styles
   Clean, Modern, Minimal Design
   ================================ */

/* ========== CSS RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========== ROOT VARIABLES ========== */
:root {
  --primary-maroon: #8B0000;
  --accent-gold: #D4AF37;
  --bg-white: #FFFFFF;
  --text-dark: #333333;
  --text-light: #666666;
  --border-light: #E5E5E5;
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
}

/* ========== GOOGLE FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ========== BASE STYLES ========== */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--primary-maroon);
  line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: var(--bg-white);
  box-shadow: var(--shadow-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-maroon);
}

.logo span {
  color: var(--accent-gold);
  font-size: 0.8rem;
  display: block;
  font-weight: 400;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-maroon);
  transition: var(--transition);
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-maroon) 0%, #5a0000 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 2rem;
  max-width: 800px;
}

.hero h1 {
  color: white;
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

.hero .subtitle {
  font-size: 1.5rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
  animation: fadeInUp 1.2s ease;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  animation: fadeInUp 1.4s ease;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  background: var(--accent-gold);
  color: var(--text-dark);
}

.btn-primary:hover {
  background: #c5a028;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary-maroon);
  transform: translateY(-2px);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.6s ease;
}

/* ========== CONTAINER & SECTIONS ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-title .underline {
  width: 80px;
  height: 3px;
  background: var(--accent-gold);
  margin: 1rem auto;
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ========== FEATURED ITEMS (HOME) ========== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.featured-item {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.featured-item:nth-child(1) { animation-delay: 0.1s; }
.featured-item:nth-child(2) { animation-delay: 0.2s; }
.featured-item:nth-child(3) { animation-delay: 0.3s; }
.featured-item:nth-child(4) { animation-delay: 0.4s; }

.featured-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.featured-item img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

.featured-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.featured-item .price {
  font-size: 1.3rem;
  color: var(--accent-gold);
  font-weight: 600;
}

/* ========== ABOUT SECTION ========== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.about-text h3 {
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-subtle);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-item {
  text-align: center;
  padding: 2rem;
  border-radius: 8px;
  transition: var(--transition);
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-subtle);
}

.value-item i {
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.value-item h4 {
  margin-bottom: 1rem;
}

/* ========== MENU ITEMS ========== */
.menu-categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.category-btn {
  padding: 0.7rem 1.5rem;
  background: white;
  color: var(--text-dark);
  border: 2px solid var(--border-light);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
  background: var(--primary-maroon);
  color: white;
  border-color: var(--primary-maroon);
}

.menu-grid {
  display: grid;
  gap: 2rem;
}

.menu-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.menu-item.show {
  opacity: 1;
  transform: translateY(0);
}

.menu-item-image {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  object-fit: cover;
  transition: var(--transition);
}

.menu-item-image:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

.menu-item-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.menu-item-content .description {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.menu-item-content .price {
  font-size: 1.5rem;
  color: var(--accent-gold);
  font-weight: 700;
}

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-card {
  padding: 2.5rem 2rem;
  text-align: center;
  border-radius: 12px;
  transition: var(--transition);
  background: white;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-card i {
  font-size: 3.5rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-card p {
  color: var(--text-light);
}

/* ========== CONTACT FORM ========== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-subtle);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info {
  background: linear-gradient(135deg, var(--primary-maroon) 0%, #5a0000 100%);
  padding: 3rem 2rem;
  border-radius: 12px;
  color: white;
}

.contact-info h3 {
  color: white;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  gap: 1rem;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--accent-gold);
  margin-top: 0.2rem;
}

.info-item div h4 {
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.info-item div p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.business-hours {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.business-hours h4 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.business-hours p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

/* ========== FOOTER ========== */
footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 0 1.5rem;
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  display: block;
}

.footer-section a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* ========== WHATSAPP FLOAT BUTTON ========== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  /* Typography */
  h1 { font-size: 2.5rem !important; }
  h2 { font-size: 2rem !important; }
  h3 { font-size: 1.5rem !important; }

  /* Navigation */
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 70%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    align-items: flex-start;
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    height: 60vh;
    min-height: 400px;
  }

  .hero h1 {
    font-size: 2.5rem !important;
  }

  .hero .subtitle {
    font-size: 1.2rem !important;
  }

  /* Buttons */
  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  /* Grid Layouts */
  .about-content,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .menu-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .menu-item-image {
    width: 100%;
    height: 220px;
  }

  /* Sections */
  section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  /* WhatsApp Button */
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem !important;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .menu-categories {
    flex-direction: column;
    align-items: stretch;
  }

  .category-btn {
    width: 100%;
  }
}
