/* ============================================================
   JAY P HOME STAY — MAIN STYLESHEET
   ============================================================ */

:root {
  --gold:       #C99B42;
  --gold-light: #F0C96B;
  --teal:       #0A9B8D;
  --teal-dark:  #07776C;
  --dark:       #1A1A2E;
  --dark2:      #16213E;
  --text:       #333444;
  --text-muted: #6B7280;
  --white:      #FFFFFF;
  --bg-light:   #F7F8FC;
  --bg-warm:    #FFFBF4;
  --wa-green:   #25D366;
  --wa-dark:    #128C7E;
  --radius:     16px;
  --shadow:     0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 10px 0;
  transition: var(--transition);
  z-index: 1000;
}

.brand-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 20px;
  flex-shrink: 0;
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--dark);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.68rem;
  color: var(--teal);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-link {
  color: var(--text) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 6px 14px !important;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--teal) !important;
  background: rgba(10, 155, 141, 0.08);
}

.btn-wa {
  background: var(--wa-green);
  color: white !important;
  border: none;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex; align-items: center;
}
.btn-wa:hover {
  background: var(--wa-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-bg-slider {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    110deg,
    rgba(22, 33, 62, 0.88) 0%,
    rgba(10, 155, 141, 0.30) 60%,
    rgba(26, 26, 46, 0.55) 100%
  );
}

.hero-content {
  position: relative; z-index: 2;
}

.hero-badge {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(6px);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #fff;
  animation: fadeSlideDown 0.8s ease 0.2s both;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  animation: fadeSlideUp 0.9s ease 0.4s both;
}
.hero-title .accent { color: var(--gold-light); }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  font-weight: 400;
  line-height: 1.6;
  animation: fadeSlideUp 0.9s ease 0.6s both;
}

.btn-hero-primary {
  background: var(--wa-green);
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex; align-items: center;
  animation: fadeSlideUp 0.9s ease 0.8s both;
}
.btn-hero-primary:hover {
  background: var(--wa-dark); color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37,211,102,0.4);
}

.btn-hero-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex; align-items: center;
  animation: fadeSlideUp 0.9s ease 0.9s both;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.15); color: white;
  border-color: white;
}

.hero-stats {
  animation: fadeSlideUp 0.9s ease 1s both;
}
.stat-item {
  display: flex; flex-direction: column;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem; color: rgba(255,255,255,0.7);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 4px;
}

.scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 3; text-align: center;
  color: rgba(255,255,255,0.6);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  animation: bounce 2s infinite 2s;
}
.scroll-hint span {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.4);
}

@keyframes fadeSlideDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeSlideUp   { from { opacity:0; transform:translateY(30px);  } to { opacity:1; transform:translateY(0); } }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ============================================================
   WHY SECTION
   ============================================================ */
.why-section {
  background: var(--dark);
  padding: 32px 0 !important;
}
.why-card {
  padding: 24px 16px;
  transition: var(--transition);
}
.why-card:hover { transform: translateY(-4px); }
.why-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(10,155,141,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--teal);
  margin: 0 auto 12px;
  border: 1px solid rgba(10,155,141,0.3);
}
.why-card h6 { color: #fff; font-size: 0.95rem; margin-bottom: 4px; font-family:'DM Sans',sans-serif; font-weight:600; }
.why-card p  { color: rgba(255,255,255,0.5); font-size: 0.8rem; margin: 0; }

/* ============================================================
   SECTION LABELS & TITLES
   ============================================================ */
.section-label {
  display: inline-block;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding: 4px 14px;
  background: rgba(10,155,141,0.08);
  border-radius: 30px;
  border: 1px solid rgba(10,155,141,0.2);
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-title .accent { color: var(--teal); }
.section-desc { color: var(--text-muted); font-size: 1rem; line-height: 1.7; }
.section-sub  { color: var(--text-muted); font-size: 0.95rem; max-width: 560px; margin: 0 auto; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: var(--bg-warm); }

.about-img-wrap { position: relative; }
.about-main-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--teal);
  color: white;
  padding: 16px 22px;
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(10,155,141,0.35);
}
.about-badge i { font-size: 1.4rem; color: var(--gold-light); }

.about-list {
  list-style: none; padding: 0; margin: 20px 0 0;
}
.about-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.95rem;
}
.about-list li i { color: var(--teal); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

.btn-primary-custom {
  background: var(--teal);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex; align-items: center;
}
.btn-primary-custom:hover {
  background: var(--teal-dark); color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,155,141,0.35);
}

/* ============================================================
   AMENITIES
   ============================================================ */
.amenities-section { background: var(--white); }

.amenity-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.amenity-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.amenity-img-wrap { position: relative; overflow: hidden; }
.amenity-img {
  width: 100%; height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
  background: linear-gradient(135deg, #e0f7f5, #e8f4f3);
}
.amenity-card:hover .amenity-img { transform: scale(1.06); }
.amenity-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--teal);
  color: white;
  font-size: 0.78rem; font-weight: 600;
  padding: 5px 14px; border-radius: 20px;
}
.amenity-body { padding: 22px; }
.amenity-body h5 { font-size: 1.1rem; margin-bottom: 8px; color: var(--dark); }
.amenity-body p  { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; margin-bottom: 14px; }
.amenity-link {
  color: var(--teal); font-weight: 600; font-size: 0.88rem;
  display: inline-flex; align-items: center;
  transition: var(--transition);
}
.amenity-link:hover { color: var(--teal-dark); gap: 6px; }

/* Placeholder images when real images not loaded */
.amenity-img[src="images/mess.jpg"] {
  background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
}

