/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background: #f5f6ff; color: #1a1a2e; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f0f0ff; }
::-webkit-scrollbar-thumb { background: linear-gradient(#ff6b35, #f107a3); border-radius: 10px; }

/* ===== CSS VARIABLES ===== */
:root {
  --primary:     #ff6b35;
  --secondary:   #7b2ff7;
  --accent:      #0099cc;
  --pink:        #f107a3;
  --gold:        #f59e0b;
  --green:       #10b981;
  --dark:        #f5f6ff;
  --dark2:       #eef0ff;
  --dark3:       #e5e8ff;
  --text:        #1a1a2e;
  --text2:       #555577;
  --text3:       #888aaa;
  --card-bg:     #ffffff;
  --card-border: #e0e3ff;
  --gradient:    linear-gradient(135deg, #ff6b35, #f107a3);
  --gradient2:   linear-gradient(135deg, #7b2ff7, #0099cc);
  --shadow:      0 8px 30px rgba(123,47,247,0.12);
}

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  background: rgba(255,107,53,0.12);
  color: var(--primary);
  border: 1px solid rgba(255,107,53,0.35);
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 14px; color: var(--text); }
.section-sub { color: var(--text3); font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: all 0.3s ease; border: none;
  font-family: 'Poppins', sans-serif;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 28px rgba(255,107,53,0.4);
}
.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(255,107,53,0.55); }
.btn-outline {
  background: transparent; color: var(--secondary);
  border: 2px solid var(--secondary);
}
.btn-outline:hover { background: var(--secondary); color: #fff; transform: translateY(-4px); box-shadow: 0 8px 25px rgba(123,47,247,0.35); }
.full-width { width: 100%; justify-content: center; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px; transition: all 0.4s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  padding: 12px 40px;
  box-shadow: 0 2px 20px rgba(123,47,247,0.15);
  border-bottom: 1px solid #e8e0ff;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 800; color: #fff; }
.nav-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}
.nav-logo i {
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-size: 1.7rem;
}
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.85);
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient); transition: width 0.3s;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; }

/* Scrolled state — white bg, dark text */
.navbar.scrolled .nav-logo { color: var(--text); }
.navbar.scrolled .nav-links a { color: var(--text2); }
.navbar.scrolled .nav-links a:hover { color: var(--primary); }
.navbar.scrolled .nav-toggle { color: var(--text); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a0845 0%, #3d1278 40%, #6b21a8 70%, #ff6b35 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(255,107,53,0.3) 0%, transparent 55%);
  pointer-events: none;
}
.particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute; border-radius: 50%;
  animation: float-particle linear infinite;
}
@keyframes float-particle {
  0%   { transform: translateY(100vh) scale(0); opacity: 1; }
  100% { transform: translateY(-120px) scale(1); opacity: 0; }
}
.hero-content { position: relative; z-index: 2; max-width: 820px; padding: 100px 20px 20px; }
.hero-badge {
  display: inline-block;
  background: rgba(255,210,0,0.2);
  border: 1px solid rgba(255,210,0,0.5);
  color: #ffd200;
  padding: 8px 22px; border-radius: 30px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 1.5px;
  margin-bottom: 22px;
  animation: glow-badge 2s ease-in-out infinite alternate;
}
@keyframes glow-badge {
  from { box-shadow: 0 0 8px rgba(255,210,0,0.3); }
  to   { box-shadow: 0 0 22px rgba(255,210,0,0.65); }
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 800; line-height: 1.1; margin-bottom: 22px;
  color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 42px; line-height: 1.9; }
