:root {
  --primary: #9a2170;
  --primary-light: #c24095;
  --primary-dark: #69154a;
  --secondary: #f06292;
  --accent: #fbc02d;
  --background: #fafafa;
  --surface: #ffffff;
  --text-main: #333333;
  --text-muted: #666666;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: 'Outfit', 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.top-bar {
  background: #7a1555;
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  padding: 8px 0;
  font-weight: 600;
  position: relative;
  width: 100%;
  z-index: 1001;
}
.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 15px;
}
.top-bar a {
  color: white;
  transition: var(--transition);
}
.top-bar a:hover {
  color: var(--secondary);
}

/* Header & Navigation */
.header {
  position: relative;
  width: 100%;
  z-index: 1000;
  background: var(--primary);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  transition: var(--transition);
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
  transition: var(--transition);
}

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

.nav-list, .nav-menu {
  display: flex;
  gap: 25px;
}

.nav-link {
  font-weight: 600;
  color: white;
  padding: 10px 0;
  position: relative;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  color: white;
  padding-top: 80px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 40px;
  animation: fadeIn 1s ease-out;
  margin-left: 5%;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(249, 235, 200, 0.2);
  color: #F9EBC8;
  border: 1px solid rgba(249, 235, 200, 0.3);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: white;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
  line-height: 1.1;
}

.hero-title .highlight {
  color: #ffdfa0;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--primary);
  color: white;
  font-weight: 600;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
}

.btn:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: var(--primary);
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--surface);
  margin-top: -50px;
  position: relative;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--surface);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.feature-icon {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 20px;
  display: inline-block;
  padding: 20px;
  background: rgba(154, 33, 112, 0.05);
  border-radius: 50%;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Section Common */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

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

/* About Layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.about-text {
  font-size: 1.1rem;
}

.about-text p {
  margin-bottom: 20px;
}

/* Facilities Grid */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.facility-item {
  background: var(--surface);
  padding: 25px 20px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.facility-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: var(--primary);
  color: white;
}

.facility-item:hover i, .facility-item:hover h4 {
  color: white;
}

.facility-item i {
  font-size: 32px;
  color: var(--primary);
  transition: var(--transition);
}

.facility-item h4 {
  font-size: 1rem;
  margin: 0;
  transition: var(--transition);
}

.facility-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: -5px;
  line-height: 1.4;
  transition: var(--transition);
}

.facility-item:hover .facility-desc {
  color: rgba(255,255,255,0.9);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16/9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Contact Info */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-card {
  background: var(--surface);
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.contact-card i {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: white;
  padding: 60px 0 20px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: white;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* Floating Contact */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.contact-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  position: relative;
}

.contact-btn:hover {
  transform: scale(1.1);
  color: white;
}

.contact-btn span {
  position: absolute;
  right: 75px;
  background: var(--surface);
  color: var(--text-main);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
  transition: var(--transition);
  white-space: nowrap;
}

.contact-btn:hover span {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp { background: #25D366; }
.phone { background: var(--primary); }

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

/* Page Header for subpages */
.page-header {
  height: 40vh;
  min-height: 300px;
  background-image: linear-gradient(to right, rgba(94, 20, 69, 0.8), rgba(94, 20, 69, 0.8)), url('../images/5.jpg');
  background-position: center 25%;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding-top: 80px;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--primary);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    z-index: 1000;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .mobile-toggle {
    display: block;
  }

  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.2rem; }
  
  .about-grid { grid-template-columns: 1fr; }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    user-select: none;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.8);
    animation: zoomIn 0.25s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #fff;
    font-size: 36px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.08);
    color: #fff;
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 24px;
    background: rgba(255, 255, 255, 0.15);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    z-index: 10000;
}

@media (max-width: 768px) {
    .lightbox-btn {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 15px; right: 15px; width: 38px; height: 38px; font-size: 28px; }
}

@keyframes zoomIn {
    from {transform: scale(0.95); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.gallery-item img {
    cursor: pointer;
}