/* ============================================================
   ROOMS
   ============================================================ */
.rooms-section { background: var(--bg-light); }

.room-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  height: 100%;
}
.room-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.room-card.featured {
  border: 2px solid var(--teal);
  box-shadow: 0 12px 40px rgba(10,155,141,0.2);
}
.featured-tag {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  background: var(--gold);
  color: white;
  font-size: 0.75rem; font-weight: 700;
  padding: 5px 12px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.room-img-wrap { position: relative; overflow: hidden; }
.room-img {
  width: 100%; height: 210px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.room-card:hover .room-img { transform: scale(1.06); }
.room-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--dark);
  color: white;
  font-size: 0.75rem; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
  text-transform: uppercase;
}
.room-body { padding: 22px; }
.room-body h5 { color: var(--dark); margin-bottom: 6px; }
.room-body p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 12px; }
.room-features {
  list-style: none; padding: 0; margin: 0 0 14px;
}
.room-features li {
  font-size: 0.85rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
  padding: 3px 0;
}
.room-features li i { color: var(--teal); }
.room-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 700;
  color: var(--teal);
}
.btn-room {
  background: var(--dark);
  color: white;
  border: none;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600; font-size: 0.88rem;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.btn-room:hover {
  background: var(--wa-green); color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section { background: var(--white); }
.gal-item {
  overflow: hidden; border-radius: var(--radius);
  height: 220px;
  cursor: zoom-in;
}
.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gal-item:hover img { transform: scale(1.08); }

/* ============================================================
   NEARBY
   ============================================================ */
.nearby-section { background: var(--bg-light); }
.nearby-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.nearby-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--teal);
}
.nearby-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: white;
  margin: 0 auto 18px;
}
.nearby-card h5 { color: var(--dark); margin-bottom: 10px; }
.nearby-card p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 16px; }
.nearby-link {
  color: var(--wa-green); font-weight: 600; font-size: 0.88rem;
  display: inline-flex; align-items: center; gap: 4px;
  transition: var(--transition);
}
.nearby-link:hover { color: var(--wa-dark); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: var(--bg-warm); }

.form-control-custom {
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.92rem;
  transition: var(--transition);
  background: var(--white);
}
.form-control-custom:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10,155,141,0.12);
  outline: none;
}
.form-label { font-weight: 600; font-size: 0.85rem; color: var(--dark); margin-bottom: 6px; }

.btn-wa-form {
  background: var(--wa-green);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700; font-size: 1rem;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.btn-wa-form:hover {
  background: var(--wa-dark); color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

.contact-info-card {
  background: var(--dark);
  color: white;
  border-radius: var(--radius);
  padding: 36px 32px;
  height: 100%;
}
.contact-info-card h5 { color: white; margin-bottom: 24px; font-size: 1.3rem; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-item:last-of-type { border-bottom: none; }
.ci-icon {
  width: 40px; height: 40px;
  background: rgba(10,155,141,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item strong { font-size: 0.8rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 4px; font-family:'DM Sans',sans-serif; }
.contact-item p { color: rgba(255,255,255,0.85); font-size: 0.92rem; margin: 0; line-height: 1.7; }
.contact-item a { color: rgba(255,255,255,0.85); transition: var(--transition); }
.contact-item a:hover { color: var(--teal); }

/* ============================================================
   MAP
   ============================================================ */
.map-header { background: var(--dark); color: white; }
.map-header h4 { color: white; margin-bottom: 4px; }
.map-header p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin: 0; }
.map-wrap iframe { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0E0E1A; color: rgba(255,255,255,0.7); }

.brand-icon-sm {
  width: 36px; height: 36px;
  background: var(--teal);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 17px;
}
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: white; font-weight: 700;
}
.footer-desc { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.5); }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 1rem;
  transition: var(--transition);
}
.social-btn:hover { background: var(--teal); color: white; }
.social-btn.wa:hover { background: var(--wa-green); }

.footer-heading {
  color: white; font-size: 0.88rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 18px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--teal); padding-left: 4px; }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex; gap: 10px; align-items: flex-start;
  color: rgba(255,255,255,0.55); font-size: 0.85rem;
  margin-bottom: 12px; line-height: 1.5;
}
.footer-contact li i { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-contact a:hover { color: var(--teal); }

.btn-wa-sm {
  background: var(--wa-green);
  color: white;
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600; font-size: 0.85rem;
  display: inline-flex; align-items: center;
  transition: var(--transition);
}
.btn-wa-sm:hover { background: var(--wa-dark); color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 999;
  background: var(--wa-green);
  color: white;
  border-radius: 40px;
  padding: 14px 20px;
  display: flex; align-items: center; gap: 8px;
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: var(--transition);
  animation: waFloat 3s ease-in-out infinite;
}
.wa-float:hover {
  background: var(--wa-dark);
  color: white;
  transform: scale(1.06) translateY(-2px);
}
.wa-float-text {
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
}
@keyframes waFloat {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50%      { box-shadow: 0 10px 36px rgba(37,211,102,0.65); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .hero-title { font-size: 2.8rem; }
  .about-badge { bottom: 10px; right: 10px; }
  .wa-float-text { display: none; }
  .wa-float { padding: 16px; border-radius: 50%; }
}
@media (max-width: 767px) {
  .hero-stats { gap: 24px !important; }
  .about-main-img { height: 300px; }
  .gal-item { height: 180px; }
  .contact-info-card { margin-top: 0; }
}
@media (max-width: 575px) {
  .hero-title { font-size: 2.2rem; }
  .btn-hero-primary, .btn-hero-outline { padding: 11px 20px; font-size: 0.9rem; }
}
