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

body {
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  background-color: #E1DCCA;
  color: #000;
  line-height: 1.6;
  /* Mobile-first responsive font sizing */
  font-size: clamp(14px, 2.5vw, 16px);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Mobile-first responsive breakpoints */
:root {
  --mobile: 480px;
  --tablet: 768px;
  --desktop: 1024px;
  --large: 1200px;
}

/* Header */
header {
  background-color: rgba(225, 220, 202, 0.9);
  position: fixed;
  width: 100%;
  top: 0;
  /* keep header below the mobile panel but above regular content */
  z-index: 1000;
  border-bottom: 2px solid #CF2A2A;
  backdrop-filter: blur(10px);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(10px, 2vw, 15px) 0;
  min-height: 70px;
}

/* Ensure the header nav sits on the top and is horizontal */
.header-nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: center;
}

.header-nav .nav-links {
  display: flex;
  gap: clamp(8px, 2vw, 14px);
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-nav .nav-links li {
  display: inline-flex;
  align-items: center;
}

/* Make header fixed and ensure content doesn't sit under it */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

/* Give the page content a top offset equal to header height */
body > .hero,
body > .section,
body > main {
  padding-top: 80px; /* matches header min-height */
}

.logo a {
  font-family: 'Brush Script MT', cursive;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: #FABD32;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 2px;
}

.logo-img {
  height: clamp(45px, 6vw, 60px);
  width: auto;
}

/* Mobile Navigation Toggle */
.mobile-menu-toggle {
  display: none;
  background: #CF2A2A;
  border: 2px solid #CF2A2A;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
  padding: 12px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(207, 42, 42, 0.3);
  z-index: 10003;
  position: relative;
  min-width: 50px;
  min-height: 50px;
  margin-left: auto;
  margin-right: 10px;
}

.mobile-menu-toggle:hover {
  background-color: #CF2A2A;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(207, 42, 42, 0.3);
}

/* Navigation Styles */
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: #000;
  text-decoration: none;
  padding: clamp(8px, 2vw, 10px) clamp(12px, 2vw, 15px);
  font-weight: 600;
  transition: color 0.3s ease;
  border-radius: 5px;
  font-size: clamp(14px, 2vw, 16px);
}

nav ul li a:hover,
nav ul li a.active {
  color: #1E459F;
  background-color: rgba(30, 69, 159, 0.1);
}

nav ul li.dropdown:hover > a {
  color: #1E459F;
}

nav ul li.dropdown:hover .dropdown-menu {
  display: block;
}

/* Dropdown menu */
.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #E1DCCA;
  top: 100%;
  left: 0;
  min-width: 180px;
  border: 1px solid #FABD32;
  border-radius: 0 0 5px 5px;
  z-index: 1001;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #000;
  font-weight: normal;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
  background-color: #1E459F;
  color: #E1DCCA;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  /* Remove the navbar on mobile devices */
  .header-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block !important;
    visibility: visible;
    opacity: 1;
  }

  /* Mobile: hide the header nav by default and show only when .open is present.
     Using display:none avoids any visible sliver on problematic mobile browsers.
     We still use transform when showing to keep the slide effect, but default is hidden.
  */
  .header-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 250px;
    height: calc(100vh - 70px);
    background: linear-gradient(135deg, rgba(225, 220, 202, 0.98), rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(15px);
    z-index: 9999;
    border-right: 3px solid #CF2A2A;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    padding: 20px 0;
  }

  .header-nav.open {
    display: block;
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Remove any shadows/borders when closed to avoid a visible edge */
  /* Ensure no background scrolling when menu is open */
  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }

  /* ensure nav lists stack on mobile */
  .header-nav {
    padding: 0;
  }

  nav ul {
    /* horizontal, scrollable nav on mobile */
    flex-direction: row;
    align-items: center;
    padding: 10px 6px;
    height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  /* Safety overrides: ensure the UL inside header-nav doesn't become fixed or transformed
     due to other rules or browser quirks. This prevents the list from floating when the panel
     is closed. */
  .header-nav .nav-links,
  .nav-links {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    visibility: inherit !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  nav ul li {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
  }

  nav ul li a {
    display: inline-block;
    padding: 10px 14px;
    font-size: 15px;
    border-radius: 6px;
    color: #000;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
  }

  nav ul li a:hover,
  nav ul li a.active {
    background-color: rgba(207, 42, 42, 0.1);
    color: #CF2A2A;
    padding-left: 30px;
  }

  /* Dropdowns should appear below parent on mobile */
  nav ul li.dropdown {
    position: relative;
  }

  nav ul li.dropdown .dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    display: none;
    background-color: rgba(30, 69, 159, 0.05);
    border: 1px solid #FABD32;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: none;
    z-index: 1001;
    min-width: 160px;
  }

  nav ul li.dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    padding: 12px 30px;
    font-size: 14px;
    color: #5a6c7d;
  }

  .dropdown-menu li a:hover {
    background-color: #CF2A2A;
    color: #fff;
  }
}

