/* ============================================================
   DREAM HOME PG - FRONTEND CSS
   ============================================================ */

:root {
  --primary: #6C5CE7;
  --primary-dark: #5A4BD1;
  --primary-light: #a29bfe;
  --accent: #00CEC9;
  --secondary: #FD7272;
  --dark: #1a1a2e;
  --dark-2: #16213e;
  --gray: #6c757d;
  --gray-light: #f8f9fa;
  --white: #ffffff;
  --text: #2d3436;
  --text-muted: #636e72;
  --border: #e9ecef;
  --shadow: 0 4px 20px rgba(108,92,231,0.12);
  --shadow-lg: 0 10px 40px rgba(108,92,231,0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
  --font: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 80px 0; }
.bg-light { background: #f8f6ff; }
.mt-2 { margin-top: 0.5rem; } .mt-4 { margin-top: 1rem; } .mt-5 { margin-top: 2rem; }
.text-primary { color: var(--primary) !important; }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--white) !important; }
.text-white-60 { color: rgba(255,255,255,0.7); }
.text-accent { color: var(--accent) !important; }
.text-center { text-align: center; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; cursor: pointer; border: 2px solid transparent; transition: var(--transition); white-space: nowrap; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(108,92,231,0.4); }
.btn-outline-primary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: var(--white); color: var(--primary); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--gray-light); transform: translateY(-2px); }
.btn-whatsapp { background: #25D366; color: var(--white); border-color: #25D366; }
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); }
.w-full { width: 100%; justify-content: center; }
.ms-1 { margin-left: 4px; } .ms-2 { margin-left: 8px; }

