/* =========================
   GLOBAL STYLES
========================= */
body {
  font-family: 'Quicksand', sans-serif;
  margin: 0;
  padding: 0;
  color: white;
  background-color: #007a3d;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: white;
}

/* =========================
   HEADER
========================= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #2c6e49;
  color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .logo h1 {
  margin: 0;
  font-family: 'Pacifico', cursive;
  font-size: 28px;
  color: #ffd700;
}

header nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

header nav ul li {
  margin-left: 25px;
}

header nav ul li a {
  color: white;
  font-size: 18px;
  display: flex;
  align-items: center;
  transition: color 0.3s;
}

header nav ul li a i {
  margin-right: 8px;
  font-size: 20px;
}

header nav ul li a:hover {
  color: #a2d149;
}

/* =========================
   HERO SECTION
========================= */
.hero-section {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 20px; /* less than before for smooth blend */
}

.hero-image-container {
  position: relative;
  max-width: 900px;
  width: 90%;
  border-radius: 25px; /* rounded corners */
  overflow: hidden;
  box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.85); /* slightly darker for better tagline contrast */
  transition: transform 0.5s ease;
}

.hero-image-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
  z-index: 1; /* overlay to blend tagline */
}

/* =========================
   TAGLINE SECTION
========================= */
.tagline-section {
  display: flex;
  justify-content: center;
  margin: -40px 0 30px 0; 
  z-index: 2;
}

