/* ============================================
   SPUDS 'R' US - Main Stylesheet
   Mobile-First Responsive Design
   ============================================ */

/* CSS Custom Properties */
:root {
  --color-gold: #E3B505;
  --color-caramel: #A67C52;
  --color-dark-brown: #6B4F2F;
  --color-text: #3A2310;
  --color-cream: #FFF7E6;
  --color-white: #FFFFFF;
  --color-accent-red: #C41E3A;
  --gradient-hero: linear-gradient(45deg, #E3B505, #A67C52, #6B4F2F, #E3B505);

  --font-heading: 'Lilita One', cursive;
  --font-body: 'Poppins', sans-serif;

  --shadow-sm: 0 2px 4px rgba(58, 35, 16, 0.1);
  --shadow-md: 0 4px 12px rgba(58, 35, 16, 0.15);
  --shadow-lg: 0 8px 24px rgba(58, 35, 16, 0.2);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 50px;

  --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-cream);
}

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

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

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--color-dark-brown);
}

h1 { font-size: clamp(2rem, 8vw, 4rem); }
h2 { font-size: clamp(1.75rem, 5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  text-align: center;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}

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

.btn-secondary {
  background: var(--color-accent-red);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #a81830;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-dark-brown);
  border: 2px solid var(--color-dark-brown);
}

.btn-outline:hover {
  background: var(--color-dark-brown);
  color: var(--color-white);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-cream);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

@media (min-width: 768px) {
  .logo img {
    height: 60px;
  }
}

/* Navigation */
.nav {
  display: none;
}

.nav.active {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-cream);
  box-shadow: var(--shadow-md);
  padding: 1rem;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--color-dark-brown);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  background: var(--color-gold);
  color: var(--color-text);
}

.nav-cta {
  display: none;
}

/* Hamburger Menu */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-dark-brown);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Desktop Navigation */
@media (min-width: 992px) {
  .nav {
    display: flex;
    align-items: center;
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
    gap: 0.25rem;
  }

  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }

  .nav-cta {
    display: inline-block;
    margin-left: 1rem;
  }

  .hamburger {
    display: none;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding: 3rem 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  right: -50%;
  bottom: 0;
  background: var(--gradient-hero);
  transform: skewY(-3deg);
  z-index: -1;
}

.hero-content {
  text-align: center;
  padding: 2rem 0;
}

.hero-title {
  font-size: clamp(2.5rem, 10vw, 5rem);
  color: var(--color-white);
  text-shadow: 2px 2px 4px rgba(58, 35, 16, 0.3);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--color-white);
  max-width: 600px;
  margin: 0 auto 2rem;
}

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

@media (min-width: 768px) {
  .hero {
    padding: 5rem 0;
  }

  .hero-content {
    padding: 3rem 0;
  }
}


/* ============================================
   SECTIONS
   ============================================ */
section {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  section {
    padding: 5rem 0;
  }
}

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

.section-title h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--color-gold);
  border-radius: 2px;
}

.section-title p {
  color: var(--color-caramel);
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* ============================================
   CARDS
   ============================================ */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card-grid.four-col {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .card-grid.four-col {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-caramel);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-caramel), var(--color-dark-brown));
  color: var(--color-white);
  font-size: 3rem;
}

.card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card {
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-dark-brown);
}

.card-description {
  font-size: 0.9rem;
  color: var(--color-caramel);
  margin-bottom: 0.75rem;
}

.card-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-gold);
  margin-top: auto;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
  background: var(--color-white);
}

.feature-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: transparent;
  border: 3px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.feature-item h3 {
  margin-bottom: 0.75rem;
}

.feature-item p {
  color: var(--color-caramel);
  font-size: 0.95rem;
}



/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
  padding: 4rem 0;
  background: var(--gradient-hero);
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--color-cream);
  clip-path: ellipse(60% 100% at 50% 0%);
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* ============================================
   MENU PAGE
   ============================================ */
.menu-note {
  background: var(--color-gold);
  padding: 1rem;
  text-align: center;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.menu-section {
  margin-bottom: 3rem;
}

.drinks-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .drinks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .drinks-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.drink-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.drink-name {
  font-weight: 600;
}

.drink-price {
  font-family: var(--font-heading);
  color: var(--color-gold);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  position: relative;
  min-height: 300px;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-dark-brown);
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.about-hero h1 {
  position: relative;
  z-index: 1;
  color: var(--color-white);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.values-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.value-item .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.value-item h3 {
  margin-bottom: 0.5rem;
}

/* ============================================
   VISIT US PAGE
   ============================================ */
.location-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .location-grid {
    grid-template-columns: 1fr 1fr;
  }
}


.info-box {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.info-box h3 {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-box p {
  margin-bottom: 0.5rem;
}

.info-box .icon {
  font-size: 1.5rem;
}

.map-placeholder {
  background: var(--color-caramel);
  border-radius: var(--radius-md);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-align: center;
  padding: 2rem;
}

.order-callout {
  background: var(--color-gold);
  padding: 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  margin-top: 2rem;
}

.order-callout h3 {
  margin-bottom: 0.5rem;
}

.order-callout .phone {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-dark-brown);
}

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 576px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-caramel);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-caramel), var(--color-dark-brown));
  color: var(--color-white);
  font-size: 2rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

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

.contact-item .icon {
  font-size: 1.5rem;
  color: var(--color-gold);
}

.contact-item h4 {
  margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
  color: var(--color-caramel);
}

.contact-item a:hover {
  color: var(--color-gold);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-gold);
  border-radius: 50%;
  color: var(--color-text);
  font-size: 1.25rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--color-dark-brown);
  color: var(--color-white);
}


/* Contact Form */
.contact-form {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-form h2 {
  margin-bottom: 1.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid #E5D5C3;
  border-radius: var(--radius-sm);
  background: var(--color-cream);
  color: var(--color-text);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: var(--color-white);
}

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

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--color-accent-red);
}

.form-note {
  background: var(--color-cream);
  border: 1px dashed var(--color-caramel);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-caramel);
}

/* ============================================
   CATERING PAGE
   ============================================ */
.catering-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.catering-intro p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.catering-services {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin: 3rem 0;
}

@media (min-width: 768px) {
  .catering-services {
    grid-template-columns: repeat(3, 1fr);
  }
}

.catering-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.catering-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.catering-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.catering-card h3 {
  margin-bottom: 0.75rem;
}

.catering-card p {
  color: var(--color-caramel);
  font-size: 0.95rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-dark-brown);
  color: var(--color-cream);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand .logo img {
  height: 50px;
}

.footer-brand p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.footer h4 {
  color: var(--color-gold);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links a {
  display: block;
  padding: 0.25rem 0;
  color: var(--color-cream);
  opacity: 0.9;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,247,230,0.2);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.8;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}


/* ============================================
   PAGE HEADERS
   ============================================ */
.page-header {
  background: var(--gradient-hero);
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--color-cream);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.page-header h1 {
  color: var(--color-white);
  text-shadow: 2px 2px 4px rgba(58, 35, 16, 0.3);
}

.page-header p {
  color: var(--color-white);
  margin-top: 0.5rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}



/* Decorative blob shapes */
.blob-decoration {
  position: absolute;
  border-radius: 50%;
  background: var(--color-gold);
  opacity: 0.1;
  z-index: -1;
}

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

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}