/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

:root {
    --color-primary: #a8741a;
    --color-primary-light: #d4af37;
    --color-secondary: #8b0000;
    --color-secondary-light: #b22222;
    --color-accent: #006076;
    --color-dark: #1a1a1a;
    --color-light: #f8f5f0;
    --color-white: #ffffff;
    --color-gold: #d4af37;
    --color-red: #8b0000;
    --color-blue: #1e3a8a;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --border-radius: 4px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-family: var(--font-body);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.8rem;
}

h4 {
    font-size: 2.2rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary-light);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
    position: relative;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.mandala-loader {
    width: 100px;
    height: 100px;
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    position: relative;
}

.mandala-loader::before,
.mandala-loader::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.mandala-loader::before {
    width: 70px;
    height: 70px;
    border: 3px solid var(--color-secondary);
    border-bottom-color: transparent;
    animation: spin 1.5s linear infinite reverse;
}

.mandala-loader::after {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-accent);
    border-left-color: transparent;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo h1 {
    font-size: 2.8rem;
    margin-bottom: 0;
    color: var(--color-white);
    transition: var(--transition);
}

.logo p {
    font-size: 1.4rem;
    margin-bottom: 0;
    color: var(--color-primary-light);
}

header.scrolled .logo h1 {
    color: var(--color-dark);
}

.desktop-nav ul {
    display: flex;
}

.desktop-nav li {
    margin-left: 3rem;
}

.desktop-nav a {
    color: var(--color-white);
    font-size: 1.6rem;
    font-weight: 500;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary-light);
    transition: var(--transition);
}

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

header.scrolled .desktop-nav a {
    color: var(--color-dark);
}

.btn-book {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    display: inline-block;
    transition: var(--transition);
    border: 2px solid var(--color-primary);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--color-white);
    transition: var(--transition);
}

header.scrolled .mobile-menu-btn span {
    background-color: var(--color-dark);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 1001;
    padding: 6rem 2rem;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
}

.mobile-menu li {
    margin-bottom: 2rem;
}

.mobile-menu a {
    color: var(--color-dark);
    font-size: 1.8rem;
    font-weight: 500;
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-book-mobile {
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 2rem;
    border: none !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background: url('./IMG/7.jpeg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-text h1 {
    font-size: 6rem;
    margin-bottom: 2rem;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1.2rem 3rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    display: inline-block;
    transition: var(--transition);
    border: 2px solid var(--color-primary);
    font-size: 1.6rem;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-white);
    font-size: 1.4rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    margin-top: 1rem;
    font-size: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding: 0 2rem;
}

.ornament {
    height: 2px;
    width: 100px;
    background-color: var(--color-primary);
    position: relative;
}

.ornament::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

.ornament:first-child::before {
    right: 0;
}

.ornament:last-child::before {
    left: 0;
}

.section-header.light h2 {
    color: var(--color-white);
}

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

.ornament.light::before {
    background-color: var(--color-white);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-image, .about-text {
    flex: 2;
    position: auto;
}

.image-frame {
    position: relative;
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 400px; /* Optional fixed height */
    border-radius: 8px; /* Optional for rounded corners */
}

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

.image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-primary);
    z-index: -1;
    transform: translate(15px, 15px);
}

.about-text h3 {
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    display: inline-block;
    transition: var(--transition);
    border: 2px solid var(--color-primary);
}

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