.tagline {
  text-align: center;
  font-family: 'Pacifico', cursive;
  font-size: 2rem;
  font-weight: bold;
  color: transparent;
  background: linear-gradient(90deg, #009b3a, #fed100, #000000);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  padding: 0; 
  max-width: 800px;
  border-radius: 0; 
  box-shadow: none; 

  /* Animation */
  animation: jamaican-gradient 6s ease-in-out infinite, slideUpFadeIn 1.5s ease-out forwards;
  opacity: 0;
}


@keyframes slideUpFadeIn {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth gradient animation */
@keyframes jamaican-gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .tagline {
    font-size: 1.5rem;
    margin: -30px auto 20px auto;
  }
}

/* WELCOME SECTION BACKGROUND IMAGES */
.content {
  position: relative;
  overflow: hidden;
  padding: 60px 20px;
  max-width: 900px;
  margin: 40px auto;
  background-color: rgba(255, 255, 255, 0.85); /* slightly transparent so images are visible */
  border-radius: 15px;
  z-index: 1;
}

.background-image {
  position: absolute;
  border-radius: 50%;
  opacity: 0.45;            
  filter: blur(0px);         
  z-index: 0;                
  pointer-events: none;
  object-fit: cover;
  animation: floatBackground 6s ease-in-out infinite;
}

/* Positioning individual images */
.bg-img1 {
  top: 10%;
  left: 5%;
  width: 180px;
  height: 180px;
}

.bg-img2 {
  bottom: 10%;
  right: 10%;
  width: 200px;
  height: 200px;
}

.bg-img3 {
  top: 40%;
  right: 25%;
  width: 160px;
  height: 160px;
}

/* Subtle floating animation */
@keyframes floatBackground {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .background-image {
    width: 120px !important;
    height: 120px !important;
    opacity: 0.35;
    filter: blur(0px);
  }

  .bg-img2 { bottom: 5%; right: 5%; }
  .bg-img3 { top: 35%; right: 15%; }

  .content {
    padding: 40px 15px;
  }
}


.content {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
  padding: 60px 20px;
}

.welcome-box {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 15px;
  max-width: 900px;
  width: 90%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.welcome-box:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
}

.welcome-box h2 {
  color: #ffd700;
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
}

.welcome-box p {
  color: #fff;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: justify;
}

/* =========================
   MENU STYLES
========================= */
.menu-section {
  background-color: black;
  width: 90%;
  margin: 20px auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px #222;
}

.section-title {
  font-size: 2em;
  text-align: center;
  font-weight: bold;
  color: #ffd700;
  border-bottom: 2px solid #ffd700;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.category-title {
  position: relative;
  padding-left: 40px;
  font-size: 1.3em;
  color: #ffd700;
  text-decoration: underline;
  font-weight: bold;
  margin-bottom: 10px;
}

.item {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 1em;
  color: white;
}

.price {
  color: #ffd700;
}

.size-header {
  display: flex;
  justify-content: flex-end;
  font-weight: bold;
  margin-bottom: 5px;
  color: white;
}

.menu-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.menu-column {
  flex: 1;
  min-width: 200px;
  margin-right: 20px;
}

.red-bold {
  color: red;
  font-weight: bold;
  text-decoration: underline;
  text-align: center;
  margin-top: 10px;
}

.white-text {
  color: white;
  text-align: center;
}

/* =========================
   LUNCH SPECIAL CIRCLE
========================= */
.lunch-special {
  background-color: white;
  color: red;
  text-align: center;
  border-radius: 50%;
  width: 250px;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  font-weight: bold;
  box-shadow: 0 0 20px #ff0000;
  position: relative;
  animation: pulseRed 1.5s infinite;
}
/* Warning in red */
.warning {
  color: red;
  font-weight: bold;
  text-align: center;
  margin: 20px 0;
  font-size: 0.9em;
}

/* Contact styling */
.contact {
  text-align: center;
  margin: 15px 0 40px 0;
  font-size: 1.1em;
  font-weight: 500;
  color: #d6f744;
}

.contact a {
  color: #e75b8a; /* Orange-ish color for the phone numbers */
  text-decoration: none;
  font-weight: bold;
  margin: 0 5px;
}

.contact a:hover {
  text-decoration: underline;
  color: #ee0d0dcb;
}



@keyframes pulseRed {
  0% { box-shadow: 0 0 20px #ff0000; transform: scale(1);}
  50% { box-shadow: 0 0 40px #ff0000; transform: scale(1.05);}
  100% { box-shadow: 0 0 20px #ff0000; transform: scale(1);}
}

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  padding: 15px;
  background-color: #2c6e49;
  color: #fff;
  font-size: 0.9em;
}

/* =========================
   ICONS FOR CATEGORY TITLES
========================= */
.category-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-size: cover;
  background-position: center;
}

.breakfast::before, .porridge::before,
.sides::before, .lunch::before {
  background-image: url();
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
  header nav ul li {
    margin-left: 15px;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }
  header nav ul {
    flex-direction: column;
    margin-top: 10px;
  }
  header nav ul li {
    margin-left: 0;
    margin-bottom: 10px;
  }
  .menu-column {
    margin-right: 0;
    margin-bottom: 20px;
  }
  .tagline {
    left: 5%;
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .item {
    font-size: 0.95em;
  }
  .menu-section {
    padding: 15px;
  }
  .section-title {
    font-size: 1.7em;
  }
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeSlideUp {
  0% { opacity: 0; transform: translateY(40px);}
  100% { opacity: 1; transform: translateY(0);}
}

@keyframes fadeSlideLeft {
  0% { opacity: 0; transform: translateX(-40px);}
  100% { opacity: 1; transform: translateX(0);}
}

/* =========================
   CONTACT INFO ANIMATION
========================= */
.contact-container .container {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUpFadeIn 1.5s ease-out forwards;
  animation-delay: 0.3s;
}

/* Reuse existing slideUpFadeIn keyframes */
@keyframes slideUpFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   MAP HOVER EFFECT
========================= */
.map-image {
  transition: transform 0.3s, box-shadow 0.3s;
}

.map-image:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

/* =========================
   CONTACT HOURS STAGGERED ANIMATION
========================= */
.open-hours p {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUpFadeIn 1s ease-out forwards;
}

.open-hours p:nth-child(1) { animation-delay: 0.2s; }
.open-hours p:nth-child(2) { animation-delay: 0.4s; }
.open-hours p:nth-child(3) { animation-delay: 0.6s; }
.open-hours p:nth-child(4) { animation-delay: 0.8s; }

/* Reuse existing keyframes */
@keyframes slideUpFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.category-title {
  position: relative;
  padding-left: 40px;
  font-size: 1.3em;
  color: #ffd700;
  font-weight: bold;
  margin-bottom: 10px;
  /* Remove underline from the whole title */
  text-decoration: none;
}

/* Add underline only to the main text, not the small span */
.category-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: calc(100% - 0px);
  background-color: #ffd700;
}

/* Small text stays clean */
.category-title .small-text {
  text-decoration: none; /* no underline */
  font-size: 0.8rem;
  color: #cccccc;
  margin-left: 5px;
  font-weight: 400;
}


/* Make day labels smaller and neater */
.day-label {
  font-weight: bold;   /* keep them bold */
  font-size: 0.9em;   /* slightly smaller */
  margin-right: 5px;  /* spacing between day and item name */
  display: inline-block;
}

/* SMALL and LARGE styling */
.size-header span {
  text-transform: uppercase;   /* uppercase letters */
  font-weight: bold;           /* bold text */
  margin-right: 10px;          /* space between Small and Large */
  display: inline-block;
}

/* Move the entire header more to the right */
.size-header {
  text-align: right;           /* aligns Small | Large to the right */
  margin-bottom: 10px;         /* optional spacing below */
}