/* ── SECTION HEADERS ── */
.section-header { text-align: center; margin-bottom: 50px; }
.section-label { display: inline-block; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 700; font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; color: var(--dark); line-height: 1.2; margin-bottom: 16px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ── NAVBAR ── */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: var(--transition); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.navbar.scrolled { background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); box-shadow: 0 2px 20px rgba(0,0,0,0.08); padding: 10px 0; }
.navbar-brand { display: flex; align-items: center; }
.logo-text { font-size: 1.5rem; font-weight: 800; color: var(--white); display: flex; align-items: center; gap: 8px; }
.navbar.scrolled .logo-text { color: var(--dark); }
.logo-img { height: 40px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-link { padding: 8px 16px; border-radius: 50px; color: rgba(255,255,255,0.9); font-weight: 500; font-size: 0.95rem; }
.navbar.scrolled .nav-link { color: var(--text); }
.nav-link:hover, .nav-link.active { color: var(--primary); background: rgba(108,92,231,0.08); }
.navbar.scrolled .nav-link:hover, .navbar.scrolled .nav-link.active { color: var(--primary); }
.nav-cta { background: var(--white) !important; color: var(--primary) !important; padding: 10px 22px; margin-left: 8px; }
.navbar.scrolled .nav-cta { background: var(--primary) !important; color: var(--white) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.navbar.scrolled .nav-toggle span { background: var(--dark); }

/* ── HERO ── */
.hero-section { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 70%, #533483 100%); }
.hero-bg::before { content: ''; position: absolute; inset: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><circle cx="400" cy="300" r="200" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="80"/><circle cx="400" cy="300" r="300" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="80"/></svg>'); background-size: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(26,26,46,0.3) 0%, rgba(26,26,46,0.1) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 100px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); color: var(--white); padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.2); margin-bottom: 24px; }
.hero-title { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; color: var(--white); line-height: 1.1; margin-bottom: 20px; }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(255,255,255,0.8); max-width: 600px; margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.stat-num { display: block; font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); font-weight: 500; }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; }
.hero-wave svg { display: block; }

/* ── ABOUT SECTION ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image-wrap { position: relative; height: 500px; }
.about-img-card { position: absolute; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img-card img { width: 100%; height: 100%; object-fit: cover; }
.about-img-main { width: 75%; height: 380px; left: 0; top: 0; }
.about-img-secondary { width: 55%; height: 260px; right: 0; bottom: 0; border: 4px solid var(--white); }
.about-badge-floating { position: absolute; bottom: 80px; left: -20px; background: var(--primary); color: var(--white); padding: 16px 24px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow-lg); z-index: 2; }
.about-badge-floating .count { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.about-badge-floating .label { font-size: 0.8rem; opacity: 0.9; }
.about-content .section-label { display: block; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.about-feature { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--gray-light); border-radius: 8px; font-weight: 600; font-size: 0.9rem; }
.about-feature i { color: var(--primary); }

/* ── PG CARDS ── */
.pg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.pg-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.06); transition: var(--transition); border: 1px solid var(--border); }
.pg-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pg-card-image { position: relative; height: 220px; overflow: hidden; }
.pg-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pg-card:hover .pg-card-image img { transform: scale(1.05); }
.pg-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; }
.badge-featured { background: linear-gradient(135deg, #f6d365, #fda085); color: #5d4037; }
.badge-male { background: #e3f2fd; color: #1565c0; }
.badge-female { background: #fce4ec; color: #880e4f; }
.badge-unisex { background: #e8f5e9; color: #2e7d32; }
.badge-occupancy { background: rgba(255,255,255,0.9); color: var(--dark); }
.seats-badge { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,0.7); color: var(--white); padding: 4px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.seats-badge.no-seats { background: rgba(220,53,69,0.85); }
.pg-card-body { padding: 20px; }
.pg-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.pg-location, .pg-occupancy { color: var(--text-muted); font-size: 0.875rem; display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.pg-location i, .pg-occupancy i { color: var(--primary); }
.pg-amenities { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.amenity-tag { background: #f0eeff; color: var(--primary); padding: 3px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.amenity-tag i { font-size: 0.65rem; }
.pg-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); margin-top: 12px; }
.rent-label { display: block; font-size: 0.75rem; color: var(--text-muted); }
.rent-amount { font-size: 1.2rem; font-weight: 800; color: var(--primary); }

/* ── WHY CHOOSE ── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.why-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px 28px; box-shadow: 0 2px 15px rgba(0,0,0,0.06); border: 1px solid var(--border); transition: var(--transition); text-align: center; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.why-icon { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin: 0 auto 20px; box-shadow: 0 8px 20px rgba(108,92,231,0.3); }
.why-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.why-card p { color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; }

/* ── AMENITIES SECTION ── */
.bg-dark-gradient { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
.section-header.light .section-label { -webkit-text-fill-color: var(--accent); color: var(--accent); background: none; }
.amenities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }
.amenity-item { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); transition: var(--transition); cursor: default; }
.amenity-item:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.amenity-icon { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--white); }
.amenity-item span { color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500; text-align: center; }

/* ── CTA SECTION ── */
.cta-section { padding: 0 0 80px; }
.cta-card { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: var(--radius-lg); padding: 56px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.cta-content h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); color: var(--white); margin-bottom: 10px; }
.cta-content p { color: rgba(255,255,255,0.85); font-size: 1rem; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── PAGE HEADER ── */
.page-header { background: linear-gradient(135deg, #1a1a2e, #16213e, #533483); padding: 120px 0 50px; text-align: center; }
.page-header h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 16px; }
.breadcrumb-nav { display: flex; align-items: center; justify-content: center; gap: 8px; color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.breadcrumb-nav a { color: rgba(255,255,255,0.7); }
.breadcrumb-nav a:hover { color: var(--white); }
.breadcrumb-nav i { font-size: 0.65rem; }
.breadcrumb-nav span { color: var(--primary-light); }

/* ── FILTER SIDEBAR ── */
.listings-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.filter-sidebar { background: var(--white); border-radius: var(--radius-lg); padding: 24px; box-shadow: 0 2px 15px rgba(0,0,0,0.06); border: 1px solid var(--border); position: sticky; top: 90px; }
.filter-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.filter-header h3 { font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.filter-clear { color: var(--primary); font-size: 0.85rem; font-weight: 600; }
.filter-group { margin-bottom: 20px; }
.filter-group label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 8px; color: var(--dark); }
.filter-select, .filter-input { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 0.9rem; color: var(--text); transition: var(--transition); background: var(--white); }
.filter-select:focus, .filter-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(108,92,231,0.1); }
.filter-radio-group { display: flex; flex-direction: column; gap: 8px; }
.filter-radio { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.9rem; }
.filter-radio input[type="radio"] { accent-color: var(--primary); }
.price-range-inputs { display: flex; align-items: center; gap: 8px; }
.price-range-inputs span { color: var(--text-muted); flex-shrink: 0; }
.price-range-inputs .filter-input { flex: 1; }

.listings-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.results-count { color: var(--text-muted); font-size: 0.9rem; }
.sort-group { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.sort-group .filter-select { width: auto; }

/* ── PG DETAIL ── */
.pg-detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 12px; }
.gallery-img { width: 100%; height: 420px; object-fit: cover; }
.gallery-thumbs { margin-top: 8px; }
.gallery-thumbs .swiper-slide { cursor: pointer; border-radius: 8px; overflow: hidden; opacity: 0.6; transition: var(--transition); }
.gallery-thumbs .swiper-slide-thumb-active { opacity: 1; }
.gallery-thumbs img { width: 100%; height: 70px; object-fit: cover; }
.swiper-button-next, .swiper-button-prev { color: var(--white) !important; background: rgba(0,0,0,0.4); width: 40px !important; height: 40px !important; border-radius: 50%; }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 14px !important; }

.pg-info-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 2px 15px rgba(0,0,0,0.06); border: 1px solid var(--border); margin-top: 20px; }
.pg-info-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.pg-detail-name { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--dark); }
.pg-detail-location { color: var(--text-muted); display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.pg-detail-location i { color: var(--primary); }
.pg-detail-badges { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; flex-shrink: 0; }
.pg-quick-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 24px; }
.quick-stat { display: flex; align-items: center; gap: 12px; padding: 16px; background: #f8f6ff; border-radius: 10px; }
.quick-stat i { font-size: 1.3rem; color: var(--primary); }
.quick-stat span { display: block; font-size: 0.8rem; color: var(--text-muted); }
.quick-stat strong { font-size: 1rem; font-weight: 700; color: var(--dark); }
.pg-description h3, .room-types-section h3, .amenities-detail-section h3 { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); display: inline-block; }
.pg-description p { color: var(--text-muted); line-height: 1.8; }
.room-types-section { margin-top: 24px; }
.room-types-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; margin-top: 16px; }
.room-type-card { text-align: center; padding: 20px 16px; background: #f8f6ff; border-radius: var(--radius); border: 1.5px solid var(--border); transition: var(--transition); }
.room-type-card:hover { border-color: var(--primary); }
.room-type-icon { font-size: 1.5rem; color: var(--primary); margin-bottom: 8px; }
.room-type-card h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; }
.room-rent { font-size: 1rem; font-weight: 800; color: var(--primary); margin: 4px 0; }
.room-avail { font-size: 0.8rem; color: var(--text-muted); }
.amenities-detail-section { margin-top: 24px; }
.amenities-detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-top: 16px; }
.amenity-detail-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #f8f6ff; border-radius: 8px; font-size: 0.875rem; font-weight: 600; color: var(--dark); }
.amenity-detail-item i { color: var(--primary); width: 18px; text-align: center; }

