/* ══════════════════════════════════════════════════
   Places to Stay — Krishna's Serene Holidays
   Page Styles
   ══════════════════════════════════════════════════ */

/* ─── 1. Page Wrapper ─────────────────────────────── */
.stays-page {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
    padding-bottom: 80px;
}

/* ─── 2. Hero Banner ──────────────────────────────── */
.stays-hero {
    position: relative;
    background: linear-gradient(135deg, #00467f 0%, #009ada 50%, #00c9a7 100%);
    padding: 80px 40px 90px;
    text-align: center;
    overflow: hidden;
}

.stays-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* Floating decorative circles */
.stays-hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.stays-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
}

.stays-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.stays-hero-badge i {
    font-size: 14px;
    color: #fde68a;
}

.stays-hero h1 {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.stays-hero h1 span {
    color: #fde68a;
}

.stays-hero-tagline {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255,255,255,0.88);
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.stays-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #00467f;
    font-size: 15px;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 100px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.stays-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.3);
    color: #00467f;
}

/* ─── 3. Content Wrapper ──────────────────────────── */
.stays-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ─── 4. Section Headings ─────────────────────────── */
.stays-section-header {
    text-align: center;
    margin-bottom: 56px;
    padding-top: 80px;
}

.stays-section-header .stays-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #009ada;
    background: rgba(0,154,218,0.1);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.stays-section-header h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: #00467f;
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.stays-section-header p {
    font-size: 17px;
    color: #475569;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

.stays-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #009ada, #00467f);
    border-radius: 2px;
    margin: 18px auto 0;
}

/* ─── 5. About / Intro Card ───────────────────────── */
.stays-intro-card {
    background: #fff;
    border-radius: 24px;
    padding: 48px 52px;
    margin-top: 60px;
    box-shadow: 0 8px 40px rgba(0,70,127,0.09);
    border: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
}

.stays-intro-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: #00467f;
    margin-bottom: 18px;
    line-height: 1.2;
}

.stays-intro-text p {
    font-size: 16px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
}

.stays-intro-text p:last-of-type {
    margin-bottom: 0;
}

.stays-intro-highlight {
    background: linear-gradient(135deg, #e0f2fe 0%, #e0fdf4 100%);
    border-left: 4px solid #009ada;
    border-radius: 0 12px 12px 0;
    padding: 18px 22px;
    margin: 22px 0;
    font-size: 15.5px;
    color: #00467f;
    font-weight: 500;
    line-height: 1.65;
}

.stays-intro-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,70,127,0.15);
    aspect-ratio: 4/3;
}

.stays-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.stays-intro-image:hover img {
    transform: scale(1.04);
}

/* ─── 6. Features / Amenities Grid ───────────────── */
.stays-features {
    padding-top: 72px;
}

.stays-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 28px;
}

.stays-feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: center;
}

.stays-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,154,218,0.14);
    border-color: rgba(0,154,218,0.35);
}

.stays-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.stays-feature-card:hover .stays-feature-icon {
    transform: scale(1.1) rotate(-4deg);
}

.stays-feature-icon i {
    font-size: 26px;
    color: #009ada;
}

.stays-feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.stays-feature-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* ─── 7. Photo Gallery ────────────────────────────── */
.stays-gallery-section {
    padding-top: 80px;
}

/* Masonry-like grid */
.stays-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 16px;
}

.stays-gallery-item {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: #e2e8f0;
}

/* Feature sizing for visual interest */
.stays-gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.stays-gallery-item:nth-child(5) {
    grid-column: span 2;
}

.stays-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    min-height: 220px;
}

.stays-gallery-item:nth-child(1) img {
    min-height: 360px;
}

.stays-gallery-item:hover img {
    transform: scale(1.06);
}

.stays-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,70,127,0.7) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.stays-gallery-item:hover .stays-gallery-overlay {
    opacity: 1;
}