/* Features Section */
.features {
    background-color: var(--color-light);
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.feature-item {
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3.6rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.feature-item h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

/* Rooms Section */
.room-slider {
    position: relative;
    overflow: hidden;
}

.room-slide {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.room-slide.active {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .room-slide.active {
        flex-direction: row;
        align-items: center;
        gap: 5rem;
    }
}

.room-image, .room-info {
    flex: 1;
}

.room-info h3 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.room-features li {
    margin-right: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.room-features i {
    margin-right: 0.8rem;
    color: var(--color-primary);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
}

.prev-slide, .next-slide {
    background-color: transparent;
    border: none;
    font-size: 2rem;
    color: var(--color-primary);
    cursor: pointer;
    padding: 1rem;
}

.slider-dots {
    display: flex;
    margin: 0 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--color-primary);
}

/* Restaurant Section */
.restaurant {
    position: relative;
    color: var(--color-white);
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./IMG/original-2be9bafa3b31ff7109230ab938ebf9a8.gif') no-repeat center center/cover;
    z-index: -1;
}

.restaurant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    z-index: -1;
}

.restaurant-content {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

@media (min-width: 768px) {
    .restaurant-content {
        flex-direction: row;
        align-items: center;
    }
}

.restaurant-text, .restaurant-image {
    flex: 1;
}

.restaurant-text {
    background-color: rgba(131, 131, 131, 0.5); /* Black with 50% transparency */
    padding: 2.5rem;
    border-radius: var(--border-radius);
    color: var(--color-white);
}


.restaurant-hours {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin: 3rem 0;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.hours-item h4 {
    color: var(--color-primary-light);
    margin-bottom: 1rem;
}

.hours-item p {
    margin-bottom: 0.5rem;
}

/* Convention Hall Section */
.convention-content {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

@media (min-width: 768px) {
    .convention-content {
        flex-direction: row;
        align-items: center;
    }
}

.convention-image, .convention-text {
    flex: 1;
}

.convention-text h3 {
    color: var(--color-primary);
    margin-bottom: 2rem;
}

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

.feature {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.feature i {
    font-size: 2.4rem;
    color: var(--color-primary);
}

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

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    height: 250px;
}

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

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

/* Testimonials Section */
.testimonials {
    background-color: var(--color-light);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background-color: var(--color-white);
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--color-primary);
    opacity: 0.2;
    position: absolute;
    top: 2rem;
    left: 2rem;
}

.testimonial-author {
    margin-top: 2rem;
}

.testimonial-author h4 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.prev-testimonial, .next-testimonial {
    background-color: transparent;
    border: none;
    font-size: 2rem;
    color: var(--color-primary);
    cursor: pointer;
    padding: 1rem;
}

.testimonial-dots {
    display: flex;
    margin: 0 2rem;
}

/* Contact Section */
.contact-content {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

@media (min-width: 768px) {
    .contact-content {
        flex-direction: row;
    }
}

.contact-info, .contact-form {
    flex: 1;
}

.info-item {
    display: flex;
    margin-bottom: 3rem;
}

.info-item i {
    font-size: 2.4rem;
    color: var(--color-primary);
    margin-right: 2rem;
    min-width: 2.4rem;
}

.info-item h4 {
    color: var(--color-primary);
    margin-bottom: 0.8rem;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 1.8rem;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.contact-form {
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--color-primary);
    margin-bottom: 2.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 2rem;
}

input, select, textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1.6rem;
}

textarea {
    height: 150px;
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 2rem;
}

.form-row .form-group {
    flex: 1;
}

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

.booking-modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--color-white);
    padding: 4rem;
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.4rem;
    cursor: pointer;
    color: var(--color-dark);
}

.booking-modal h2 {
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 3rem;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

/* Footer */
footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 6rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
    }
}

.footer-logo {
    flex: 1;
}

.footer-logo h2 {
    color: var(--color-white);
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: var(--color-primary-light);
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    color: var(--color-primary-light);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column a {
    color: var(--color-white);
    opacity: 0.8;
}

.footer-column a:hover {
    color: var(--color-primary-light);
    opacity: 1;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom p {
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .footer-bottom p {
        margin-bottom: 0;
    }
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--color-white);
    opacity: 0.8;
    font-size: 1.4rem;
}

.footer-bottom-links a:hover {
    color: var(--color-primary-light);
    opacity: 1;
}

/* Animation Classes */
.reveal-left, .reveal-right, .reveal-up {
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease;
}

.reveal-left.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.reveal-right.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.reveal-up.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.animate-text {
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Media Queries */
@media (max-width: 1024px) {
    html {
        font-size: 58%;
    }
    
    .hero-text h1 {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    .desktop-nav, .book-now {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-text h1 {
        font-size: 4.2rem;
    }
    
    .about-content, .restaurant-content, .convention-content {
        flex-direction: column;
    }
    
    .about-image, .restaurant-image, .convention-image {
        margin-bottom: 3rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 50%;
    }
    
    section {
        padding: 6rem 0;
    }
    
    .hero-text h1 {
        font-size: 3.6rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-content {
        padding: 3rem 2rem;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .info-item i {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* === Begin Mobile Overflow Fixes === */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

section, .container, .header-inner, .hero-content, .mobile-menu {
    max-width: 100vw;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

/* Prevent overflow from sliders and galleries */
.room-slider,
.room-slide,
.testimonial-slider,
.gallery-grid {
    overflow-x: hidden !important;
}

/* Ensure images never overflow */
.image-frame img,
.room-image img,
.convention-image img,
.about-image img,
.restaurant-image img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: var(--border-radius);
}

/* Force responsive stacking */
@media (max-width: 768px) {
    .room-slide.active,
    .restaurant-content,
    .about-content,
    .convention-content,
    .footer-content,
    .form-row {
        flex-direction: column !important;
        align-items: center;
        gap: 2rem;
    }

    .slider-controls {
        flex-direction: column;
        gap: 1rem;
    }

    .desktop-nav, .book-now {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-text h1 {
        font-size: 4.2rem;
    }

    .image-frame {
        height: auto;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 80vh;
        min-height: 500px;
    }

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

    .testimonial-content {
        padding: 3rem 2rem;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
    }

    .info-item i {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}
/* === End Mobile Overflow Fixes === */