.pg-detail-sidebar { position: sticky; top: 90px; }
.contact-card, .enquiry-card { background: var(--white); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--border); margin-bottom: 20px; }
.contact-card h3, .enquiry-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; color: var(--dark); display: flex; align-items: center; gap: 8px; }
.contact-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px; border-radius: 10px; font-weight: 700; font-size: 1rem; margin-bottom: 12px; transition: var(--transition); }
.call-btn { background: var(--primary); color: var(--white); }
.call-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.whatsapp-btn { background: #25D366; color: var(--white); }
.whatsapp-btn:hover { background: #1da851; transform: translateY(-2px); }

/* ── FORMS ── */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 6px; color: var(--dark); }
.form-control { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 10px; font-size: 0.95rem; color: var(--text); transition: var(--transition); font-family: var(--font); background: var(--white); }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(108,92,231,0.1); }
.form-control.is-invalid { border-color: #dc3545; }
.invalid-feedback { color: #dc3545; font-size: 0.8rem; display: block; margin-top: 4px; }
textarea.form-control { resize: vertical; min-height: 120px; }

.alert { padding: 14px 18px; border-radius: 10px; display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; font-size: 0.9rem; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ── CONTACT PAGE ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info-cards { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; padding: 18px; background: var(--gray-light); border-radius: var(--radius); }
.contact-info-icon { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-info-icon.whatsapp-icon { background: linear-gradient(135deg, #25D366, #1da851); }
.contact-info-item h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.contact-info-item a, .contact-info-item p { color: var(--text-muted); font-size: 0.9rem; }
.contact-info-item a:hover { color: var(--primary); }
.contact-social { margin-top: 24px; }
.contact-social h4 { font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: var(--transition); }
.social-links a:hover { transform: translateY(-3px); box-shadow: 0 6px 15px rgba(108,92,231,0.4); }
.contact-form-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.contact-form-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; color: var(--dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── ABOUT - Mission/Vision ── */
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mv-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px 28px; box-shadow: 0 2px 15px rgba(0,0,0,0.06); border: 1px solid var(--border); text-align: center; transition: var(--transition); }
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mv-icon { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin: 0 auto 20px; }
.mv-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.mv-card p { color: var(--text-muted); line-height: 1.8; font-size: 0.95rem; }

/* ── FOOTER ── */
.footer { background: var(--dark); color: rgba(255,255,255,0.8); }
.footer-top { padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 48px; }
.footer-logo { font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.footer-logo span { color: var(--primary-light); }
.footer-col p { line-height: 1.8; font-size: 0.9rem; opacity: 0.8; }
.footer-col h4 { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; display: flex; align-items: center; gap: 8px; transition: var(--transition); }
.footer-links a i { color: var(--primary-light); font-size: 0.65rem; }
.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-contact { list-style: none; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 0.9rem; opacity: 0.85; }
.footer-contact i { color: var(--primary-light); margin-top: 3px; flex-shrink: 0; }
.footer-contact a:hover { color: var(--primary-light); }
.footer .social-links { margin-top: 20px; }
.footer .social-links a { background: rgba(255,255,255,0.08); }
.footer .social-links a:hover { background: var(--primary); }
.footer-bottom { background: rgba(0,0,0,0.2); padding: 16px 0; text-align: center; font-size: 0.875rem; opacity: 0.7; }

/* ── PAGINATION ── */
.pagination-wrap { margin-top: 32px; display: flex; justify-content: center; }
.pagination-nav { display: flex; gap: 6px; align-items: center; }
.page-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--white); border: 1.5px solid var(--border); color: var(--text); font-size: 0.9rem; font-weight: 600; transition: var(--transition); }
.page-btn:hover:not(.disabled) { background: var(--primary); color: var(--white); border-color: var(--primary); }
.page-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.page-btn.disabled { opacity: 0.4; cursor: not-allowed; }

/* ── FLASH TOAST ── */
.alert-toast { position: fixed; top: 90px; right: 20px; z-index: 9999; padding: 14px 20px; border-radius: 10px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.9rem; box-shadow: 0 8px 25px rgba(0,0,0,0.15); animation: slideIn 0.3s ease, fadeOut 0.4s ease 3.5s forwards; }
.alert-toast.alert-success { background: #28a745; color: var(--white); }
.alert-toast.alert-danger { background: #dc3545; color: var(--white); }
@keyframes slideIn { from { transform: translateX(100px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; transform: translateX(100px); } }

/* ── NO RESULTS ── */
.no-results { text-align: center; padding: 60px 20px; }
.no-results i { font-size: 3rem; color: var(--primary-light); margin-bottom: 16px; }
.no-results h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.no-results p { color: var(--text-muted); margin-bottom: 20px; }

/* ── RELATED ── */
.related-section h2 { margin-bottom: 28px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .pg-detail-layout { grid-template-columns: 1fr; }
    .pg-detail-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .listings-layout { grid-template-columns: 240px 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid .footer-col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .section-pad { padding: 56px 0; }
    .nav-menu { display: none; position: fixed; top: 0; right: 0; height: 100vh; width: 80%; max-width: 320px; background: var(--dark); flex-direction: column; align-items: flex-start; padding: 80px 24px 24px; gap: 4px; transition: transform 0.35s ease; transform: translateX(100%); box-shadow: -10px 0 30px rgba(0,0,0,0.2); z-index: 999; }
    .nav-menu.open { transform: translateX(0); display: flex; }
    .nav-link { color: rgba(255,255,255,0.9); width: 100%; padding: 12px 16px; }
    .nav-cta { width: 100%; justify-content: center; margin-left: 0; margin-top: 8px; background: var(--primary) !important; color: var(--white) !important; }
    .nav-toggle { display: flex; z-index: 1001; }
    .about-grid { grid-template-columns: 1fr; }
    .about-image-wrap { height: 320px; }
    .about-img-main { width: 80%; height: 240px; }
    .about-img-secondary { width: 60%; height: 180px; }
    .listings-layout { grid-template-columns: 1fr; }
    .filter-sidebar { position: static; }
    .contact-layout { grid-template-columns: 1fr; }
    .mv-grid { grid-template-columns: 1fr; }
    .pg-quick-stats { grid-template-columns: 1fr 1fr; }
    .cta-card { flex-direction: column; text-align: center; padding: 40px 24px; }
    .hero-stats { gap: 24px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .pg-grid { grid-template-columns: 1fr; }
    .pg-detail-sidebar { grid-template-columns: 1fr; }
    .amenities-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }
    .why-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .gallery-img { height: 260px; }
    .pg-info-header { flex-direction: column; }
}

/* ══════════════════════════════════════════════════════════════
   HERO SLIDER — Modern full-screen
══════════════════════════════════════════════════════════════ */
.hero-slider-section { position: relative; overflow: hidden; }
.hero-swiper { width: 100%; height: 100vh; min-height: 600px; max-height: 900px; }
.hero-static { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 70%, #533483 100%); }
.hero-overlay { position: absolute; inset: 0; }
.hero-slide { background-size: cover; background-position: center; background-repeat: no-repeat; display: flex; align-items: center; position: relative; }
.hero-slide-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10,10,30,0.82) 0%, rgba(10,10,30,0.45) 55%, rgba(10,10,30,0.25) 100%); }
.hero-slide-content { position: relative; z-index: 2; display: flex; align-items: center; width: 100%; padding-top: 90px; padding-bottom: 60px; }
.hero-slide-inner { max-width: 720px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12); backdrop-filter: blur(10px); color: var(--white); padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.25); margin-bottom: 22px; }
.hero-slide-title { font-family: var(--font-display); font-size: clamp(2.2rem, 5.5vw, 4.5rem); font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 18px; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero-slide-subtitle { font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,0.85); max-width: 560px; margin-bottom: 34px; line-height: 1.7; }
.hero-slide-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 50px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.15); }
.hero-stat { text-align: center; }
.stat-num { display: block; font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.65); font-weight: 500; }

/* Slider navigation */
.hero-swiper-prev, .hero-swiper-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 50px; height: 50px; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; transition: var(--transition); font-size: 1.1rem; }
.hero-swiper-prev { left: 24px; }
.hero-swiper-next { right: 24px; }
.hero-swiper-prev:hover, .hero-swiper-next:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-50%) scale(1.1); }
.hero-swiper-pagination { bottom: 24px !important; }
.hero-swiper-pagination .swiper-pagination-bullet { width: 10px; height: 10px; background: rgba(255,255,255,0.5); opacity: 1; }
.hero-swiper-pagination .swiper-pagination-bullet-active { background: #fff; width: 28px; border-radius: 5px; }

/* Progress bar */
.hero-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,0.2); z-index: 10; }
.hero-progress-bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); width: 0%; transition: width 5s linear; }

