/* VARIABLES */
:root {
    --primary: #008080;   /* Teal */
    --primary-dark: #006666;
    --accent: #FFD700;    /* Gold */
    --text: #333;
    --light: #f4f4f4;
    --white: #fff;
    --shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; color: var(--text); background: var(--light); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { width: 100%; display: block; }

/* HEADER */
.navbar {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky; top: 0; z-index: 1000;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

.btn-nav {
    background: var(--primary); color: var(--white);
    padding: 10px 25px; border: none; border-radius: 50px;
    font-weight: 600; cursor: pointer; transition: 0.3s;
}
.btn-nav:hover { background: var(--primary-dark); }
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* HERO SECTION */
.hero {
    height: 80vh; position: relative;
    display: flex; align-items: center; justify-content: center; flex-direction: column;
    color: var(--white); text-align: center;
}
.slider, .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.slide { background-size: cover; background-position: center; transition: opacity 1s; opacity: 0; }
.slide.active { opacity: 1; }
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }

.hero-content { position: relative; z-index: 2; padding: 20px; }
.badge { background: var(--accent); color: #000; padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: 3.5rem; margin: 15px 0; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; }

.cta-group { display: flex; gap: 15px; justify-content: center; }
.btn-primary, .btn-secondary {
    padding: 12px 30px; border-radius: 5px; font-weight: 600; cursor: pointer; border: none; transition: 0.3s;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--primary); }
.btn-primary:hover, .btn-secondary:hover { transform: translateY(-3px); }

/* BOOKING BAR (New Stable Layout) */
.booking-bar {
    background: var(--primary);
    padding: 20px 0;
    margin-top: -1px; /* Removes gap */
}
.bar-wrapper {
    display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: center;
}
.b-item { flex: 1; min-width: 200px; }
.b-item label { color: #fff; font-size: 0.9rem; margin-bottom: 5px; display: block; }
.b-item input, .b-item select {
    width: 100%; padding: 12px; border: none; border-radius: 5px;
}
.btn-check {
    width: 100%; padding: 12px; background: var(--accent); color: #000;
    border: none; font-weight: 700; cursor: pointer; border-radius: 5px; margin-top: 24px;
}

/* SECTIONS */
.section { padding: 80px 0; }
.text-center { text-align: center; }
.section-title h2 { font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-bottom: 10px; }
.line { width: 60px; height: 3px; background: var(--primary); margin: 0 auto; }

/* ROOM CARDS */
.card-container {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; margin-top: 50px;
}
.room-card {
    background: var(--white); border-radius: 10px; overflow: hidden;
    box-shadow: var(--shadow); transition: 0.3s; border: 1px solid #eee;
}
.room-card:hover { transform: translateY(-10px); }
.card-img { height: 220px; position: relative; }
.card-img img { height: 100%; object-fit: cover; }
.price { position: absolute; bottom: 10px; right: 10px; background: var(--primary); color: var(--white); padding: 5px 10px; border-radius: 5px; font-weight: 700; }
.tag { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #000; padding: 3px 10px; font-size: 0.8rem; font-weight: 700; border-radius: 3px; }

.card-body { padding: 20px; text-align: center; }
.amenities { display: flex; justify-content: center; gap: 15px; margin: 15px 0; color: #666; font-size: 0.9rem; }
.btn-card {
    width: 100%; padding: 10px; border: 1px solid var(--primary);
    background: transparent; color: var(--primary); font-weight: 600;
    border-radius: 5px; cursor: pointer; transition: 0.3s;
}
.btn-card:hover, .btn-card.filled { background: var(--primary); color: var(--white); }

/* GALLERY */
.gallery-bg { background: #eef2f5; }
.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px; margin-top: 40px;
}
.gallery-grid img { border-radius: 8px; cursor: pointer; transition: 0.3s; height: 200px; object-fit: cover; }
.gallery-grid img:hover { transform: scale(1.03); }

/* LOCATION (Fix for collapsing) */
.location-wrapper {
    display: flex; flex-wrap: wrap; gap: 30px; align-items: stretch;
}
.loc-info { flex: 1; min-width: 300px; }
.loc-map { flex: 1; min-width: 300px; height: 400px; border-radius: 10px; overflow: hidden; background: #ddd; }
/* Map iframe ab container ke hisaab se 100% rahega */
.loc-map iframe { width: 100%; height: 100%; display: block; }
.mt-20 { margin-top: 20px; }

/* FOOTER */
footer { background: #222; color: #fff; padding: 30px 0; text-align: center; }

/* FLOAT BTN */
.fab-wa {
    position: fixed; bottom: 20px; right: 20px;
    background: #25D366; color: #fff; width: 55px; height: 55px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 28px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 2000;
    transition: 0.3s;
}
.fab-wa:hover { transform: scale(1.1); }

/* RESPONSIVE */
@media(max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .cta-group { flex-direction: column; }
    .bar-wrapper { flex-direction: column; }
    .btn-check { margin-top: 10px; }
}