/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background: url("images/CBR_Beach.avif") no-repeat center center fixed;
  background-size: cover;
  color: #000;
}

/* Hero section */
.hero {
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.hero-box {
  background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent white */
  border: 2px solid rgba(0, 0, 0, 0.3); /* Soft black stroke */
  border-radius: 12px;
  padding: 40px;
  max-width: 700px;
  width: 90%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.hero-logo {
  max-width: 600px;
  width: 90%;
}

.hero-text {
  margin-top: 20px;
  font-size: 28px;
  font-weight: 600;
  color: #000;
  text-shadow: 0 2px 4px rgba(68, 66, 66, 0.3);
}
.headerRES{
  margin-top: 20px;
  font-size: 28px;
  font-weight: 600;
  color: #fffcfc;
  text-shadow: 0 2px 4px rgba(21, 21, 21, 0.3);
}


/* Restaurant list */
.restaurant-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin: 40px auto;
  padding: 0 20px 60px;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.restaurant-box {
  width: 100%;
  background-color: rgba(64, 179, 197, 0.84);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  padding: 20px 30px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.restaurant-box:hover {
  background-color: rgba(64, 179, 197, 1);
  transform: scale(1.02);
}

.festive-box {
 width: 100%;
  display: block; /* Ensures padding and width behave correctly */
  
  /* 1. Golden Metallic Gradient Base */
  background: #d4af37; /* Fallback color */
  background: linear-gradient(
    135deg, 
    #b8860b 0%, 
    #f9e27d 45%, 
    #d4af37 55%, 
    #b8860b 100%
  );
  background-size: 200% auto; /* For the shine animation */
  
  /* 2. Text Styling */
  color: #3e2b00; /* Dark bronze text for better legibility on gold */
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  
  /* 3. Shape & Shadow */
  border-radius: 8px;
  padding: 20px 30px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4), 
              inset 0 0 10px rgba(255, 255, 255, 0.2);
  
  /* 4. The Sparkle Animation */
  transition: all 0.4s ease;
  animation: gold-shimmer 10s infinite linear;
  cursor: pointer;
}

.festive-box:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(184, 134, 11, 0.6);
  filter: brightness(1.1);
}

/* The Animation Logic */
@keyframes gold-shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
