/* ==========================================
   SUKH PALACE HOTEL
   PREMIUM HOTEL WEBSITE CSS
========================================== */

/* ==========================================
   RESET & BASE STYLES
========================================== */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Poppins', sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}

img{
    width: 100%;
    display: block;
    transition: .4s;
}

a{
    text-decoration: none;
    color: inherit;
}

ul{
    list-style: none;
}

.container{
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

section{
    padding: 90px 0;
}

/* ==========================================
   COLOR VARIABLES
========================================== */
:root{
    --primary: #D4AF37;   /* Luxury Gold */
    --light: #FFF4B8;     /* Soft Cream */
    --gray: #666;
    --dark: #111;
    --dark-light: #1c1c1c;
    --white: #ffffff;
}

/* ==========================================
   BUTTONS
========================================== */
.btn{
    display: inline-block;
    padding: 13px 35px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    transition: .4s;
    cursor: pointer;
}

.btn-primary{
    background: var(--primary);
    color: #fff;
}

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

.btn-secondary{
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover{
    background: #fff;
    color: #111;
}

/* ==========================================
   HEADER & NAVIGATION
========================================== */
.main-header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(200, 155, 60, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    transition: .4s;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .15);
}

.navbar{
    width: 90%;
    max-width: 1200px;
    margin: auto;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a{
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    transition: .3s;
}

.logo span{
    color: #fff;
}

.logo a:hover{
    letter-spacing: 2px;
}

.nav-links{
    display: flex;
    gap: 35px;
}

.nav-links a{
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    transition: 0.3s;
}

.nav-links a:hover{
    color: #fff4b8;
}

.nav-links a::after{
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #fff;
    bottom: -8px;
    left: 0;
    transition: .3s;
}

.nav-links a:hover::after,
.nav-links .active::after{
    width: 100%;
}

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

.bar{
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    margin: 6px;
    transition: 0.4s;
}

/* ==========================================
   HERO SECTION
========================================== */
.hero{
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin-bottom: 0;
}

.slider-container{
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide{
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: 1.5s ease-in-out;
}

.slide.active{
    opacity: 1;
}

.hero-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.45));
}

.hero-content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 800px;
    animation: fadeUp 1.2s ease;
}

.welcome-text{
    color: var(--primary);
    font-size: 22px;
    font-weight: 500;
}

.hero-content h1{
    font-size: 60px;
    margin: 15px 0;
    font-weight: 700;
}

.hero-content p{
    font-size: 20px;
    margin-bottom: 35px;
}