.stays-gallery-caption {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

/* Gallery Lightbox */
.stays-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(16px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 20px;
}

.stays-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.stays-lightbox-content {
    position: relative;
    max-width: 1000px;
    max-height: 90vh;
    width: 100%;
}

.stays-lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 16px;
    display: block;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stays-lightbox.open .stays-lightbox-content img {
    transform: scale(1);
}

.stays-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.stays-lightbox-close:hover {
    background: rgba(255,255,255,0.25);
    transform: rotate(90deg);
}

.stays-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.stays-lightbox-nav:hover {
    background: rgba(255,255,255,0.25);
}

.stays-lightbox-prev {
    left: -64px;
}

.stays-lightbox-next {
    right: -64px;
}

/* ─── 8. Why Choose Section ───────────────────────── */
.stays-why {
    padding-top: 80px;
}

.stays-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.stays-why-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,70,127,0.15);
    aspect-ratio: 3/4;
    max-height: 520px;
}

.stays-why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.stays-why-image:hover img {
    transform: scale(1.04);
}

.stays-why-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: #00467f;
    margin-bottom: 18px;
    line-height: 1.2;
}

.stays-why-content > p {
    font-size: 16px;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 32px;
}

.stays-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.stays-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    color: #334155;
    line-height: 1.5;
}

.stays-checklist li i {
    color: #009ada;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ─── 9. Contact / Booking CTA ────────────────────── */
.stays-contact {
    padding-top: 80px;
}

.stays-contact-card {
    background: linear-gradient(135deg, #00467f 0%, #009ada 100%);
    border-radius: 28px;
    padding: 60px 52px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,70,127,0.25);
}

.stays-contact-card::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    top: -150px;
    right: -100px;
    pointer-events: none;
}

.stays-contact-card::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    bottom: -80px;
    left: 80px;
    pointer-events: none;
}

.stays-contact-text {
    position: relative;
    z-index: 2;
}

.stays-contact-text h2 {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.25;
}

.stays-contact-text p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    max-width: 500px;
}

.stays-contact-details {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 280px;
}

.stays-contact-item {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #fff;
    transition: background 0.25s ease, transform 0.25s ease;
}

.stays-contact-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(4px);
    color: #fff;
}

.stays-contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stays-contact-item-icon i {
    font-size: 18px;
    color: #fde68a;
}

.stays-contact-item-text {
    display: flex;
    flex-direction: column;
}

.stays-contact-item-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2px;
}

.stays-contact-item-value {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

/* ─── 10. Note / Disclaimer Banner ───────────────── */
.stays-note {
    margin-top: 28px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 26px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.stays-note i {
    color: #f59e0b;
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.stays-note p {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

.stays-note p strong {
    color: #1e293b;
}

/* ─── 11. Responsive ──────────────────────────────── */
@media (max-width: 1100px) {
    .stays-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .stays-gallery-item:nth-child(1) {
        grid-column: span 2;
    }
    .stays-gallery-item:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 900px) {
    .stays-hero {
        padding: 60px 24px 70px;
    }
    .stays-content {
        padding: 0 24px;
    }
    .stays-intro-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 28px;
    }
    .stays-intro-text h2 {
        font-size: 26px;
    }
    .stays-why-grid {
        grid-template-columns: 1fr;
    }
    .stays-why-image {
        max-height: 320px;
        aspect-ratio: 16/9;
    }
    .stays-contact-card {
        grid-template-columns: 1fr;
        padding: 40px 28px;
    }
    .stays-contact-details {
        min-width: 0;
    }
    .stays-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stays-gallery-item:nth-child(1) {
        grid-column: span 2;
    }
    .stays-gallery-item:nth-child(5) {
        grid-column: span 2;
    }
    .stays-lightbox-prev { left: -44px; }
    .stays-lightbox-next { right: -44px; }
}

@media (max-width: 600px) {
    .stays-hero {
        padding: 48px 20px 56px;
    }
    .stays-content {
        padding: 0 16px;
    }
    .stays-section-header {
        padding-top: 56px;
        margin-bottom: 36px;
    }
    .stays-features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .stays-feature-card {
        padding: 22px 18px;
    }
    .stays-gallery-grid {
        grid-template-columns: 1fr;
    }
    .stays-gallery-item:nth-child(1),
    .stays-gallery-item:nth-child(5) {
        grid-column: span 1;
    }
    .stays-contact-card {
        padding: 32px 20px;
    }
    .stays-contact-text h2 {
        font-size: 26px;
    }
    .stays-intro-card {
        padding: 24px 20px;
        margin-top: 40px;
    }
    .stays-lightbox-prev,
    .stays-lightbox-next {
        display: none;
    }
}
