﻿body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f5f5f5;
}

.top-header {
    width: 100%;
    height: 40px;
    background: #0F172A;
    color: #D4AF37;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background-color: #162447;
    height:55px;
}

.logo img {
    height: 75px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.book-btn {
    background: #D4AF37;
    color: #fff;
    padding: 7px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

/* ================= HERO SLIDER ================= */

.hero-slider {
    position: relative;
    height: 500px;
    margin: 40px;
    border-radius: 20px;
    overflow: hidden;
}

/* Slides container */
.slides {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Individual slide */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .slide.active {
        opacity: 1;
    }

/* Dark overlay */
.hero-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    border-radius: 20px;
    z-index: 1;
}

/* PERFECT CENTER TEXT */
.hero-text {
    position: absolute;
    inset: 0; /* full cover */
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    text-align: center;
    z-index: 2;
    color: #ffffff;
    padding: 0 20px;
}

    /* spacing */
    
    .hero-text h2
     {
        margin: 10px 0;
        font-size:40px;
    }
    .hero-text h1 {
        margin: 2px 0;
        font-size: 50px;
        color: #D4AF37;
    }
    .hero-text p {
        margin: 2px 0;
        font-size:35px;
    }
    .login-btn {
        color: #fff;
        text-decoration: none;
        font-weight: 500;
        font-size: 14px;
    }

.rooms {
    text-align: center;
    padding: -15px;
}

    .rooms h2 {
        margin-bottom: 30px;
    }

.room-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
}





.card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 2px solid #D4AF37;
}

    .card img {
        width: 100%;
        height: 200px;
        border-radius: 10px;
    }

    .card h3 {
        margin: 15px 0;
    }

    .card button {
        background: #D4AF37;
        border: none;
        padding: 10px 20px;
        font-weight: bold;
        border-radius: 6px;
        cursor: pointer;
    }

html {
    scroll-behavior: smooth;
}


.units {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.unit-card {
    background: white;
    width: 320px;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #D4AF37;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    text-align: left;
}

    .unit-card h3 {
        color: #1E3A8A;
        margin-bottom: 15px;
    }



.contact-link {
    color: #D4AF37;
    text-decoration: none;
    transition: 0.3s ease;
}

    .contact-link:hover {
        color: #ffffff;
    }

.insta-link {
    margin-right: 15px;
    color: #D4AF37;
    font-size: 18px;
    transition: 0.3s ease;
}

    .insta-link:hover {
        color: #E1306C;
        transform: scale(1.2);
    }
.top-right {
    margin-right: 20px;
}

.hero-text {
    animation: fadeUp 1.2s ease forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Hover Lift */
.card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    }

/* Unit Card Hover */
.unit-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    .unit-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }

/* Button Animation */
.book-btn,
.card button {
    transition: all 0.3s ease;
}

    .book-btn:hover,
    .card button:hover {
        transform: translateY(-3px);
    }

/* Navbar Smooth Shadow on Hover */
.navbar {
    transition: box-shadow 0.3s ease;
}

    .navbar:hover {
        box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    }

/* Smooth Image Zoom */
.card img {
    transition: transform 0.4s ease;
}

.card:hover img {
    transform: scale(1.05);
}




/* ===== OUTER SECTION BACKGROUND ===== */
.contact-section {
    padding: 60px 20px;
}

/* ===== INNER CARD CONTAINER ===== */
.contact-container {
    max-width: 1200px;
    margin: auto;
    background: #ffffff;
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

/* ===== FLEX LAYOUT ===== */
.contact-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}

/* LEFT SIDE */
.contact-left {
    flex: 1;
}

    .contact-left h2 {
        margin-bottom: 25px;
        color: #1E3A8A;
    }

.contact-top p {
    font-size: 16px;
    margin-bottom: 15px;
}

/* RIGHT SIDE MAP */
.contact-right {
    flex: 1.5;
}

.map iframe {
    width: 100%;
    height: 380px;
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}



.card-buttons {
    display: flex;
    flex-direction: column; /* Vertical layout */
    gap: 12px;
    margin-top: 18px;
    align-items:center;
}