.hero-buttons{
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ==========================================
   SECTION HEADER GENERAL
========================================== */
.section-title{
    text-align: center;
    margin-bottom: 60px;
}

.section-title span,
.section-subtitle{
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
}

.section-title h2{
    font-size: 38px;
    margin: 10px 0 15px;
    color: #222;
}

.section-title p{
    color: var(--gray);
    max-width: 700px;
    margin: auto;
}

/* ==========================================
   ABOUT SECTION
========================================== */
.about-section{
    background: #fff;
    padding-top: 80px;
}

.about-wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image{
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.about-image img{
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

.experience-badge{
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #d4af37;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.experience-badge h3{
    font-size: 32px;
    margin: 0;
    font-weight: 700;
}

.experience-badge p{
    margin: 5px 0 0;
    font-size: 14px;
}

.about-content h2{
    font-size: 40px;
    line-height: 1.3;
    margin: 15px 0 25px;
}

.about-content p{
    color: #666;
    margin-bottom: 15px;
}

.about-content .lead{
    font-size: 18px;
    color: #444;
}

/* ==========================================
   HOTEL STATISTICS
========================================== */
.hotel-stats{
    background: linear-gradient(135deg, #FFFDF4, #FFF7D6, #FFF2B8);
    background-size: cover;
    background-position: center;
    color: #1E3A5F;
}

.stats-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-box{
    background: #ffffff;
    padding: 40px 25px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .3s;
}

.stat-box i{
    color: #D4AF37;
    font-size: 48px;
    margin-bottom: 20px;
}

.stat-box h2{
    font-size: 42px;
    color: #0D47A1;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-box p{
    color: #555;
    font-size: 17px;
}   

.stat-box:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

/* ==========================================
   AMENITIES SECTION
========================================== */
.amenities{
    background: var(--light);
}

.amenities-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.amenity-card{
    background: white;
    padding: 35px 25px;
    text-align: center;
    border-radius: 15px;
    transition: .4s;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

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

.amenity-card i{
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.amenity-card h3{
    font-size: 20px;
    margin-bottom: 10px;
}

.amenity-card p{
    color: #777;
    font-size: 14px;
}

/* ==========================================
   ROOMS SECTION
========================================== */
.rooms{
    background: white;
    padding: 100px 0;
}

.rooms .container{
    max-width: 1200px;
    width: 90%;
}

.rooms-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Split side-by-side on desktop */
    gap: 30px;
}

.room-card{
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
    transition: .4s;
    width: 100%;
}

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

.room-image{
    position: relative;
    height: 300px;
    overflow: hidden;
}

.room-image img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: .5s;
}

.room-card:hover .room-image img{
    transform: scale(1.1);
}

.price{
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 600;
}

.price span{
    font-size: 12px;
}

.room-content{
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.room-content h3{
    font-size: 25px;
    margin-bottom: 10px;
}

.room-content p{
    color: #777;
    margin-bottom: 20px;
}

.room-content ul{
    margin-bottom: 25px;
}

.room-content li{
    margin-bottom: 8px;
    font-size: 14px;
}

.room-content li i{
    color: var(--primary);
    margin-right: 8px;
}

/* ==========================================
   GALLERY SECTION
========================================== */
.gallery{
   background: var(--light);
}

.gallery-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-item{
    overflow: hidden;
    border-radius: 15px;
    height: 280px;
    position: relative;
}

.gallery-item img{
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

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

/* ==========================================
   TESTIMONIAL SECTION
========================================== */
.testimonials{
    background: white;
}

.testimonial-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card{
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .4s;
}

.testimonial-card:hover{
    transform: translateY(-8px);
}

.stars{
    color: #f5b301;
    margin-bottom: 20px;
}

.stars i{
    margin-right: 3px;
}

.testimonial-card p{
    color: #666;
    font-style: italic;
    margin-bottom: 25px;
}

.guest{
    display: flex;
    align-items: center;
    gap: 15px;
}

.guest h4{
    font-size: 18px;
}

.guest span{
    color: #888;
    font-size: 14px;
}

/* ==========================================
   CONTACT SECTION
========================================== */
.contact{
    background: var(--light);
}

.contact-wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3{
    font-size: 30px;
    margin-bottom: 30px;
}

.info-box{
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-box i{
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.info-box h4{
    margin-bottom: 5px;
}

.info-box p{
    color: #666;
}

/* GOOGLE MAP */
.map{
    margin-top: 30px;
    border-radius: 15px;
    overflow: hidden;
}

.map iframe{
    display: block;
}

/* CONTACT FORM */
.contact-form{
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
}

.contact-form input,
.contact-form textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color: var(--primary);
}

.contact-form button{
    border: none;
}

/* ==========================================
   FOOTER
========================================== */
.footer{
    background: #111;
    color: white;
    padding: 70px 0 20px;
}

.footer-grid{
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
    gap: 70px;
    align-items: flex-start;
}

.footer-box h3{
    color: #D4AF37;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    white-space: nowrap;
}

.footer-box p{
    color: #cfcfcf;
    font-size: 16px;
    max-width: 320px;
    margin-bottom: 18px;
    line-height: 1.8;
}

.footer-box ul li{
    margin-bottom: 15px;
    color: #ccc;
}

.footer-box ul li a{
    transition: .3s;
}

.footer-box ul li a:hover{
    color: var(--primary);
}

.social-links{
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a{
    width: 40px;
    height: 40px;
    background: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.social-links a:hover{
    background: var(--primary);
}

.footer-bottom{
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
    color: #aaa;
}

/* ==========================================
   FLOATING CALL & WHATSAPP BUTTONS
========================================== */
.call-float{
    position: fixed !important;
    right: 40px !important;
    bottom: 120px !important;
    width: 60px;
    height: 60px;
    background: #D4AF37;
    color: white;
    border-radius: 50%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    z-index: 99999;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
    text-decoration: none;
    animation: pulse-call 2s infinite;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.call-float:hover{
    background: #b88c17;
    transform: scale(1.1);
    color: #fff;
}

.call-float i{
    display: block;
    color: #fff;
    font-size: 24px;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}

/* Animations for Floating Buttons */
@keyframes pulse-call{
    0%{ box-shadow: 0 0 0 0 rgba(212, 175, 55, .5); }
    70%{ box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100%{ box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================
   HEADER SCROLL EFFECT & ANIMATIONS
========================================== */
.main-header.scrolled{
    background: rgba(184, 134, 43, .97);
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

@keyframes fadeUp{
    from{
        opacity: 0;
        transform: translateY(40px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
========================================== */

/* TABLET VIEWPORTS (max-width: 992px) */
@media(max-width: 992px){
    .nav-links{
        position: absolute;
        top: 95px;
        left: -100%;
        width: 100%;
        background: #111;
        flex-direction: column;
        text-align: center;
        padding: 30px 0;
        transition: .4s;
    }

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

    .menu-toggle{
        display: block;
    }

    /* Animate Hamburger Bars when Active */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-content h1{
        font-size: 45px;
    }

    .about-wrapper{
        grid-template-columns: 1fr;
    }

    .about-image img{
        height: 450px;
    }

    .stats-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .amenities-grid{
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .rooms-grid{
        grid-template-columns: 1fr; /* Go to 1 card full-width on tablet/mobile */
    }

    .gallery-grid{
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .testimonial-grid{
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .contact-wrapper{
        grid-template-columns: 1fr;
    }

    .footer-grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* MOBILE VIEWPORTS (max-width: 600px) */
@media(max-width: 600px){
    section{
        padding: 60px 0;
    }

    .container{
        width: 92%;
    }

    .logo a{
        font-size: 22px;
    }

    .hero{
        height: 90vh;
    }

    .hero-content h1{
        font-size: clamp(2.3rem, 7vw, 4.2rem);
    }

    .welcome-text{
        font-size: 18px;
    }

    .hero-content p{
        font-size: clamp(1rem, 3vw, 1.3rem);
    }

    .hero-buttons{
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn{
        width: 200px;
    }

    .section-title h2{
        font-size: 28px;
    }

    .about-content h2{
        font-size: 30px;
    }

    .about-image img{
        height: 350px;
    }

    .experience-badge{
        right: 15px;
        bottom: 15px;
        left: auto;
        padding: 20px;
    }

    .experience-badge h3{
        font-size: 30px;
    }

    .stats-grid{
        grid-template-columns: 1fr;
    }

    .amenities-grid{
        grid-template-columns: 1fr;
    }

    .room-image{
        height: 250px;
    }

    .room-content{
        padding: 25px;
    }

    .gallery-grid{
        grid-template-columns: 1fr;
    }

    .gallery-item{
        height: 250px;
    }

    .testimonial-grid{
        grid-template-columns: 1fr;
    }

    .contact-form{
        padding: 25px;
    }

    .footer-grid{
        grid-template-columns: 1fr;
    }

    .call-float{
        right: 20px !important;
        bottom: 95px !important;
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .whatsapp-float{
        right: 20px !important;
        bottom: 25px !important;
        width: 55px;
        height: 55px;
        font-size: 30px;
    }
}