/* Book Now button */
.btn-book {
  background-color: #CF2A2A;
  color: #fff;
  padding: 10px 20px;
  font-weight: 700;
  border-radius: 3px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-book:hover {
  background-color: #FABD32;
  color: #000;
}

/* Language Toggle button */
.btn-language {
  background-color: #1E459F;
  color: #fff;
  padding: 10px 15px;
  font-weight: 700;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-right: 10px;
}

.btn-language:hover {
  background-color: #FABD32;
  color: #000;
}

/* Hero Section */
.hero {
  /* Removed background image to avoid conflict with inline style */
  min-height: clamp(500px, 80vh, 600px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  color: #000;
  text-shadow: 0 0 10px #1E459F;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: clamp(15px, 3vw, 20px);
  font-weight: 900;
  text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.85);
  line-height: 1.2;
}

.hero-content p {
  font-size: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: clamp(20px, 4vw, 30px);
  max-width: clamp(300px, 50vw, 600px);
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 6px rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

.hero-btn {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  padding: clamp(12px, 2vw, 15px) clamp(20px, 4vw, 30px);
}

/* Mobile Hero Adjustments */
@media (max-width: 768px) {
  .hero {
    padding-top: 70px;
    min-height: 70vh;
  }

  .hero-content {
    padding: 0 15px;
  }

  .hero-content h1 {
    margin-bottom: 15px;
  }

  .hero-content p {
    margin-bottom: 25px;
  }
}

/* Benefits Section Mobile Improvements */
@media (max-width: 768px) {
  .benefits-content {
    text-align: center;
  }

  .benefits-grid {
    max-width: 500px;
    margin: 0 auto;
  }

  .benefit-item {
    text-align: left;
    margin-bottom: 20px;
    border-radius: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  .benefit-item:hover {
    transform: translateY(-2px);
  }

  .benefit-header {
    justify-content: flex-start;
    margin-bottom: 15px;
  }

  .benefit-title {
    font-size: 1.2rem;
    line-height: 1.3;
  }

  .benefit-description {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* Sections */
.section {
  padding: clamp(40px, 6vw, 80px) 0;
  border-bottom: 1px solid #CF2A2A;
  background-color: #E1DCCA;
}

.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #CF2A2A;
  margin-bottom: clamp(20px, 4vw, 30px);
  text-align: center;
  line-height: 1.3;
}

/* Lists */
.section ul {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 0;
}

.section ul li {
  font-size: 1.2rem;
  padding: 10px 0;
  border-bottom: 1px solid #FABD32;
}

/* Classes cards */
.class-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.class-card {
  background-color: #fff;
  border: 2px solid #1E459F;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  text-align: center;
  transition: transform 0.3s ease;
  cursor: pointer;
  padding: 20px;
}

.class-card:hover {
  transform: scale(1.05);
  border-color: #FABD32;
}

.class-card img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.class-card h3 {
  color: #CF2A2A;
  padding: 15px 0;
  font-weight: 700;
}

.class-card p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Photo showcase */
.photo-showcase .photos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.photo-showcase img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border: 3px solid #CF2A2A;
  border-radius: 10px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.photo-showcase img:hover {
  transform: scale(1.1);
  border-color: #1E459F;
}

/* Contact buttons */
.btn-contact {
  display: inline-block;
  background-color: #1E459F;
  color: #fff;
  padding: 12px 25px;
  margin: 10px 15px 0 0;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.btn-contact:hover {
  background-color: #FABD32;
  color: #000;
}

/* Location iframe */
.location iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 10px;
}

/* Footer */
footer {
  background-color: #E1DCCA;
  text-align: center;
  padding: 20px 0;
  color: #000;
  font-size: 0.9rem;
}

/* Override Bootstrap text-dark to black */
.text-dark {
  color: #000 !important;
}

/* Section Containers */
.facilities-container, .benefits-container, .schedule-container, .pricelist-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 40px);
  align-items: center;
}

.gym-image-container {
  width: 100%;
  order: 2;
}

.gym-image {
  width: 100%;
  height: clamp(300px, 35vw, 800px);
  object-fit: cover;
  border-radius: clamp(15px, 3vw, 20px);
  box-shadow: 0 clamp(15px, 3vw, 20px) clamp(30px, 5vw, 40px) rgba(0, 0, 0, 0.2);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
  aspect-ratio: 4/3;
}
@media (max-width: 768px) {
  .gym-image {
    height: clamp(300px, 50vh, 500px);
    border-radius: clamp(15px, 3vw, 20px);
  box-shadow: 0 clamp(15px, 3vw, 20px) clamp(30px, 5vw, 40px) rgba(0, 0, 0, 0.2);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
  }

  .class-card img {
    height: clamp(300px, 40vh, 400px);
  }

  #location img {
    height: clamp(200px, 30vh, 300px) !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

.gym-image:hover {
  transform: rotate(0deg) scale(1.02);
}

.facilities-content, .benefits-content, .schedule-content, .pricelist-content {
  padding: clamp(15px, 3vw, 20px);
  order: 1;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #2c3e50;
  margin-bottom: clamp(20px, 4vw, 30px);
  background: linear-gradient(135deg, #CF2A2A, #FABD32);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: -2px;
  text-align: center;
  line-height: 1.2;
}

/* Desktop Grid Layout */
@media (min-width: 768px) {
  .facilities-container, .benefits-container, .schedule-container, .pricelist-container {
    grid-template-columns: 1fr 1fr;
  }

  .gym-image-container {
    order: 1;
  }

  .facilities-content, .benefits-content, .schedule-content, .pricelist-content {
    order: 2;
  }

  .section-title {
    text-align: left;
  }
}

.facilities-grid, .benefits-grid, .schedule-grid, .pricelist-grid {
  display: grid;
  gap: clamp(15px, 3vw, 20px);
  grid-template-columns: 1fr;
}

.facility-item, .benefit-item, .schedule-item, .price-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  padding: clamp(20px, 4vw, 25px) clamp(20px, 4vw, 30px);
  border-radius: clamp(12px, 2vw, 15px);
  box-shadow: 0 clamp(6px, 1.5vw, 8px) clamp(20px, 3vw, 25px) rgba(0, 0, 0, 0.1);
  border-left: clamp(4px, 0.8vw, 5px) solid #CF2A2A;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.facility-item::before, .benefit-item::before, .schedule-item::before, .pricelist-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(207, 42, 42, 0.05), rgba(250, 189, 50, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.facility-item:hover, .benefit-item:hover, .schedule-item:hover, .pricelist-item:hover, .price-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 clamp(12px, 2vw, 15px) clamp(30px, 4vw, 35px) rgba(0, 0, 0, 0.2);
  border-left-width: clamp(6px, 1vw, 8px);
}

.facility-item:hover::before, .benefit-item:hover::before, .schedule-item:hover::before , .pricelist-item:hover::before, .price-item:hover::before{
  opacity: 1;
}

.facility-header, .benefit-header, .schedule-header, .price-header {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 15px);
  margin-bottom: clamp(8px, 1.5vw, 10px);
}

.facility-icon, .benefit-icon, .schedule-icon, .price-icon {
  width: clamp(35px, 6vw, 40px);
  height: clamp(35px, 6vw, 40px);
  background: linear-gradient(135deg, #CF2A2A, #FABD32);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(18px, 3vw, 20px);
  color: white;
  box-shadow: 0 clamp(3px, 0.6vw, 4px) clamp(12px, 2vw, 15px) rgba(207, 42, 42, 0.3);
  flex-shrink: 0;
}

.facility-title, .benefit-title, .schedule-title, .price-title {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: #2c3e50;
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

.facility-description, .benefit-description, .schedule-description, .price-description {
  color: #5a6c7d;
  font-size: clamp(0.9rem, 2vw, 0.95rem);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

/* Desktop Grid Layout for Items */
@media (min-width: 768px) {
  .facilities-grid, .benefits-grid, .schedule-grid, .pricelist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .facilities-grid, .benefits-grid, .schedule-grid, .pricelist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cta-button {
  background: linear-gradient(135deg, #CF2A2A, #c0392b);
  color: white;
  padding: clamp(12px, 2vw, 15px) clamp(25px, 4vw, 30px);
  border: none;
  border-radius: clamp(25px, 5vw, 50px);
  font-size: clamp(1rem, 2vw, 1.1rem);
  font-weight: 600;
  cursor: pointer;
  margin-top: clamp(20px, 4vw, 30px);
  transition: all 0.3s ease;
  box-shadow: 0 clamp(6px, 1.5vw, 8px) clamp(20px, 3vw, 25px) rgba(207, 42, 42, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 clamp(10px, 2vw, 12px) clamp(30px, 4vw, 35px) rgba(207, 42, 42, 0.4);
  background: linear-gradient(135deg, #c0392b, #a93226);
}

/* Animations */
.facility-item, .benefit-item, .schedule-item, .price-item {
  animation: slideInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

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

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive for sections */
@media (max-width: 768px) {
  .facilities-container, .benefits-container, .schedule-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-title {
    font-size: 2.5rem;
    text-align: center;
  }

  .facility-item, .benefit-item, .schedule-item, .price-item {
    padding: 20px;
  }
}

/* Contact Section Styles */
.contact-info-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
  padding: clamp(30px, 5vw, 45px);
  border-radius: clamp(15px, 3vw, 20px);
  box-shadow: 0 clamp(12px, 2vw, 15px) clamp(30px, 4vw, 35px) rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(207, 42, 42, 0.1);
  height: 100%;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 clamp(15px, 3vw, 20px) clamp(40px, 5vw, 45px) rgba(0, 0, 0, 0.15);
  border-color: rgba(207, 42, 42, 0.2);
}

.contact-section-title {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 700;
  color: #CF2A2A;
  margin-bottom: clamp(20px, 3vw, 25px);
  text-align: center;
  line-height: 1.3;
}

.contact-description {
  color: #5a6c7d;
  font-size: clamp(1rem, 2vw, 1.05rem);
  line-height: 1.6;
  margin-bottom: clamp(25px, 4vw, 35px);
  text-align: center;
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: clamp(20px, 3vw, 25px);
  padding: clamp(15px, 2vw, 20px);
  background: rgba(250, 189, 50, 0.05);
  border-radius: clamp(10px, 2vw, 12px);
  border-left: clamp(3px, 0.6vw, 4px) solid #FABD32;
  transition: all 0.3s ease;
  min-height: clamp(60px, 8vw, 70px);
}

.contact-info-item:hover {
  background: rgba(250, 189, 50, 0.1);
  transform: translateX(5px);
}

.contact-icon {
  width: clamp(45px, 6vw, 55px);
  height: clamp(45px, 6vw, 55px);
  background: linear-gradient(135deg, #CF2A2A, #FABD32);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: clamp(18px, 3vw, 25px);
  flex-shrink: 0;
  box-shadow: 0 clamp(3px, 0.6vw, 4px) clamp(12px, 2vw, 15px) rgba(207, 42, 42, 0.3);
}

.contact-icon i {
  font-size: clamp(20px, 3vw, 22px);
  color: white;
}

.contact-info-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-content h4 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: clamp(4px, 0.5vw, 6px);
  line-height: 1.2;
}

.contact-info-content p {
  color: #5a6c7d;
  font-size: clamp(0.95rem, 2vw, 1rem);
  line-height: 1.4;
  margin: 0;
}



.social-title {
  text-align: center;
  margin-bottom: 30px;
  
}
/* Social Media Card Styles */
.social-card {
  background-color: #CF2A2A; /* Fallback color */
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("images/opened.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(207, 42, 42, 0.2);
  height: 100%;
  min-height: 300px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  margin-bottom: 20px;
  /* Force the background to be visible */
  background-attachment: scroll;
}

.social-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  /* overlay sits below the panel but above page content */
  z-index: 10001;
  /* allow clicks to pass to panel children but block page behind */
  pointer-events: auto;
  height: 100%;
  background: linear-gradient(135deg, rgba(207, 42, 42, 0.1), rgba(250, 189, 50, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  border-color: rgba(207, 42, 42, 0.3);
}

.social-card:hover::before {
  opacity: 1;
}

.social-card .social-title {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}

.social-card .social-buttons {
  position: relative;
  z-index: 2;
}

.social-card .social-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #2c3e50;
  backdrop-filter: blur(10px);
}

.social-card .social-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: clamp(15px, 3vw, 20px);
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 15px);
  padding: clamp(15px, 3vw, 20px) clamp(30px, 5vw, 40px);
  border-radius: clamp(25px, 5vw, 50px);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 clamp(6px, 1.5vw, 8px) clamp(20px, 3vw, 25px) rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  font-size: clamp(14px, 2vw, 16px);
}

.social-btn i {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.social-btn span {
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.whatsapp-btn {
  background: #25D366 !important;
  color: white;
  border-color: #25D366;
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
  background: #128C7E !important;
  color: white;
}

.instagram-btn {
  background: #E4405F !important;
  color: white;
  border-color: #E4405F;
}

.instagram-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(228, 64, 95, 0.4);
  background: #C13584 !important;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .class-cards {
    flex-direction: column;
    align-items: center;
  }

  nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 0;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(225, 220, 202, 0.95);
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    padding: 15px;
    display: block;
  }

  .btn-book {
    display: none;
  }

  /* Contact responsive styles */
  .contact-info-card {
    padding: clamp(20px, 3vw, 25px);
    margin-bottom: 20px;
  }

  .contact-section-title {
    font-size: clamp(1.3rem, 3vw, 1.5rem);
  }

  .contact-info-item {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 0;
    padding: clamp(12px, 2vw, 15px);
    min-height: clamp(50px, 7vw, 60px);
  }

  .contact-icon {
    margin-right: clamp(12px, 2vw, 15px);
    width: clamp(35px, 5vw, 40px);
    height: clamp(35px, 5vw, 40px);
  }

  .contact-icon i {
    font-size: clamp(16px, 2.5vw, 18px);
  }

  .contact-info-content h4 {
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: clamp(2px, 0.3vw, 4px);
  }

  .contact-info-content p {
    font-size: clamp(0.85rem, 1.8vw, 0.9rem);
  }

  .social-buttons {
    flex-direction: column;
    align-items: center;
  }

  .social-btn {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }
}
/* Carousel Styles */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: clamp(15px, 3vw, 20px);
  box-shadow: 0 clamp(15px, 3vw, 20px) clamp(30px, 5vw, 40px) rgba(0, 0, 0, 0.1);
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: clamp(200px, 25vw, 400px);
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.6s ease-in-out;
}

.carousel-slide.active {
  left: 0;
  opacity: 1;
}

.carousel-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(8px, 1.5vw, 12px);
  padding: clamp(10px, 2vw, 15px);
  height: 100%;
  align-items: center;
  justify-content: center;
}

.carousel-img {
  width: 100%;
  height: clamp(100px, 15vw, 200px);
  object-fit: cover;
  border-radius: clamp(10px, 2vw, 15px);
  box-shadow: 0 clamp(6px, 1.5vw, 8px) clamp(20px, 3vw, 25px) rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
}

.carousel-img:hover {
  transform: scale(1.05);
  box-shadow: 0 clamp(10px, 2vw, 12px) clamp(30px, 4vw, 35px) rgba(0, 0, 0, 0.25);
}

/* Tablet Carousel Layout */
@media (min-width: 576px) and (max-width: 767px) {
  .carousel-images {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(8px, 1.5vw, 12px);
  }

  .carousel-img {
    height: clamp(100px, 14vw, 130px);
  }
}

/* Desktop Carousel Layout */
@media (min-width: 768px) {
  .carousel-images {
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(10px, 2vw, 15px);
  }

  .carousel-img {
    height: clamp(120px, 16vw, 180px);
  }
}

/* Navigation Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #CF2A2A, #FABD32);
  color: white;
  border: none;
  width: clamp(40px, 6vw, 50px);
  height: clamp(40px, 6vw, 50px);
  border-radius: 50%;
  font-size: clamp(16px, 2.5vw, 18px);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 clamp(3px, 0.6vw, 4px) clamp(12px, 2vw, 15px) rgba(207, 42, 42, 0.3);
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 clamp(6px, 1vw, 8px) clamp(20px, 3vw, 25px) rgba(207, 42, 42, 0.4);
  background: linear-gradient(135deg, #c0392b, #f39c12);
}

.prev-btn {
  left: clamp(15px, 3vw, 20px);
}

.next-btn {
  right: clamp(15px, 3vw, 20px);
}

/* Dot Indicators */
.carousel-dots {
  position: absolute;
  bottom: clamp(15px, 3vw, 20px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: clamp(8px, 1.5vw, 10px);
  z-index: 10;
}

.dot {
  width: clamp(10px, 2vw, 12px);
  height: clamp(10px, 2vw, 12px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #CF2A2A;
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(207, 42, 42, 0.8);
  transform: scale(1.1);
}

/* Responsive Carousel */
@media (max-width: 768px) {
  .carousel-container {
    margin: 0 clamp(8px, 2vw, 12px);
    border-radius: clamp(10px, 2vw, 15px);
  }

  .carousel-wrapper {
    height: clamp(200px, 30vw, 250px);
  }

  .carousel-images {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(6px, 1.5vw, 10px);
    padding: clamp(8px, 2vw, 12px);
    justify-content: space-around;
  }

  .carousel-img {
    height: clamp(80px, 12vw, 110px);
    max-width: calc(50vw - 15px);
  }

  .carousel-btn {
    width: clamp(30px, 5vw, 35px);
    height: clamp(30px, 5vw, 35px);
    font-size: clamp(10px, 2vw, 12px);
  }

  .prev-btn {
    left: clamp(5px, 1vw, 8px);
  }

  .next-btn {
    right: clamp(5px, 1vw, 8px);
  }

  .carousel-dots {
    bottom: clamp(5px, 1vw, 8px);
    gap: clamp(4px, 1vw, 6px);
  }

  .dot {
    width: clamp(6px, 1vw, 8px);
    height: clamp(6px, 1vw, 8px);
  }
}

@media (max-width: 480px) {
  .carousel-container {
    margin: 0 clamp(5px, 1vw, 8px);
  }

  .carousel-wrapper {
    height: clamp(160px, 25vw, 200px);
  }

  .carousel-images {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(4px, 1vw, 6px);
    padding: clamp(6px, 1.5vw, 8px);
  }

  .carousel-img {
    height: clamp(60px, 10vw, 80px);
    max-width: calc(50vw - 10px);
  }

  .carousel-btn {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }

  .prev-btn {
    left: 3px;
  }

  .next-btn {
    right: 3px;
  }

  .carousel-dots {
    bottom: 3px;
    gap: 3px;
  }

  .dot {
    width: 6px;
    height: 6px;
  }
}