.hero-stats {
  display: flex; justify-content: center; gap: 44px;
  margin-bottom: 44px; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block; font-size: 2.4rem; font-weight: 800; color: #fff;
}
.stat small { font-size: 0.72rem; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 1.5px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-btns .btn-outline {
  color: #fff; border-color: rgba(255,255,255,0.5);
}
.hero-btns .btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; }
.hero-scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4); font-size: 0.73rem; letter-spacing: 1px;
}
.hero-scroll-hint span {
  width: 2px; height: 40px;
  background: linear-gradient(to bottom, #fff, transparent);
  animation: scroll-line 1.5s ease-in-out infinite;
}
@keyframes scroll-line {
  0%,100% { transform: scaleY(1); opacity: 1; }
  50%      { transform: scaleY(0.4); opacity: 0.4; }
}

/* ===== ANIMATIONS ===== */
.animate-fadeDown { animation: fadeDown 0.8s ease forwards; }
.animate-fadeUp   { animation: fadeUp 0.8s ease forwards; }
.delay1 { animation-delay: 0.2s; opacity: 0; }
.delay2 { animation-delay: 0.4s; opacity: 0; }
.delay3 { animation-delay: 0.6s; opacity: 0; }
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== MARQUEE ===== */
.marquee-strip {
  background: linear-gradient(90deg, #ff6b35, #f107a3, #7b2ff7, #0099cc, #ff6b35);
  background-size: 300% 100%;
  animation: marquee-bg 6s linear infinite;
  padding: 13px 0; overflow: hidden;
}
@keyframes marquee-bg {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}
.marquee-track {
  display: flex; white-space: nowrap;
  animation: marquee 20s linear infinite;
  font-size: 0.9rem; font-weight: 700; color: #fff; letter-spacing: 0.5px;
}
.marquee-track span { padding: 0 5px; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== ABOUT ===== */
.about-section { background: #ffffff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image-box { position: relative; border-radius: 20px; overflow: hidden; }
.about-real-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: 0 20px 50px rgba(123,47,247,0.2);
  transition: transform 0.4s ease;
}
.about-image-box:hover .about-real-img { transform: scale(1.03); }
.about-badge-float {
  position: absolute; bottom: 20px; right: 20px;
  background: var(--gradient); color: #fff;
  padding: 10px 18px; border-radius: 30px;
  font-size: 0.85rem; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 10px 30px rgba(255,107,53,0.4);
  animation: float-badge 3s ease-in-out infinite;
}
@keyframes float-badge {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.about-content h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 20px; color: var(--text); }
.about-content p { color: var(--text2); line-height: 1.9; margin-bottom: 16px; }
.about-content p strong { color: var(--primary); }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.highlight-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 10px;
  background: #f5f3ff; border: 1px solid #e9d5ff;
  font-size: 0.84rem; font-weight: 600; color: var(--text);
  transition: all 0.3s;
}
.highlight-item:hover { background: #ede9fe; border-color: #a78bfa; transform: translateY(-2px); }
.highlight-item i { color: var(--primary); }

/* ===== FACILITIES ===== */
.facilities-section { background: var(--dark2); }
.facilities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.facility-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 20px; padding: 30px;
  transition: all 0.4s ease;
  position: relative; overflow: hidden;
  box-shadow: 0 2px 12px rgba(123,47,247,0.06);
}
.facility-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient);
  transform: scaleX(0); transition: transform 0.4s ease;
  transform-origin: left;
}
.facility-card:hover { transform: translateY(-8px); border-color: #c4b5fd; box-shadow: 0 20px 50px rgba(123,47,247,0.15); }
.facility-card:hover::after { transform: scaleX(1); }
.facility-card h3 { font-size: 1.05rem; font-weight: 700; margin: 16px 0 10px; color: var(--text); }
.facility-card p { color: var(--text2); font-size: 0.86rem; line-height: 1.7; }
.facility-icon {
  width: 58px; height: 58px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.facility-icon.electric  { background: #fef9c3; color: #d97706; }
.facility-icon.solar     { background: #fff7ed; color: #ea580c; }
.facility-icon.water     { background: #e0f2fe; color: #0284c7; }
.facility-icon.room      { background: #dcfce7; color: #16a34a; }
.facility-icon.shop      { background: #fff1f2; color: #e11d48; }
.facility-icon.security  { background: #ede9fe; color: #7c3aed; }
.facility-icon.wifi      { background: #e0f2fe; color: #0284c7; }
.facility-icon.mess      { background: #fce7f3; color: #db2777; }
.facility-icon.gym       { background: #fff1f2; color: #e11d48; }
.facility-icon.laundry   { background: #dbeafe; color: #2563eb; }
.facility-icon.medical   { background: #fff1f2; color: #dc2626; }
.facility-icon.parking   { background: #dcfce7; color: #15803d; }
.facility-icon.cooler    { background: #e0f2fe; color: #0284c7; }
.facility-icon.temple    { background: #fff7ed; color: #b45309; }

/* ===== ROOMS ===== */
.rooms-section { background: #ffffff; }
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.room-card {
  background: #fff;
  border: 1.5px solid var(--card-border);
  border-radius: 20px; overflow: hidden;
  transition: all 0.4s ease; position: relative;
  box-shadow: 0 4px 20px rgba(123,47,247,0.08);
}
.room-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 40px rgba(255,107,53,0.2);
}
.room-card:hover { transform: translateY(-10px); box-shadow: 0 24px 60px rgba(123,47,247,0.18); }
.room-badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: linear-gradient(135deg, #ffd200, #ff9f00);
  color: #000;
  padding: 4px 10px; border-radius: 20px; font-size: 0.68rem; font-weight: 800;
  box-shadow: 0 4px 15px rgba(255,210,0,0.4);
}
.room-img-box {
  height: 150px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; font-size: 2.8rem;
}
.room-img-box span { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.room-img-box.quad   { background: linear-gradient(135deg, #f7971e, #ffd200); color: #333; }
.room-img-box.triple { background: linear-gradient(135deg, #4776e6, #8e54e9); }
.room-img-box.double { background: linear-gradient(135deg, #ff6b35, #f107a3); }
.room-img-box.single { background: linear-gradient(135deg, #11998e, #38ef7d); }
.room-info { padding: 18px; }
.room-info h3 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.room-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.room-header h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.room-price { font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.room-price small { font-size: 0.73rem; font-weight: 400; color: var(--text3); }
.room-features { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.room-features li { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text2); }
.room-features li i { color: var(--green); font-size: 0.68rem; }

/* ===== GALLERY ===== */
.gallery-section { background: var(--dark2); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
}
.gallery-item {
  border-radius: 16px; overflow: hidden;
  position: relative; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  background: #ddd;
}
.gallery-item:hover { transform: scale(1.03); z-index: 2; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.gallery-item.g-large { grid-column: span 2; }
.gallery-item.g-tall  { grid-row: span 2; }
.gallery-real-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-real-img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  padding: 18px 20px;
  opacity: 0; transition: opacity 0.35s;
}
.gallery-overlay i {
  position: absolute; top: 14px; right: 14px;
  color: rgba(255,255,255,0.85); font-size: 1rem;
  background: rgba(0,0,0,0.35); padding: 7px; border-radius: 50%;
}
.gallery-overlay span {
  color: #fff; font-weight: 700; font-size: 0.92rem;
  background: rgba(0,0,0,0.3);
  padding: 4px 12px; border-radius: 20px;
  backdrop-filter: blur(4px);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center; justify-content: center;
  animation: fadeIn 0.3s ease;
}
.lightbox.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-content {
  position: relative; max-width: 90vw; max-height: 90vh;
  text-align: center;
}
.lightbox-content img {
  max-width: 90vw; max-height: 82vh;
  object-fit: contain; border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.lightbox-content p {
  color: rgba(255,255,255,0.8); font-size: 0.9rem;
  margin-top: 14px; font-weight: 600; letter-spacing: 0.5px;
}
.lightbox-close {
  position: fixed; top: 20px; right: 24px;
  background: rgba(255,255,255,0.15); border: none;
  color: #fff; font-size: 1.3rem; width: 44px; height: 44px;
  border-radius: 50%; cursor: pointer; z-index: 10000;
  transition: background 0.2s;
}
.lightbox-close:hover { background: var(--primary); }
.lightbox-prev, .lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15); border: none;
  color: #fff; font-size: 1.2rem; width: 48px; height: 48px;
  border-radius: 50%; cursor: pointer; z-index: 10000;
  transition: background 0.2s;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--primary); }

/* ===== WHY SECTION ===== */
.why-section { background: #ffffff; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.why-item {
  background: linear-gradient(135deg, #faf5ff, #fff1f5);
  border: 1.5px solid #e9d5ff;
  border-radius: 20px; padding: 30px;
  transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.why-item::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient2);
  transform: scaleX(0); transition: transform 0.4s;
  transform-origin: left;
}
.why-item:hover { border-color: #a78bfa; transform: translateY(-6px); box-shadow: 0 20px 50px rgba(123,47,247,0.12); }
.why-item:hover::before { transform: scaleX(1); }
.why-num {
  font-size: 3.2rem; font-weight: 800; line-height: 1;
  background: var(--gradient2);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 14px;
}
.why-item h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.why-item p { color: var(--text2); font-size: 0.87rem; line-height: 1.7; }

/* ===== CONTACT ===== */
.contact-section { background: var(--dark2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: #ffffff;
  border: 1.5px solid var(--card-border);
  border-radius: 16px; padding: 20px;
  transition: all 0.3s;
  box-shadow: 0 2px 12px rgba(123,47,247,0.06);
}
.contact-card:hover { border-color: var(--primary); box-shadow: 0 8px 30px rgba(255,107,53,0.12); transform: translateY(-2px); }
.contact-icon {
  width: 46px; height: 46px; min-width: 46px;
  background: linear-gradient(135deg, #fff1ec, #fce7f3);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.1rem;
}
.contact-card h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 6px; color: var(--secondary); }
.contact-card p, .contact-card a { font-size: 0.87rem; color: var(--text2); line-height: 1.8; }
.contact-card a:hover { color: var(--primary); }
.map-link { color: var(--accent) !important; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.contact-form-box {
  background: #ffffff;
  border: 1.5px solid var(--card-border);
  border-radius: 24px; padding: 36px;
  box-shadow: 0 4px 24px rgba(123,47,247,0.08);
}
.contact-form h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 24px; color: var(--text); }
.form-group { position: relative; margin-bottom: 16px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 13px 44px 13px 16px;
  background: #f9f8ff;
  border: 1.5px solid #e5e0ff;
  border-radius: 12px; color: var(--text);
  font-family: 'Poppins', sans-serif; font-size: 0.88rem;
  transition: border-color 0.3s, background 0.3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #aaa; }
.form-group textarea { padding: 13px 16px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff8f5;
}
.form-group select option { background: #fff; color: var(--text); }
.form-group > i { position: absolute; right: 14px; top: 15px; color: #c4b5fd; font-size: 0.88rem; pointer-events: none; }
.form-success {
  display: none; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 40px; gap: 12px;
}
.form-success i { font-size: 3.5rem; color: var(--green); }
.form-success h3 { font-size: 1.4rem; color: var(--text); }
.form-success p { color: var(--text2); }

/* ===== FOOTER ===== */
.footer { background: #1a0845; border-top: 3px solid transparent; border-image: var(--gradient) 1; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px; padding: 70px 40px 40px;
  max-width: 1200px; margin: 0 auto;
}
.footer-brand i {
  font-size: 2.2rem;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 4px;
  background: #ffffff;
  padding: 6px 10px;
}
.footer-brand span { display: block; font-size: 1.5rem; font-weight: 800; margin: 8px 0; color: #fff; }
.footer-brand p { color: #9ca3af; font-size: 0.84rem; line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: #aaa; font-size: 1rem; transition: all 0.3s;
}
.social-links a:hover { background: var(--gradient); color: #fff; border-color: transparent; transform: translateY(-4px); box-shadow: 0 8px 20px rgba(255,107,53,0.4); }
.footer-links h4, .footer-facilities h4, .footer-contact h4 {
  font-size: 0.95rem; font-weight: 800; margin-bottom: 20px;
  position: relative; padding-bottom: 12px; color: #fff;
}
.footer-links h4::after, .footer-facilities h4::after, .footer-contact h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 30px; height: 2px; background: var(--gradient);
}
.footer-links ul li, .footer-facilities ul li { margin-bottom: 10px; font-size: 0.86rem; color: #9ca3af; transition: color 0.3s; }
.footer-links ul li a:hover { color: var(--primary); }
.footer-facilities ul li { display: flex; align-items: center; gap: 8px; }
.footer-facilities ul li i { color: var(--primary); font-size: 0.72rem; }
.footer-contact p { font-size: 0.86rem; color: #9ca3af; margin-bottom: 12px; display: flex; align-items: flex-start; gap: 10px; line-height: 1.6; }
.footer-contact p i { color: var(--primary); margin-top: 3px; min-width: 14px; }
.footer-bottom {
  text-align: center; padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #6b7280; font-size: 0.82rem;
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
  position: fixed; bottom: 30px; left: 30px; z-index: 999;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff; padding: 14px 20px; border-radius: 50px;
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 0.88rem;
  box-shadow: 0 10px 30px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
  animation: pulse-wa 2.5s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.06); box-shadow: 0 16px 40px rgba(37,211,102,0.6); }
.whatsapp-float i { font-size: 1.3rem; }
@keyframes pulse-wa {
  0%,100% { box-shadow: 0 10px 30px rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 10px 55px rgba(37,211,102,0.7); }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--gradient); color: #fff; border: none;
  font-size: 1rem; cursor: pointer;
  box-shadow: 0 10px 30px rgba(255,107,53,0.4);
  transition: all 0.3s; opacity: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(255,107,53,0.6); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .navbar { padding: 12px 16px; }
  .nav-logo { gap: 8px; font-size: 1rem; max-width: calc(100% - 56px); }
  .nav-logo span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav-logo-img { height: 34px; }
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26, 8, 69, 0.97);
    backdrop-filter: blur(16px);
    padding: 90px 30px 40px;
    gap: 4px;
    z-index: 999;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1.1rem;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: block;
  }
  .nav-links a:hover { color: var(--primary) !important; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 10px;
    background: rgba(255,255,255,0.15);
    color: #fff; font-size: 1.2rem;
    z-index: 1001; position: relative;
    flex-shrink: 0;
  }
  .navbar.scrolled .nav-toggle { background: rgba(123,47,247,0.12); color: var(--text); }
  .hero-content { padding: 130px 20px 20px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-item.g-large { grid-column: span 2; }
  .gallery-item.g-tall  { grid-row: span 1; }
  .footer-top { grid-template-columns: 1fr; padding: 40px 20px; }
  .hero-stats { gap: 24px; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 14px; border-radius: 50%; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
@media (max-width: 480px) {
  .section { padding: 70px 0; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-item.g-large { grid-column: span 1; }
  .gallery-item.g-tall  { grid-row: span 1; }
  .about-highlights { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: 1fr; }
}