/* BOOK NOW - Highlighted */
.book-btn-card {
    width: 70%;
    text-align: center;
    
    padding: 12px;
    background: linear-gradient(to right, #D4AF37, #f1c94a);
    color: #000;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

    .book-btn-card:hover {
        transform: translateY(-3px);
        background: linear-gradient(to right, #b9962e, #D4AF37);
    }

/* DIRECTION BUTTON */
.direction-btn {
    width: 100%;
    text-align: center;
    padding: 10px;
    background: #1E3A8A;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s ease;
}

    .direction-btn:hover {
        background: #0F172A;
        transform: translateY(-2px);
    }

/* ================= FOOTER ================= */

.main-footer {
    background: linear-gradient(to right, #0F172A, #1E3A8A);
    color: #ffffff;
    padding: 40px 15px 15px 15px; /* Reduced padding */
    margin-top: 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* Gap reduced */
    max-width: 1100px; /* Thoda compact */
    margin: auto;
}

.footer-col h3,
.footer-col h4 {
    color: #D4AF37;
    margin-bottom: 12px; /* Less space */
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px; /* Controlled spacing */
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-col ul li {
        margin-bottom: 6px; /* Reduced */
    }

        .footer-col ul li a {
            text-decoration: none;
            color: #ffffff;
            transition: 0.3s;
        }

            .footer-col ul li a:hover {
                color: #D4AF37;
            }

.footer-social a {
    display: inline-block;
    margin-top: 8px;
    color: #D4AF37;
    text-decoration: none;
    font-weight: bold;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px; /* Reduced */
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 13px;
}

/* ================= TABLET RESPONSIVE ================= */

@media (max-width: 992px) {

    .footer-container {
        grid-template-columns: repeat(2, 1fr); /* 2 column layout */
        gap: 20px;
        text-align: left;
    }
}

/* ================= MOBILE RESPONSIVE ================= */

@media (max-width: 768px) {

    .main-footer {
        padding: 10px 15px 10px 15px;
    }

    .footer-container {
        grid-template-columns: 1fr; /* Single column */
        gap: 15px; /* Less gap */
        text-align: center;
    }

    .footer-col {
        margin-top: -10px;
        margin-bottom: 2px;
    }

    .footer-bottom {
        margin-top: 5px;
    }
}

/* ================= OUR ROOMS ================= */

.our-rooms {
    padding: 35px 20px;
    text-align: center;
    background: #f9f9f9;
}

    .our-rooms h2 {
        margin-bottom: 30px;
        color: #1E3A8A;
    }

.our-room-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.our-room-card {
    background: #ffffff;
    width: 300px;
    border-radius: 15px;
    padding: 20px;
    border: 2px solid #D4AF37;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.4s ease;
}

    .our-room-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    }

    .our-room-card img {
        width: 100%;
        border-radius: 10px;
        margin-bottom: 15px;
        height: 200px;
    }

    .our-room-card h3 {
        margin-bottom: 10px;
        color: #1E3A8A;
    }

    .our-room-card p {
        font-size: 14px;
        margin-bottom: 10px;
    }

/* ================= IMAGE POPUP ================= */

.image-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

    .image-popup img {
        max-width: 90%;
        max-height: 85%;
        border-radius: 15px;
        animation: zoomIn 0.3s ease;
    }

.close-image {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 35px;
    color: white;
    cursor: pointer;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.our-room-card img {
    cursor: default;
}

@media (max-width: 1024px) {
    .our-room-card img {
        cursor: pointer;
    }
}



@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .top-header {
        display: none;
    }

    .top-left {
        display: none;
    }

    .navbar {
        padding: 10px 15px;
        height: 35px;
    }

    .logo img {
        height: 55px;
    }

    .book-btn {
        padding: 6px 10px;
        font-size: 13px;
    }

    .login-btn {
        font-size: 13px;
    }

    .hero-slider {
        height: 200px;
        margin: 15px;
    }

    .hero-text h1 {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .hero-text h2 {
        font-size: 24px;
        margin-bottom: 5px;
    }

    .hero-text p {
        font-size: 13px;
    }

    .rooms,
    .contact-section {
        padding: 5px 30px !important;
    }

        .rooms h2,
        .contact-section h2 {
            font-size: 20px;
            margin-bottom: 10px;
        }

    .room-cards {
        flex-direction: column !important;
        align-items: center;
        gap: 18px;

    }

    .card {
        width: 100% !important;
        max-width: 100%;
        padding: 15px;
        border-radius: 15px;
    }

        .card h3 {
            font-size: 16px;
        }

        .card p {
            font-size: 13px;
        }

        .card img {
            width: 100%;
            height: 180px;
            border-radius: 10px;
        }

    .units {
        flex-direction: column !important;
        align-items: center;
        gap: 18px;
    }

    .unit-card {
        width: 100% !important;
        max-width: 100%;
        padding: 15px;
        border-radius: 15px;
    }

        .unit-card h3 {
            font-size: 16px;
        }

        .unit-card p {
            font-size: 13px;
        }

    .map iframe {
        height: 260px;
        border-radius: 15px;
    }

    .contact-container {
        padding: 30px 20px;
    }

    .contact-wrapper {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .map iframe {
        height: 260px;
    }

    .our-rooms {
        padding: 15px 10px;
    }

    .our-room-cards {
        flex-direction: column;
        align-items: center;
    }

    .our-room-card {
        width: 80%;
    }
    .our-room-cards img {
        height: 200px;
        width: 100%;
    }

    p {
        font-size: 13px;
        font-weight: 500;
    }


}






/* ================= MOBILE RESPONSIVE ================= */

@media (max-width: 768px) {

    .modal {
        align-items: flex-start;
        padding-top: 40px;
    }

    .modal-content {
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group input,
    .form-group select {
        font-size: 16px; /* iPhone zoom fix */
    }
}