/* Wave */
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 5; line-height: 0; }
.hero-wave svg { width: 100%; height: auto; }

/* Slide animation */
.swiper-slide-active .animate-fade-up { animation: fadeUp 0.7s ease forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.swiper-slide-active .hero-badge { animation-delay: 0.1s; }
.swiper-slide-active .hero-slide-title { animation-delay: 0.25s; }
.swiper-slide-active .hero-slide-subtitle { animation-delay: 0.4s; }
.swiper-slide-active .hero-slide-actions { animation-delay: 0.55s; }
.swiper-slide-active .hero-stats { animation-delay: 0.65s; }

/* ══════════════════════════════════════════════════════════════
   LOCATION GALLERY SECTION
══════════════════════════════════════════════════════════════ */
.location-gallery-section { background: #fff; }
.loc-gallery-block { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 40px; box-shadow: 0 4px 24px rgba(108,92,231,0.07); }
.loc-gallery-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 28px; background: linear-gradient(135deg, #f8f6ff 0%, #fff 100%); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.loc-gallery-title-wrap { display: flex; align-items: flex-start; gap: 16px; }
.loc-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; flex-shrink: 0; }
.loc-gallery-title { font-size: 1.3rem; font-weight: 700; color: var(--dark); margin: 0 0 4px; }
.loc-gallery-desc { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.loc-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.loc-tab { padding: 8px 18px; border-radius: 50px; border: 2px solid var(--border); background: #fff; color: var(--text-muted); font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.loc-tab.active, .loc-tab:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.loc-tab-content { display: none; padding: 24px 28px; }
.loc-tab-content.active { display: block; }

/* Image Grid */
.loc-image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.loc-img-item { position: relative; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; cursor: pointer; }
.loc-img-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.loc-img-item:hover img { transform: scale(1.07); }
.loc-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent); opacity: 0; transition: opacity 0.3s; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; gap: 6px; font-size: 1.3rem; }
.loc-img-item:hover .loc-img-overlay { opacity: 1; }
.loc-img-overlay span { font-size: 0.8rem; font-weight: 500; padding: 0 12px; text-align: center; }

/* Video Grid */
.loc-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.loc-video-item { border-radius: 10px; overflow: hidden; background: #000; }
.loc-video { width: 100%; max-height: 240px; display: block; border-radius: 10px 10px 0 0; }
.loc-video-caption { background: #f8f6ff; padding: 10px 14px; font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }

/* Lightbox (shared) */
.pg-lightbox, .loc-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.94); z-index: 9999; display: none; align-items: center; justify-content: center; }
.pg-lightbox.active, .loc-lightbox.active { display: flex; }
.lightbox-img-wrap { position: relative; max-width: 90vw; max-height: 85vh; }
.lightbox-img-wrap img { max-width: 90vw; max-height: 85vh; border-radius: 8px; object-fit: contain; }
.lightbox-close { position: fixed; top: 20px; right: 24px; background: rgba(255,255,255,0.15); border: none; color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; transition: var(--transition); z-index: 10; }
.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; width: 48px; height: 48px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; transition: var(--transition); z-index: 10; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--primary); }
.lightbox-counter { position: absolute; bottom: -32px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.lightbox-caption { position: absolute; bottom: -54px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.85); font-size: 0.9rem; white-space: nowrap; display: none; }

