html, body {
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
  width: 100vw;
}

.container-fluid {
  padding: 50px;
  background-color: #04276c;
}
.davens-header {
  color: #efc858;
  font-size: 45px;
  margin-bottom: 0;
  font-family: "Montserrat", sans-serif;
}
.davens-logo {
  transform: rotate(15deg);
}
@media (max-width: 768px) {
  .container-fluid {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .davens-header {
    font-size: 28px;
  }
  .davens-logo {
    width: 50px !important;
    height: 40px !important;
    left: 118px !important;
    top: -10px !important;
  }
  nav.navbar {
    width: 100%;
    margin-top: 10px;
  }
}

.nav-link:hover {
  color: #efc858;
}

.home-stick {
  padding: 10px;
  background-color: #282525;
}

.catchy-intro {
  font-size: 40px;
  font-weight: 900;
  text-shadow: 2px 2px 4px #efc858;
  color: #282525;
  padding: 80px 20px; /* smaller padding para di siksik sa phone */
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.6),
      rgba(255, 255, 255, 0.6)
    ),
    url("../assets/image/crop_davens_ambiance_1.jpg");
  background-size: cover;
  background-position: center;
}

.responsive-text {
  font-size: clamp(20px, 5vw, 50px); /* min 20, fluid 5vw, max 50 */
}

@media (max-width: 768px) {
  .catchy-intro {
    font-size: 28px;
    padding: 50px 15px;
  }
}

/* Menu Section - Make it sit lower */
.menu-part {
  background-color: #efc858;
  font-size: 20px;
  color: #282525;
  padding: 20px 10px;
  margin-top: -30px; /* Pull it up to make it sit lower relative to previous section */
}

.text-shadow-angled {
  text-shadow: 2px 2px 0 #a17e15;
}

.what-popular {
  font-size: clamp(1rem, 2vw, 3rem);
  text-shadow: 2px 2px 0 #c19a27;
  margin-top: -20px;
  margin-left: 10px;
  font-weight: 700;
}

.menu-text {
  font-size: clamp(2rem, 8vw, 6rem);
  font-weight: 800;
}

.menu-button {
  border-color: #ffffff;
  color: #ffffff;
  font-size: clamp(1rem, 3vw, 1.5rem);
  margin-top: 5px;
  transition: all 0.3s ease;
}

.menu-button.active {
  background-color: #04276c;
  color: #efc858;
}

@media (min-width: 992px) {
  .menu-button {
    margin-left: 50px;
  }
}

.menu-button:hover {
  color: #0056b3;
  border-color: #0056b3;
}

/* Menu items container with pagination */
.menu-items-container {
    position: relative;
    padding: 10px 0; /* Reduced padding */
}
/* Adjust menu items placement */
#menu-items-container {
  padding-top: 100px; /* Move items down */
  padding-right: 40px; /* Move items left */
}
.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px; /* Smaller gap */
    margin-bottom: 20px;
}

