@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #1e3a8a;
    /* Royal Blue */
    --primary-dark: #1e293b;
    --accent: #d97706;
    /* Gold/Amber */
    --accent-glow: #fbbf24;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
    background: #b45309;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
    margin-top: -80px;
    /* Offset navbar */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(30, 58, 138, 0.7), rgba(15, 23, 42, 0.8));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Features/Benefits */
.features {
    padding: 6rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    background: var(--white);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-card p {
    color: var(--text-light);
}

/* About Section */
.about {
    padding: 6rem 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img-container {
    position: relative;
}

.about-img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge-icon {
    background: var(--accent);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.check-list i {
    color: var(--accent);
}

/* Accommodations */
.rooms {
    padding: 6rem 5%;
    background: #f1f5f9;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: block;
}

.section-heading {
    color: var(--primary);
    font-size: 2.5rem;
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.room-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.room-card:hover {
    transform: translateY(-10px);
}

.room-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.room-details {
    padding: 2rem;
}

.room-type {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.room-price {
    float: right;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.25rem;
}

.room-title {
    font-size: 1.5rem;
    margin: 0.5rem 0 1rem;
    color: var(--text-dark);
}

.room-amenities {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.room-amenities span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Call to Action */
.cta {
    padding: 6rem 5%;
    background: var(--gradient);
    text-align: center;
    color: var(--white);
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Location */
.location {
    padding: 6rem 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.map-frame {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.location-info h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #e0e7ff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.info-content p {
    color: var(--text-light);
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 4rem 5% 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsiveness */
/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Responsiveness */
@media (max-width: 900px) {

    .about,
    .location {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .location-info h2,
    .about-text h2 {
        font-size: 2rem;
    }

    .location-info {
        text-align: left;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .check-list {
        display: inline-block;
        text-align: left;
    }

    .about-badge {
        right: 50%;
        transform: translateX(50%);
        bottom: -30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
        justify-content: space-between;
        /* Ensure logo left, toggle right */
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    /* Mobile Drawer */
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        padding-top: 5rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        /* Smooth slide */
        z-index: 999;
        align-items: center;
        /* Center items horizontally in drawer */
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
        width: 100%;
        /* Ensure full width for click area */
    }

    .hero {
        padding-top: 8rem;
        height: auto;
        min-height: 120vh;
        /* Increased to provide more breathing room */
        align-items: center;
        text-align: center;
        padding-bottom: 4rem;
        /* Ensure bottom content isn't flush with edge */
    }

    /* ... existing hero styles ... */

    /* CTA Section Fixes */
    .cta .btn-outline {
        font-size: 1rem;
        padding: 1rem 1.5rem;
        /* More comfortable padding */
        width: auto;
        max-width: 95%;
        /* Use almost full width if needed */
        white-space: normal;
        /* Allow text to wrap if it's too long */
        height: auto;
        /* Allow height to grow with wrapped text */
        display: inline-block;
        /* Ensure block formatting context */
        line-height: 1.4;
        /* Better readability for wrapped text */
    }

    .section-heading {
        font-size: 2rem;
    }

    .features,
    .rooms,
    .about,
    .location,
    .cta {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .room-price {
        float: none;
        display: block;
        margin-top: 0.5rem;
    }
}

/* Flashy Book Now Button */
.btn-flashy {
    background: linear-gradient(45deg, #d97706, #fbbf24, #d97706);
    background-size: 200% 200%;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
    animation: gradientShift 3s ease infinite;
    transition: transform 0.3s;
}

.btn-flashy:hover {
    transform: scale(1.05);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Modal Styling */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.4s;
}

.modal-content.small-modal {
    max-width: 400px;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--text-dark);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Form Styling */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Mobile Adjustments for Modal */
@media (max-width: 480px) {
    .modal-content {
        padding: 1.5rem;
    }
}

/* Stepper Styling */
.stepper-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.25rem;
    gap: 0.5rem;
}

.stepper-wrapper input {
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
    background: transparent;
    padding: 0.5rem;
    appearance: textfield;
    /* Remove spinner buttons for standard view */
    -moz-appearance: textfield;
}

.stepper-wrapper input:focus {
    box-shadow: none;
    border: none;
}

/* Hide spin buttons for WebKit */
.stepper-wrapper input::-webkit-outer-spin-button,
.stepper-wrapper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.stepper-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: var(--primary);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.stepper-btn:hover {
    background: var(--accent);
    color: #fff;
}

.stepper-btn:active {
    transform: scale(0.9);
}

@media (max-width: 480px) {
    .btn-flashy {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
    }

    /* Specific override for CTA Book button to match the Outline Call button */
    .cta .btn-flashy {
        font-size: 1rem;
        padding: 1rem 1.5rem;
        border-radius: 50px;
        width: auto;
        max-width: 95%;
        /* Match outline button max-width */
        margin-bottom: 1rem;
        line-height: 1.4;
        /* Match outline button line-height */
        white-space: normal;
        display: inline-block;
    }
}