/* ===== GENERAL RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #F9FAFB; /* White Sand */
  color: #1F2937; /* Text dark */
  line-height: 1.6;
}

/* Mobile-first base */
html, body { max-width: 100vw; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
button { min-height: 44px; }
.navbar, .navbar ul { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.navbar a { white-space: nowrap; }

/* ===== COLOR VARIABLES ===== */
:root {
  --krishna-blue: #1E3A8A;   /* Divine Royal Blue */
  --sudama-gold: #EAB308;    /* Warm Gold */
  --sky-blue: #38BDF8;       /* Accent Sky */
  --navy-dark: #0F172A;      /* Deep Navy */
  --white-sand: #F9FAFB;     /* Light background */
}

/* ===== HEADER ===== */
.header {
  position: relative;
  height: 80vh;
  overflow: hidden;
  background: linear-gradient(to bottom right, var(--krishna-blue), var(--navy-dark));
}

.header-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  filter: brightness(60%);
  transition: transform 5s ease-in-out;
}

.header:hover .header-img {
  transform: scale(1.05);
}

.header-text {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: #fff;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.header-text h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--sudama-gold);
  letter-spacing: 1px;
  animation: fadeInDown 2s ease;
}


.header-text p {
  margin-top: 10px;
  font-size: 1.2rem;
  animation: fadeInUp 2s ease;
}

/* ===== NAVBAR ===== */
.navbar {
  background: var(--navy-dark);
  padding: 15px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.navbar a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
}

.navbar a:hover {
  color: var(--sudama-gold);
  text-shadow: 0 0 10px var(--sudama-gold);
}

/* ===== FLAT VIEW SECTION ===== */
.flat-view {
  text-align: center;
  padding: 80px 20px;
  background: var(--white-sand);
}

.flat-view h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--krishna-blue);
}

.flat-view p {
  color: #555;
  margin-bottom: 25px;
}

.flat-view button {
  background: var(--krishna-blue);
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
  transition: all 0.3s ease;
}

.flat-view button:hover {
  background: var(--sudama-gold);
  color: var(--navy-dark);
  box-shadow: 0 6px 25px rgba(234, 179, 8, 0.4);
}

.video-container {
  margin-top: 30px;
}

.flat-video {
  width: 90%;
  max-width: 700px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ===== AMENITIES ===== */
.amenities {
  background: linear-gradient(to bottom right, #EFF6FF, #E0E7FF);
  padding: 80px 20px;
  text-align: center;
}

.amenities h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: var(--krishna-blue);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.amenity-card {
  background: #fff;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 3px solid transparent;
}

.amenity-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(30, 58, 138, 0.2);
  border-top: 3px solid var(--sudama-gold);
}

.amenity-card img {
  width: 100%;
  border-radius: 10px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 10px;
}

.amenity-card p {
  font-weight: 500;
  color: var(--navy-dark);
}

/* ===== LOCATION ===== */
.location {
  padding: 80px 20px;
  text-align: center;
  background: #F1F5F9;
}

.location h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--krishna-blue);
}

.location p {
  color: #555;
  margin-bottom: 25px;
}

.map-container iframe {
  width: 90%;
  max-width: 900px;
  height: 400px;
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== gallery ===== */

/* =========================================================
   ⭐ GALLERY SECTION (Krishna-Sudama Theme Style)
   ========================================================= */
.image-gallery {
  padding: 80px 20px;
  text-align: center;
  background: var(--white-sand);
}

.image-gallery h2 {
  font-size: 2.2rem;
  color: var(--krishna-blue);
  margin-bottom: 25px;
  font-weight: 700;
}

/* --- Slider Container --- */
.gallery-slider {
  position: relative;
  width: 95%;
  max-width: 650px; /* Increased width */
  margin: auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 40px rgba(0, 10, 50, 0.15);
  overflow: hidden;
  padding-bottom: 20px;
}

/* --- Each Slide --- */
.slide {
  display: none;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 22px 22px 0 0;
}

/* --- Navigation Buttons --- */
.gallery-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: var(--krishna-blue);
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(30, 58, 138, 0.3);
  transition: 0.3s ease;
}

.gallery-btn:hover {
  background: var(--sudama-gold);
  color: var(--navy-dark);
  box-shadow: 0 10px 25px rgba(234, 179, 8, 0.4);
}

.prev {
  left: 15px;
}

.next {
  right: 15px;
}

/* --- Dots --- */
.gallery-dots {
  margin-top: 12px;
}

.gallery-dots span {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  display: inline-block;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-dots .active-dot {
  background: var(--sudama-gold);
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(234, 179, 8, 0.6);
}

/* ===== VIDEO CONTAINER FIX (MATCHING SCREENSHOT) ===== */

#videoContainer {
  display: none;
  width: 350px;               /* same width as screenshot */
  margin: 25px auto 0 auto;   /* center the card */
}

#videoContainer video {
  width: 100%;
  aspect-ratio: 9 / 16;       /* tall vertical video (like your screenshot) */
  border-radius: 18px;        /* rounded corners */
  object-fit: cover;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25); /* soft shadow */
  display: block;
}