/* Navigation arrows */
.menu-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.nav-arrow {
    background: #04276c;
    color: #efc858;
    border: none;
    border-radius: 50%;
    width: 40px; /* Smaller arrows */
    height: 40px;
    font-size: 20px; /* Smaller font */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-arrow:hover:not(:disabled) {
    background: #efc858;
    color: #04276c;
    transform: scale(1.1);
}

.nav-arrow:disabled {
    background: #cccccc;
    color: #666666;
    cursor: not-allowed;
    transform: none;
}

.page-indicator {
    font-size: 16px; /* Smaller font */
    font-weight: bold;
    color: #04276c;
    min-width: 70px;
    text-align: center;
}

/* Smaller card sizes */
.card-design {
  background-color: #ffffff;
  border-color: black;
  margin-top: 0;
  padding: 10px; /* Reduced padding */
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-design:hover {
  transform: translateY(-5px);
}

.card-design img {
  height: 120px; /* Smaller image height */
  object-fit: contain; /* Show full image without cropping */
  width: 100%;
  border-radius: 10px;
  background-color: #f8f9fa; /* Light background for transparent images */
}

.card-body.mb-3 {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 10px 5px; /* Reduced padding */
}

.menuitem-name {
  font-size: 0.9rem; /* Smaller font size */
  margin-bottom: 5px;
  font-weight: 900;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  min-height: 2em; /* Reduced min-height */
  line-height: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menuitem-description {
  font-size: 0.7rem; /* Smaller font size */
  margin-bottom: 5px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  color: #666;
}

.menuitem-price {
  font-size: 0.9rem; /* Smaller font size */
  font-weight: 900;
  margin-bottom: 0;
}

.menu-description {
  font-size: clamp(1rem, 2.5vw, 1rem);
  margin-top: 20px;
  margin-bottom: -60px;
  margin-left: 20px;
  margin-right: 20px;
  color: #ffffff;
  text-align: justify;
}

/* Loading state improvements */
#menu-items-container .loading-state {
    min-height: 200px; /* Smaller loading area */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    grid-column: 1 / -1;
}

.spinner-border {
    width: 2rem; /* Smaller spinner */
    height: 2rem;
}

/* Empty state */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px;
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .menu-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .card-design img {
        height: 110px;
    }
}

@media (max-width: 576px) {
    .menu-items-grid {
        grid-template-columns: 1fr;
    }
    
    .card-design img {
        height: 100px;
    }
    
    .nav-arrow {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .page-indicator {
        font-size: 14px;
    }
}

/* Hero Section */
.hero-section {
  background-color: #fff7d9;
  padding: 60px 15px;
  position: relative;
  overflow: visible;
  min-height: 400px;
}

.hero-heading {
  font-weight: 650;
  color: #282525;
  font-size: clamp(1.8rem, 2.5vw, 3rem);
  line-height: 1.4;
}

.hero-divider {
  width: 60%;
  max-width: 320px;
  height: 7px;
  background-color: #efc858;
  margin: 15px 0;
}

.hero-btn {
  background-color: #04276c;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  padding: 15px 30px;
  color: #efc858;
  font-size: 1.2rem;
  transition: 0.3s;
  animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(242, 208, 103, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(242, 208, 103, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(242, 208, 103, 0);
    }
}

.hero-btn:hover {
  background-color: #efc858;
  color: #04276c;
}

.hero-btn:focus,
.hero-btn:active {
  background-color: #04276c !important;
  color: #efc858 !important;
  box-shadow: none !important;
}

.fries-wrapper {
  position: relative;
  width: 80%;
  max-width: 420px;
  z-index: 2;
  right: 3%;
}

.hero-oval {
  background-color: #efc858;
  width: 70%;
  padding-top: 35%;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.fries-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
}

/* Tablet */
@media (min-width: 768px) {
  .fries-wrapper {
    width: 70%;
    max-width: 500px;
  }
}

/* Desktop pop-out effect */
@media (min-width: 992px) {
  .fries-wrapper {
    position: absolute;
    top: 50%; /* instead of -25px */
    width: 60vw;
    max-width: 850px;
    transform: translateY(-50%); /* center vertically */
  }
}
/* About Section */
.about-section {
  background-color: #04276c;
  height: auto;
  width: auto;
  position: relative; /*Ensure absolute children are positioned relative to this*/
}

/* Responsive BG Logos */
.bg-logo1, .bg-logo2, .bg-logo3 {
  position: absolute;
  opacity: 0.2;
  transform: rotate(-12deg);
  max-width: 30vw; /* Responsive width */
  height: auto;
  pointer-events: none;
}

.bg-logo1 {
  left: 1vw;
  bottom: 30vh;
}

.bg-logo2 {
  right: 5vw;
  bottom: 30vh;
}

.bg-logo3 {
  left: 50%;
  top: 15vh;
  transform: translateX(-50%) rotate(-12deg);
}

.about-text {
  color: #fff7d5;
  font-size: 2.5rem;
  text-align: justify;
  margin-bottom: 20px;
}

.about-text1 {
  color: #fff7d5;
  font-weight: 700;
  font-size: large;
}

.about-text2 {
  color: #fff7d5;
  font-weight: 500;
  padding-top: 20px;
  text-align: justify;
  margin-bottom: 60px;
}

.about-text, .about-text1,
 .about-text2 {
  margin-left: 10%;
  margin-right: 10%;
}

.ambiance1, .ambiance2, .ambiance3, .ambiance4 , .ambiance5 {
  z-index: 2;
  position: relative;
}

.about-carousel{
  width: 90%;
  height: 90%;
  margin-left: 10%;
  margin-top: -70px;
}

.gallery-section {
    background-color: #fff7d9;
    padding: 20px 0;
    overflow: hidden;
}

.gallery-title {
    font-size: 3rem;
    font-weight: 700;
    color: #282525;
    margin-bottom: 0;
    text-shadow: 2px 2px 0 #efc858;
}

.gallery-subtitle {
    font-size: 1.2rem;
    color: #04276c;
    font-weight: 500;
    margin-bottom: 5px;
}

.gallery-container {
    margin-top: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.gallery-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    width: 100vw;
}

.gallery-slide {
    display: flex;
    gap: 15px;
    animation: slide 25s linear infinite;
}

.top-row .gallery-slide {
    animation-direction: normal;
}

.bottom-row .gallery-slide {
    animation-direction: reverse;
}

.gallery-img {
    width: 400px;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #efc858;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
    z-index: 10;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.gallery-row:hover .gallery-slide {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 15px 0;
    }
    
    .gallery-title {
        font-size: 2.5rem;
        margin-bottom: 0;
    }
    
    .gallery-subtitle {
        margin-bottom: 5px;
    }
    
    .gallery-img {
        width: 300px;
        height: 220px;
    }
    
    .gallery-row {
        gap: 10px;
    }
}

/* ========== TESTIMONIAL SECTION - RESPONSIVE ========== */
/* Copy everything from here down to the end and replace your existing testimonial CSS */

.testimonial-background {
  background-color: #fff7d9;
  padding: 60px 15px;
  position: relative;
  overflow: visible;
  min-height: 400px;
}

.testimonial-section {
  background: white;
  border-radius: 12px;
  padding: 40px;
  margin: 50px auto;
  width: 90%;
  max-width: 2000px;
  text-align: center;
  position: relative;
}

/* Overlay Button */
.testimonial-overlay-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #04276c;
  color: #efc858;
  border: 2px solid #efc858;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  text-decoration: none;
  display: inline-block;
}

.testimonial-overlay-btn:hover {
  background-color: #efc858;
  color: #04276c;
  border-color: #04276c;
  transform: scale(1.05);
}

.testimonial-subtitle {
  text-align: left;
  font-size: 40px;
  font-weight: 400;
  color: #efc858;
  margin-bottom: 40px;
}

.testimonial-title {
  font-family: 'Montserrat';
  font-size: 40px;
  font-weight: 700;
  color: #282525;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.testimonial-title::after {
  content: "";
  width: 150px; 
  height: 3px;
  background-color: rgb(243, 232, 168);
  margin-left: 10px;
  box-shadow: 0 0 8px rgba(239, 200, 88, 0.7);
}

.testimonial-container {
  position: relative;
  margin-bottom: 30px;
  min-height: 200px;
  padding-bottom: 100px;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-box {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 30px;
  color: #333;
  font-size: 20px;
  line-height: 1.9;
  margin: 0 auto;
  max-width: 1300px;
  text-align: center;
  position: relative;
  min-height: 150px;
}

.testimonial-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 25px;
  gap: 8px;
  justify-content: flex-start;
  position: absolute;
  bottom: -90px;
  left: 30px;
}

.testimonial-profile img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #efc858;
}

.testimonial-profile-info {
  text-align: left;
}

.testimonial-profile-info h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #282525;
}

