/* d:\Mahesh\HHH\css\style.css */

/* Custom Properties for Theming */
:root {
    --primary: #008000;
    /* Logo Green */
    --primary-dark: #006400;
    --secondary: #ffc107;
    /* Logo Yellow */
    --accent-red: #ff0000;
    /* Logo Red */
    --accent-lime: #ccff00;
    /* Logo Lime */
    --text-main: #2c3e50;
    --text-muted: #7f8c8d;
    --bg-light: #fdfbf7;
    --bg-dark: #1a1a1a;
    --bg-footer: linear-gradient(135deg, #ff0000 0%, #ffc107 50%, #008000 100%);
    --bg-soft-green: #f0f7f0;
    --bg-soft-yellow: #fffbef;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

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

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

.text-center {
    text-align: center;
}

.section-spacing {
    padding: 100px 0;
    position: relative;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-soft-green {
    background-color: var(--bg-soft-green);
}

.bg-soft-yellow {
    background-color: var(--bg-soft-yellow);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Watermark */
.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20rem;
    color: rgba(0, 128, 0, 0.03);
    z-index: 0;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-weight: 900;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
}

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

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--text-main);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.75rem;
}

/* Header & Nav */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.site-header.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .logo img {
    height: 50px;
    width: auto;
}

.site-header .logo span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links a {
    margin: 0 15px;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
    background: var(--primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2000;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 15px);
        right: 5%;
        width: 250px;
        height: auto;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 12px;
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        z-index: 1500;
        gap: 20px;
        padding: 25px 0;
        display: flex;
        transform: translateY(-15px);
        /* This massive shadow creates the dynamic dark fade over the rest of the screen */
        box-shadow: 0 0 0 3000px rgba(0, 0, 0, 0.5), 0 10px 40px rgba(0, 0, 0, 0.15);
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1.15rem;
        margin: 0;
        color: var(--text-main);
    }

    .nav-links .header-cta {
        display: block;
        margin: 10px 0;
    }

    .nav-links .header-cta .btn {
        width: 100%;
        text-align: center;
    }

    /* Keep logo above the faded backdrop */
    .site-header .logo {
        position: relative;
        z-index: 2005;
    }

    /* Hamburger animation */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #1a1a1a;
}

.hero-bg .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    animation: zoomInBg 20s infinite alternate;
}

.hero-bg .slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(0, 0, 0, 0.6));
}

.hero-bg .slide.active {
    opacity: 1;
}

@keyframes zoomInBg {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 3rem;
    cursor: pointer;
    z-index: 10;
    padding: 20px;
    transition: color 0.3s;
    user-select: none;
}

.slider-nav:hover {
    color: #fff;
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-content .subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* About Section */
.about-grid {
    display: block;
    position: relative;
    overflow: hidden;
}

.about-image {
    float: right;
    width: 500px;
    max-width: 50%;
    margin-left: 30px;
    margin-bottom: 20px;
    position: relative;
    z-index: 5;
}

.about-text {
    display: block;
    width: 100%;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.divider {
    height: 3px;
    width: 60px;
    background: var(--primary);
    margin-bottom: 30px;
}

.divider.center {
    margin: 0 auto 30px auto;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.image-stack {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-stack img {
    width: 100%;
    display: block;
    transform: scale(1);
    transition: var(--transition);
}

.image-stack:hover img {
    transform: scale(1.05);
}

.placeholder-img {
    background: #e2e8f0;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

@media(max-width: 900px) {
    .about-image {
        float: none;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-bottom: 30px;
    }

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

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    background: #fff;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-btn {
    padding: 8px 16px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.page-btn.active,
.page-btn:hover:not(:disabled) {
    background: var(--primary);
    color: #fff;
}

.page-btn:disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
    background: transparent;
}

/* Footer Section */
.footer {
    position: relative;
    background: var(--bg-footer);
    background-size: 200% 200%;
    animation: footerGradient 10s ease infinite;
    color: #fff;
    padding: 80px 0 20px 0;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

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

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

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 0.8fr 1.5fr;
    gap: 30px;
    margin-bottom: 60px;
}

.footer h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.footer h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
    color: #bbb;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #888;
    font-size: 0.9rem;
}

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

@media(max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards cubic-bezier(0.25, 0.8, 0.25, 1);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

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

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.scrolled {
    opacity: 1;
    transform: translateY(0);
}

/* Rooms Section */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.room-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    background: #fff;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.room-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.room-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-card:hover .room-img-wrapper img {
    transform: scale(1.05);
}

.room-price-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: var(--text-main);
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.room-details {
    padding: 25px;
}

.room-details h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.room-amenities {
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.room-amenities span {
    background: var(--bg-light);
    padding: 5px 10px;
    border-radius: 4px;
}

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
}

/* Booking Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fefefe;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary);
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: #2c3e50;
}

/* WhatsApp Float Button */
.wa-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: bounceInUpWa 1s ease 2s both, pulseWA 2s infinite 3s;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0px 8px 25px rgba(37, 211, 102, 0.4);
    color: #fff;
}

@keyframes pulseWA {
    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);
    }
}

@keyframes bounceInUpWa {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }

    60% {
        transform: translateY(-10px);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--bg-light);
    display: none;
    /* Hidden by default, shown by JS if FAQs exist */
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 40px auto 0;
    width: 100%;
}

@media (min-width: 992px) {
    .faq-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: var(--transition);
    height: fit-content;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-main);
    transition: background 0.3s;
    font-size: 1.05rem;
}

.faq-question:hover {
    background: var(--bg-soft-green);
}

.faq-question .arrow {
    font-size: 0.8rem;
    transition: transform 0.3s;
    color: var(--primary);
    margin-left: 10px;
}

.faq-question.active {
    color: var(--primary);
    border-bottom: 1px solid var(--bg-light);
    background: var(--bg-soft-green);
}

.faq-question.active .arrow {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 20px 25px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    display: none;
    border-top: 1px solid #f5f5f5;
    white-space: pre-wrap;
    background: #fff;
}

@media (max-width: 768px) {
    .wa-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .wa-float svg {
        width: 25px;
        height: 25px;
    }
}

/* Guest Reviews Section */
.reviews-container {
    max-width: 1200px;
    margin: 40px auto 0;
    position: relative;
    overflow: hidden;
}

.reviews-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
    padding: 20px 10px;
}

.review-card {
    min-width: calc(33.333% - 20px);
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .review-card {
        min-width: 100%;
    }
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary);
    border: 2px solid var(--primary-light);
}

.review-source-logo {
    flex-shrink: 0;
    margin-left: 10px;
}

.badge-google {
    background: #ea433515;
    color: #ea4335;
}

.badge-tripadvisor {
    background: #00af8715;
    color: #00af87;
}

.badge-booking {
    background: #00358015;
    color: #003580;
}

.review-stars {
    color: #ffc107;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.review-text {
    color: #555;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.review-date {
    font-size: 0.8rem;
    color: #888;
}

.reviews-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

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

.review-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    width: 25px;
    border-radius: 10px;
}