/* assets/css/style.css */

:root {
    --primary-bg: #f8fafc;
    --card-bg: #ffffff;
    --accent-color: #57b8a7;
    --secondary-color: #e2d1c3;
    --text-main: #334155;
    --text-light: #64748b;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --font-heading: 'Cinzel', serif;
    /* Updated to match logo */
    --font-body: 'Mulish', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Buttons */
.btn-primary {
    background: var(--accent-color);
    color: white;
    padding: 14px 35px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(87, 184, 167, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #46a394;
    box-shadow: 0 8px 25px rgba(87, 184, 167, 0.4);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 5px 0;
    /* Minimal padding */
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    min-height: 80px;
    /* Allow growth */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
    /* Large but contained */
    width: auto;
    transition: all 0.3s ease;
}

.nav-links a {
    color: var(--text-main);
    margin-left: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 90vh;
    background: url('../images/hero.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

/* Hero Content - Transparent */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    padding: 20px;
    background: transparent;
    /* Removed white box */
    box-shadow: none;
    text-align: center;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    color: #ffffff;
    /* White text */
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* Shadow for readability */
    animation: fadeInUp 1.5s ease-out forwards;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #f1f5f9;
    /* Light text */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background: #128C7E;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Sections General */
section {
    padding: 100px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* About Text */
.about-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-light);
    white-space: pre-line;
}

/* Cards (Rooms / Gallery) */
.glass-panel {
    background: var(--card-bg);
    border: none;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    height: 280px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Rooms Mockup */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.room-card {
    overflow: hidden;
}

.room-image {
    height: 280px;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-details {
    padding: 30px;
}

.room-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.room-details p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Amenities Grid */
.amenities-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.amenity-card {
    width: 180px;
    padding: 30px 20px;
    text-align: center;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    border-bottom: 4px solid var(--accent-color);
}

.amenity-card h4 {
    color: var(--text-main);
    font-size: 0.95rem;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
}

.contact-info h3 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.contact-item {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.social-links {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.social-btn:hover {
    background: var(--accent-color);
    color: white;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-main);
    z-index: 2000;
    /* Ensure on top */
}

/* Responsive */
@media (max-width: 900px) {

    html,
    body {
        overflow-x: hidden;
        /* Force no scroll on HTML too */
        width: 100%;
        position: relative;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .hero h1 {
        font-size: 1.8rem;
        /* Much smaller mobile base */
        letter-spacing: 0;
        /* No spacing */
        line-height: 1.2;
        word-wrap: break-word;
        /* Ensure wrapping */
    }

    .hero-content {
        padding: 10px;
        width: 95%;
        /* Constrain width */
        margin: 0 auto;
    }

    .menu-toggle {
        display: block;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1001;
        /* Ensure above stuff */
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        display: none;
        backdrop-filter: blur(10px);
        height: auto;
        border-top: 1px solid #eee;
    }

    nav {
        justify-content: flex-end;
        /* Push hamburger to right */
        position: relative;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 15px 0;
        margin-left: 0;
        font-size: 1.2rem;
    }

    .amenities-grid {
        gap: 15px;
    }

    .amenity-card {
        width: 100%;
        max-width: 300px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
        gap: 15px;
    }

    /* Force Centering on Mobile */
    .contact-wrapper,
    .room-details,
    footer,
    p,
    h1,
    h2,
    h3,
    h4 {
        text-align: center !important;
    }

    .contact-item {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Rooms specific mobile */
    .rooms-grid {
        grid-template-columns: 1fr;
        /* Force 1 column */
        gap: 20px;
        width: 100%;
        max-width: 400px;
        /* Optional constraint for aesthetic */
        margin: 0 auto;
        /* Center the grid container itself */
    }

    .room-details {
        padding: 15px;
    }

    .room-details h3 {
        font-size: 1.1rem;
    }

    .room-details p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 60px;
        /* Smaller logo */
    }

    .hero h1 {
        font-size: 1.2rem;
        /* Very small for phones */
        letter-spacing: 0;
        /* Remove spacing to prevent width issues */
    }

    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}