.testimonial-profile-info p {
  margin: 0;
  font-size: 14px;
  color: #777;
}

.testimonial-profile-info small {
  font-size: 12px;
  color: #777;
}

/* Slider Controls */
.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.prev-btn,
.next-btn {
  background: transparent;
  border: 1px solid #ddd;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 10px;
  color: #666;
  font-size: 24px;
}

.prev-btn:hover,
.next-btn:hover {
  background: #efc858;
  border-color: #efc858;
  color: white;
}

.dots {
  display: flex;
  justify-content: center;
  margin: 0 15px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #ddd;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #efc858;
}

/* Loading state for testimonials */
.testimonial-container .loading-state {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.empty-testimonials {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== RESPONSIVE STYLES ========== */

/* Tablet and Mobile (768px and below) */
@media (max-width: 768px) {
  .testimonial-background {
    padding: 30px 10px;
    min-height: auto;
  }
  
  .testimonial-section {
    padding: 30px 15px;
    margin: 20px auto;
    width: 95%;
    border-radius: 8px;
  }
  
  /* Move button to center on mobile */
  .testimonial-overlay-btn {
    position: static;
    display: block;
    margin: 0 auto 20px;
    width: fit-content;
  }
  
  .testimonial-title {
    font-size: 24px;
    justify-content: center;
    text-align: center;
  }
  
  .testimonial-title::after {
    display: none;
  }
  
  .testimonial-subtitle {
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .testimonial-box {
    padding: 20px 15px;
    font-size: 15px;
    line-height: 1.6;
    min-height: 120px;
  }
  
  .testimonial-container {
    padding-bottom: 120px;
    min-height: 250px;
  }
  
  /* Make profile horizontal on tablet/mobile */
  .testimonial-profile {
    position: static;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 15px;
  }
  
  .testimonial-profile img {
    width: 50px;
    height: 50px;
  }
  
  .testimonial-profile-info {
    text-align: left;
  }
  
  .testimonial-profile-info h4 {
    font-size: 16px;
  }
  
  .testimonial-profile-info p {
    font-size: 13px;
  }
  
  .slider-controls {
    margin-top: 30px;
    flex-wrap: wrap;
  }
  
  .prev-btn,
  .next-btn {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
  
  .dots {
    margin: 10px 15px;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .testimonial-section {
    padding: 20px 10px;
  }
  
  .testimonial-title {
    font-size: 20px;
  }
  
  .testimonial-subtitle {
    font-size: 16px;
  }
  
  .testimonial-box {
    padding: 15px 10px;
    font-size: 14px;
  }
  
  /* Make profile vertical on very small screens */
  .testimonial-profile {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-profile-info {
    text-align: center;
  }
  
  .testimonial-profile img {
    width: 45px;
    height: 45px;
  }
  
  .prev-btn,
  .next-btn {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
  }
}

/* ===== Footer Background ===== */
.footer {
  position: relative;
  overflow: hidden;
  background: url("../assets/image/footer-bg.png") no-repeat center center;
  background-size: cover;
  font-family: 'Montserrat', sans-serif;
  color: #fdb913;
}

/* Transparent overlay */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0b2c6b; /* navy */
  opacity: 0.85; /* 85% solid navy */
  z-index: 0;
}

/* Overlay container */
.footer-overlay {
  position: relative;
  z-index: 1;
  padding: 50px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

/* ===== Left Side Logo ===== */
.footer-logo {
  max-width: 250px;
}

.footer-logo h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 10px 0 8px;
}

.footer-logo h2 span {
  font-weight: 700;
}

.footer-logo p {
  font-size: 13px;
  margin-top: 5px;
}

.logo-img {
  width: 45px;
  height: auto;
  margin-bottom: 10px;
}

/* ===== Middle Links ===== */
.footer-links h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #fdb913;
  font-size: 15px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links .address {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
}

.link-columns {
  display: flex;
  gap: 50px;
}

/* ===== Right Side Social ===== */
.footer-social h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.social-icons a img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s;
}

.social-icons a img:hover {
  transform: scale(1.1);
}

/* Subscribe Button */
.subscribe-btn {
  background-color: #fdb913;
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  color: #0b2c6b;
  transition: background 0.3s, color 0.3s;
}

.subscribe-btn:hover {
  background-color: #fff;
  color: #0b2c6b;
}

/* Loading state for testimonials */
.testimonial-container .loading-state {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.empty-testimonials {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure testimonial profile info is properly styled */
.testimonial-profile-info small {
    font-size: 12px;
    color: #777;
}

.testimonial-profile-info h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #282525;
}

.testimonial-profile img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #efc858;
}

.testimonial-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 25px;
    gap: 8px;
    justify-content: flex-start;
    position: absolute;
    bottom: -90px;
    left: 30px;
}

.testimonial-profile-info {
    text-align: left;
}

/* Make sure slider controls are visible when needed */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}