/* ============================================================
   Google Fonts — Playfair Display (luxury display) + DM Sans (body)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
    --purple-deep: #2d0057;
    --purple-mid: #6a0dad;
    --purple-light: #9b59d4;
    --purple-pale: #f3eaff;
    --gold: #f5a623;
    --gold-light: #ffd87a;
    --white: #ffffff;
    --off-white: #faf8ff;
    --text-dark: #1a1a2e;
    --text-mid: #4a4a6a;
    --text-light: #7a7a9a;
    --card-shadow: 0 20px 60px rgba(106, 13, 173, 0.12);
    --card-shadow-hover: 0 30px 80px rgba(106, 13, 173, 0.22);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--off-white);
    color: var(--text-dark);
    line-height: 1.75;
    overflow-x: hidden;
}

/* ============================================================
   HEADER
   ============================================================ */
header {
    background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-mid) 60%, var(--purple-light) 100%);
    color: var(--white);
    text-align: center;
    padding: 24px 20px 20px;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

header::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(245, 166, 35, 0.1);
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

header p {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.85;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 6px;
    position: relative;
    z-index: 1;
}

/* ============================================================
   NAVBAR
   ============================================================ */
nav {
    background: rgba(22, 0, 50, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 18px 16px;
    position: relative;
    transition: var(--transition);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gold);
    border-radius: 3px 3px 0 0;
    transform: translateX(-50%);
    transition: var(--transition);
}

nav a:hover {
    color: var(--gold-light);
}

nav a:hover::after {
    width: 70%;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: linear-gradient(150deg, var(--purple-mid) 0%, var(--purple-deep) 100%);
    color: var(--white);
    text-align: center;
    padding: 110px 20px 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(155, 89, 212, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 20%, rgba(245, 166, 35, 0.1) 0%, transparent 50%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--off-white);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.9rem;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.hero h2::after {
    display: none;
}

.hero p {
    margin-top: 18px;
    font-size: 1.1rem;
    opacity: 0.85;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* ============================================================
   BUTTON
   ============================================================ */
.btn {
    display: inline-block;
    margin-top: 36px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--purple-deep);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.3px;
    box-shadow: 0 12px 35px rgba(245, 166, 35, 0.45);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 22px 55px rgba(245, 166, 35, 0.6);
}

/* ============================================================
   SECTION BASE
   ============================================================ */
section {
    max-width: 1120px;
    margin: 80px auto;
    padding: 0 24px;
}

section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--purple-deep);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    display: block;
    margin-top: 8px;
    width: 50px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--gold), var(--purple-light));
}

/* ============================================================
   ABOUT
   ============================================================ */
#about {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--card-shadow);
}

#about p {
    font-size: 1.05rem;
    color: var(--text-mid);
    margin-top: 20px;
}

/* ============================================================
   FACILITIES — GRAY WRAPPER
   ============================================================ */
.gray {
    background: linear-gradient(180deg, var(--off-white) 0%, var(--purple-pale) 100%);
    padding: 70px 0;
}

.gray section {
    margin-top: 0;
    margin-bottom: 0;
}

.facilities {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.facilities li {
    background: var(--white);
    padding: 18px 20px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    box-shadow: 0 6px 20px rgba(106, 13, 173, 0.08);
    border-left: 4px solid var(--purple-light);
    transition: var(--transition);
}

.facilities li:hover {
    transform: translateX(5px);
    border-left-color: var(--gold);
    box-shadow: 0 10px 30px rgba(106, 13, 173, 0.14);
}

/* ============================================================
   ROOMS
   ============================================================ */
.rooms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 28px;
    margin-top: 30px;
}

.room-card {
    background: var(--white);
    padding: 36px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent;
}

.room-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-mid), var(--gold));
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
}

.room-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--purple-mid);
    margin-bottom: 12px;
}

.room-card p {
    color: var(--text-mid);
    font-size: 0.95rem;
}

/* ============================================================
   LOCATION
   ============================================================ */
.map-container {
    overflow: hidden;
    height: 350px;
    border-radius: var(--radius-lg);
    margin-top: 24px;
    box-shadow: var(--card-shadow);
    position: relative;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 430px;
    pointer-events: none;
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--card-shadow);
}

#contact p {
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--text-mid);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
    margin-top: 30px;
    max-width: 460px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 18px;
    margin-bottom: 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid #e0d6f5;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--off-white);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--purple-light);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(155, 89, 212, 0.12);
}

.contact-form button {
    width: 100%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: none;
    padding: 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--purple-deep);
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(245, 166, 35, 0.4);
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(245, 166, 35, 0.5);
}

/* ============================================================
   OFFERS
   ============================================================ */
#offers {
    max-width: 1120px;
    margin: 80px auto;
    padding: 0 24px;
    text-align: center;
}

#offers h2 {
    font-family: 'Playfair Display', serif;
    color: var(--purple-deep);
    font-size: 2rem;
    font-weight: 700;
    display: inline-block;
    position: relative;
}

#offers h2::after {
    content: '';
    display: block;
    margin: 8px auto 0;
    width: 50px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--gold), var(--purple-light));
}

.offer-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.offer {
    background: var(--white);
    padding: 36px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--purple-light));
}

.offer:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.offer h3 {
    font-family: 'Playfair Display', serif;
    color: var(--purple-mid);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.offer p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-mid);
    line-height: 1.75;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: linear-gradient(135deg, var(--purple-deep), #0d001a);
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
    padding: 28px 20px;
    font-size: 0.88rem;
    letter-spacing: 0.3px;
    margin-top: 40px;
}

footer strong {
    color: var(--gold-light);
}

/* ============================================================
   MODAL GALLERY
   ============================================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: 5% auto;
    display: block;
    width: 90%;
    max-width: 1200px;
    padding: 20px 0 60px;
}

.close {
    position: fixed;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 45px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.close:hover,
.close:focus {
    color: var(--gold);
    text-decoration: none;
    cursor: pointer;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.03);
}

.room-card {
    cursor: pointer;
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.85rem;
    }

    section {
        margin: 50px auto;
    }

    #about,
    #contact {
        padding: 32px 24px;
    }

    .hero {
        padding: 80px 16px 100px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.65rem;
    }

    .hero h2 {
        font-size: 1.45rem;
    }

    nav a {
        font-size: 0.82rem;
        padding: 14px 10px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}