/* ══════════════════════════════════════════════════════════════
   PG DETAIL — Main image hero (clean top)
══════════════════════════════════════════════════════════════ */
.pg-main-image-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 24px; box-shadow: var(--shadow-lg); background: #000; }
.pg-main-hero-img { width: 100%; height: 420px; object-fit: cover; display: block; }
.pg-main-img-badges { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; flex-wrap: wrap; }

/* Photo grid (gallery below) */
.pg-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pg-photo-item { position: relative; aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; cursor: pointer; }
.pg-photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.pg-photo-item:hover img { transform: scale(1.05); }
.photo-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.35); opacity: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; transition: opacity 0.3s; }
.pg-photo-item:hover .photo-overlay { opacity: 1; }

/* Card sections on PG detail */
.pg-extra-gallery-card, .pg-description-card, .pg-amenities-card, .pg-room-card { background: #fff; border-radius: var(--radius); padding: 24px; margin-bottom: 20px; box-shadow: 0 2px 12px rgba(108,92,231,0.07); border: 1px solid var(--border); }
.section-card-title { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.section-card-title i { color: var(--primary); }
.amenities-tag-grid, .room-types-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.amenity-chip, .room-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: #f0eeff; color: var(--primary); border-radius: 50px; font-size: 0.85rem; font-weight: 500; }
.amenity-chip i, .room-chip i { font-size: 0.75rem; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .hero-swiper { height: 85vh; min-height: 520px; }
    .hero-slide-title { font-size: clamp(1.7rem, 7vw, 2.8rem); }
    .hero-stats { gap: 20px; }
    .stat-num { font-size: 1.5rem; }
    .hero-swiper-prev, .hero-swiper-next { width: 38px; height: 38px; font-size: 0.95rem; }
    .hero-swiper-prev { left: 10px; }
    .hero-swiper-next { right: 10px; }
    .loc-gallery-header { flex-direction: column; gap: 14px; }
    .loc-image-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .loc-video-grid { grid-template-columns: 1fr; }
    .pg-main-hero-img { height: 260px; }
    .lightbox-prev { left: 6px; }
    .lightbox-next { right: 6px; }
}
@media (max-width: 480px) {
    .hero-slide-actions { flex-direction: column; }
    .hero-slide-actions .btn { width: 100%; justify-content: center; }
    .loc-image-grid { grid-template-columns: repeat(2, 1fr); }
    .pg-photo-grid { grid-template-columns: repeat(2, 1fr); }
}
