/* Royal Palace Banquet - Stylesheet */

@font-face {
    font-family: 'LeMajor';
    src: url('font/LeMajor-Regular.woff') format('woff'),
        url('font/LeMajor-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'RoyalFont';
    src: url('font/ROYAL-Regular-BF6904912476c15.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'RoyalTreasure';
    src: url('font/Royal Treasure.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    /* Color Palette */
    --color-primary: #0a1025;
    /* Deep Royal Navy */
    --color-primary-dark: #050814;
    --color-gold: #D4AF37;
    /* Metallic Gold */
    --color-cream: #F5F5DC;
    --color-text-dark: #333333;
    --color-text-light: #F5F5F5;

    /* Base Font Variables */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --font-brand: 'Cinzel', serif;
    --font-royal: 'RoyalTreasure', serif;
    /* Updated to Royal Treasure */
    --font-lemajor: 'LeMajor', serif;
    --color-gold: #D4AF37;
    --color-royal-blue: #0a1025;
    --color-white: #ffffff;

    /* ... rest of vars ... */

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 64px;
    --spacing-xl: 100px;

    /* Transitions */
    --transition-slow: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-medium: all 0.3s ease-out;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    /* Critical for mobile scroll fix */
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-white);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    /* Fix horizontal scroll globally */
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- ROYAL CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
    /* Dark track */
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #bfa15f, #FFD700);
    /* Gold gradient */
    border-radius: 5px;
    border: 2px solid #0a0a0a;
    /* Creates padding effect */
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #ffd700, #ffe55c);
    /* Brighter gold on hover */
}

/* ------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-medium);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-gold {
    color: var(--color-gold);
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

/* Gold Divider */
.divider-gold {
    height: 2px;
    width: 100px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: var(--spacing-md) auto;
}

/* Buttons */
.btn-royal {
    display: inline-block;
    padding: 14px 40px;
    background-color: var(--color-primary);
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    font-family: var(--font-heading);
    /* text-transform: uppercase; */
    letter-spacing: 2px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn-royal:hover {
    background-color: var(--color-gold);
    color: var(--color-primary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Loading Screen */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: 'RoyalTreasure', serif;
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 1s ease-out forwards;
}

.loader-line {
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    margin: 0 auto;
    animation: expandLine 1.5s ease-in-out forwards 0.5s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandLine {
    to {
        width: 150px;
    }
}

.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: var(--transition-medium);
    background: transparent;
}

.site-header.scrolled {
    background-color: rgba(10, 16, 37, 0.95);
    /* Deep Royal Navy with opacity */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: var(--spacing-xs) 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo-img {
    height: 60px;
    /* Adjust based on logo aspect ratio */
    width: auto;
    display: block;
    transition: var(--transition-medium);
}

.brand-text-logo {
    font-family: var(--font-brand);
    font-size: 1.8rem;
    color: var(--color-gold);
    font-weight: 700;
    /* text-transform: uppercase; */
    letter-spacing: 2px;
    line-height: 1.1;
    max-width: 70%;
    /* Prevent hitting hamburger on mobile */
}

@media (max-width: 768px) {
    .brand-text-logo {
        font-size: 1.1rem;
        /* Smaller, cleaner on mobile */
        letter-spacing: 1px;
    }

    .site-header {
        padding: 10px 0;
        /* Tighter header on mobile */
    }

    .hero-title {
        font-size: 2rem;
        /* Fix huge hero text */
    }
}

.site-header.scrolled .logo-img {
    height: 50px;
    /* Slightly smaller on scroll */
}

.logo-img-footer {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--color-white);
    font-size: 0.9rem;
    letter-spacing: 1px;
    /* text-transform: uppercase; */
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition-medium);
}

.nav-links a:hover {
    color: var(--color-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomEffect 20s infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 16, 37, 0.7) 0%, rgba(10, 16, 37, 0.4) 50%, rgba(10, 16, 37, 0.9) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    padding-top: 60px;
    /* Offset for header */
}

.hero-title {
    font-size: 4rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeUp 1.2s ease-out forwards 1.6s;
    /* Wait for preloader */
}

.hero-divider {
    height: 3px;
    width: 150px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: var(--spacing-md) auto;
    opacity: 0;
    animation: widthExpand 1.2s ease-out forwards 2s;
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 4px;
    /* text-transform: uppercase; */
    color: var(--color-cream);
    opacity: 0;
    animation: fadeUp 1.2s ease-out forwards 2.4s;
}

/* Keyframes */
@keyframes zoomEffect {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

@keyframes widthExpand {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 150px;
        opacity: 1;
    }
}

/* Booking Inquiry Bar */
.booking-bar {
    background-color: var(--color-cream);
    padding: var(--spacing-md) 0;
    width: 90%;
    margin: -60px auto 0;
    /* Overlap hero */
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-top: 4px solid var(--color-gold);
    border-radius: 4px;
}

.section-title-sm {
    font-family: 'RoyalTreasure', serif;
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    /* text-transform: uppercase; */
    letter-spacing: 2px;
    font-weight: 600;
}

.booking-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
    align-items: center;
}

.form-group input {
    padding: 14px 20px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    width: 220px;
    background: var(--color-white);
    transition: var(--transition-medium);
    color: var(--color-text-dark);
}

.form-group input::placeholder {
    color: #999;
}

.form-group input:focus {
    border-color: var(--color-gold);
    outline: none;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.btn-submit {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-primary);
    padding: 14px 30px;
    font-size: 0.85rem;
}

.btn-submit:hover {
    background-color: var(--color-gold);
    color: var(--color-primary);
    border-color: var(--color-gold);
}

/* Experience Section */
.section-title {
    font-family: 'RoyalTreasure', serif;
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-desc {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.bg-light {
    background-color: var(--color-text-light);
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.category-card {
    background: var(--color-white);
    padding: var(--spacing-md);
    text-align: center;
    border: 1px solid transparent;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.category-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-img-wrapper {
    height: 250px;
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    position: relative;
}

.card-img-placeholder {
    width: 100%;
    height: 100%;
    transition: var(--transition-slow);
}

.category-card:hover .card-img-placeholder {
    transform: scale(1.1);
}

.card-title {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.card-link {
    display: inline-block;
    margin-top: var(--spacing-sm);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.9rem;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
}

.card-link::after {
    content: ' »';
    transition: margin-left 0.3s;
}

.category-card:hover .card-link::after {
    margin-left: 5px;
}

/* Halls Grid */
.royal-cards-grid {
    display: grid;
    /* Force 3 columns on larger screens, auto-wrap on small */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px;
    margin-top: 40px;
}

/* Responsiveness: Stack on mobile/tablet if needed */
@media (max-width: 992px) {
    .royal-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

.hall-card {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.hall-photo {
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease;
    object-fit: cover;
}

.hall-card:hover .hall-photo {
    transform: scale(1.1);
}

.hall-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease, opacity 0.4s ease;
    text-align: left;
}

.hall-card:hover .hall-info {
    transform: translateY(0);
}

.hall-info h3 {
    color: var(--color-gold);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.btn-text {
    color: var(--color-white);
    font-size: 0.9rem;
    text-decoration: underline;
    opacity: 0.8;
}

/* About Split */
.about-split {
    display: flex;
    flex-wrap: wrap;
    min-height: 600px;
}

.about-image-side,
.about-text-side {
    flex: 1;
    min-width: 300px;
}

.about-image-side {
    position: relative;
    background-color: #000;
}

.about-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)), url('hero_palace_interior_1767423669593.png') center/cover;
    min-height: 300px;
}

.about-text-side {
    background-color: var(--color-primary);
    color: var(--color-cream);
    display: flex;
    align-items: center;
    padding: 60px;
}

.about-content-inner {
    max-width: 500px;
    margin: 0 auto;
}

.about-content-inner p {
    margin-bottom: 20px;
    opacity: 0.9;
    font-weight: 300;
}

/* Testimonials */
.bg-royal {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.testimonial-slider {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-slide {
    display: none;
    animation: fadeUp 1s ease-out;
}

.testimonial-slide.active {
    display: block;
}

.quote {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 20px;
}

.slider-dots {
    text-align: center;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--color-gold);
}

/* Stats */
.stats-bar {
    padding: 80px 0;
    background-color: var(--color-white);
    border-bottom: 4px solid var(--color-gold);
}

.flex-row-center {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--color-gold);
    font-weight: 700;
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    /* text-transform: uppercase; */
    letter-spacing: 2px;
    color: var(--color-primary);
}

/* Final CTA */
.bg-gold {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    color: var(--color-primary);
}

.text-primary {
    color: var(--color-primary) !important;
}

.btn-inverse {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-inverse:hover {
    background-color: var(--color-primary);
    color: var(--color-gold);
    border-color: var(--color-primary);
}

/* Footer */
.royal-footer {
    background-color: var(--color-primary-dark);
    color: #ccc;
    padding: 80px 0 20px;
    border-top: 5px solid var(--color-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a:hover {
    color: var(--color-gold);
}

.social-icons a {
    display: inline-block;
    margin-right: 20px;
    color: var(--color-gold);
    /* text-transform: uppercase; */
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.social-icons a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ================= Refined Sections CSS ================= */

/* Refined Testimonials */
.testimonials-refine {
    background-color: #FFF8F0;
    padding-bottom: 0;
    padding-top: 40px;
    /* Reduced from default section-padding */
}

.testimonials-refine .section-title {
    margin-bottom: 40px;
    /* Balances space with top padding */
}

.testimonial-avatars {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.testi-avatar {
    width: 80px;
    height: 80px;
    background-color: #555;
    border-radius: 50%;
    opacity: 0.5;
    transition: var(--transition-medium);
    object-fit: cover;
    /* Ensures images are not distorted */
}

.testi-avatar.active {
    width: 100px;
    height: 100px;
    background-color: #333;
    /* Placeholder for image */
    opacity: 1;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.testi-author-info {
    margin-bottom: 40px;
}

.author-name {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.author-role {
    font-size: 0.9rem;
    color: #777;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
}

.testimonial-red-band {
    background-color: #A50000;
    /* Royal Red */
    color: white;
    padding: 60px 0;
    position: relative;
    margin-top: 30px;
}

.testi-arrow {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid #A50000;
}

.quote-text {
    font-size: 1.1rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--font-heading);
    line-height: 1.8;
    transition: opacity 0.3s ease-in-out;
}

.author-role {
    font-size: 0.9rem;
    color: #777;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
    transition: opacity 0.3s ease-in-out;
}

/* Refined Achievements */
.achievements-section {
    background-color: #FFF5E6;
    /* Light Cream */
}

.achievements-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.achieve-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.achieve-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.icon-svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-primary);
    /* Dark Blue */
    stroke-width: 1.5;
    fill: none;
}

.achieve-num {
    font-size: 2.5rem;
    color: #DAA520;
    /* Gold/Orange */
    font-weight: 700;
    margin-bottom: 10px;
    font-family: var(--font-body);
}

.achieve-label {
    font-size: 0.9rem;
    color: var(--color-primary);
    /* text-transform: uppercase; */
    letter-spacing: 2px;
    font-weight: 600;
}

/* Footer CTA Strip */
.footer-cta-strip {
    background-color: #FFB300;
    /* Bright Gold from image */
    padding: 25px 0;
    color: var(--color-primary);
    font-weight: 700;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
    font-size: 0.8rem;
    font-family: var(--font-royal);
}

/* Refined Footer */
.royal-footer-refined {
    background-color: #05102A;
    /* Deep Navy from reference */
    color: #fff;
    padding: 80px 0 20px;
}

.footer-grid-refined {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col-main {
    flex: 2;
    min-width: 300px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.footer-logo-box {
    margin-top: 5px;
}

.footer-contact-info h3.footer-brand-name {
    font-family: 'RoyalTreasure', serif;
    color: #D4AF37;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.icon-text {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.icon {
    font-size: 1.2rem;
    margin-top: -3px;
}

.icon-text p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
}

.footer-col-links {
    flex: 1;
    min-width: 150px;
}

.footer-col-links h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 25px;
    letter-spacing: 2px;
    /* text-transform: uppercase; */
}

.footer-col-links ul li {
    margin-bottom: 15px;
}

.footer-col-links ul li a {
    color: #ccc;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-col-links ul li a:hover {
    color: #FFB300;
}

.row-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: none;
    padding-top: 30px;
    font-size: 0.85rem;
    color: #888;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-circle {
    width: 35px;
    height: 35px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    transition: background-color 0.3s;
}

/* ================= Animations & Effects ================= */

/* Scroll Reveal Base */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* Gold Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.shimmer-effect {
    position: relative;
    overflow: hidden;
}

.shimmer-effect::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shimmer 6s infinite;
    /* Slow, elegant shimmer */
}

/* Enhancing Hover Effects */
.category-card,
.hall-card {
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.5s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.btn-royal {
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: color 0.4s ease;
}

.btn-royal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-gold);
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.btn-royal:hover::before {
    width: 100%;
}

.btn-royal:hover {
    color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Parallax Utility */
/* ================= Home 2 Specific Styles ================= */

/* Top Gold Bar */
.top-gold-bar {
    background: url('goldbar.png') no-repeat center center;
    background-size: cover;
    /* Texture + Gradient */
    color: var(--color-primary);
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1001;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-icons a {
    margin-left: 15px;
    color: var(--color-primary);
    font-size: 1rem;
    transition: transform 0.3s;
}

.top-bar-icons a:hover {
    transform: scale(1.2);
    color: var(--color-white);
}

/* Home 2 Header Overrides */
.site-header.home-2-header {
    top: 40px;
    /* Push down to account for top bar */
}

@media (max-width: 768px) {
    /* Rule moved to bottom with top-gold-bar styles to ensure strict alignment */
}

.site-header.home-2-header.scrolled {
    top: 0;
    /* Stick to top on scroll */
}

/* Home 2 Hero (Central Logo) */
.hero-section.hero-home-2 {
    background-image: url('https://www.transparenttextures.com/patterns/royal.png');
    /* Pattern overlay */
    background-color: var(--color-primary);
    background-blend-mode: overlay;
}

.hero-home-2 .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    /* Offset */
}

.hero-welcome-text {
    font-size: 3.5rem;
    font-family: var(--font-body);
    /* More bold/blocky like reference */
    font-weight: 900;
    /* text-transform: uppercase; */
    color: var(--color-white);
    letter-spacing: 5px;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.hero-central-logo {
    max-width: 600px;
    /* Big central logo */
    width: 80%;
    margin: 20px auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6));
    animation: floatLogo 6s ease-in-out infinite;
}

.hero-brand-name-large {
    font-family: var(--font-heading);
    font-size: 4rem;
    background: linear-gradient(to bottom, #FFD700, #DAA520);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
    margin-top: 10px;
    text-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ================= Exact Replica Styles (Grid Rewrite) ================= */

/* Navigation Layout */
.home-2-nav-layout .nav-wrapper {
    justify-content: flex-start;
}

.brand-text-logo {
    font-family: 'RoyalTreasure', serif;
    color: #DAA520;
    font-size: 1rem;
    font-weight: 700;
    /* text-transform: uppercase; */
    text-decoration: none;
    margin-right: auto;
}

/* ================= Exact Replica Styles (Refined) ================= */

/* Hero Container */
.hero-section.exact-replica {
    background-color: #001540;
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 100vh;
    padding: 100px 0 100px;
    /* Add padding for top bar/header and bottom spacing */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Layer 1: Background */
.hero-background-replica {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('pattern-bg.png') no-repeat center center;
    background-size: cover;
    opacity: 1;
    z-index: 0;
}

/* Layer 2: Main Grid/Layout Container - Now just a shell for center content */
.hero-grid-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    /* Allow clicks to pass to images if needed */
}

/* Center Column: Content */
.center-col {
    width: 60%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    z-index: 20;
    padding-bottom: 5vh;
    /* Push up slightly */
}

/* Hide Grid Side Columns (we use absolute placement for "random" look) */
.left-col,
.right-col {
    display: none;
}

/* Images - Absolute Placement ("Random" Corners) */
.floating-img {
    position: absolute;
    /* border: 2px solid #DAA520; REMOVED */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    background: #001f5b;
    transition: transform 0.3s ease;
    z-index: 15;
    pointer-events: auto;
}

.floating-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.floating-img:hover {
    transform: scale(1.05);
    /* Subtle hover */
    z-index: 25;
}

/* Specific Positions & SMALLER Sizes */
/* ================= Floating Images (4 Corners) ================= */
.floating-img {
    position: absolute;
    width: 20vw;
    max-width: 350px;
    height: auto;
    z-index: 15;
    opacity: 0;
    /* Animated in */
    /* border: 3px solid #DAA520; REMOVED per request */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

/* .float-left-top */
.float-left-top {
    top: -7.7% !important;
    left: 15.4% !important;
    width: 14.5vw !important;
    max-width: none !important;
    height: 37vh !important;
    right: auto !important;
    bottom: auto !important;
}

/* .float-right-top */
.float-right-top {
    top: 3.2% !important;
    left: 71% !important;
    width: 17.5vw !important;
    max-width: none !important;
    height: 21vh !important;
    right: auto !important;
    bottom: auto !important;
}

/* .float-left-bottom */
.float-left-bottom {
    top: 46.6% !important;
    left: 2.4% !important;
    width: 14vw !important;
    max-width: none !important;
    height: 39vh !important;
    right: auto !important;
    bottom: auto !important;
}

/* .float-right-bottom */
.float-right-bottom {
    top: 50.4% !important;
    left: 81.3% !important;
    width: 20vw !important;
    max-width: none !important;
    height: 37.5vh !important;
    right: auto !important;
    bottom: auto !important;
}


/* Layer 3: Giant Bottom Text - Absolute Overlay */
.giant-bottom-text-container {
    position: absolute;
    bottom: 12%;
    /* Moved up significantly to clear the Inquire section */
    width: 100%;
    z-index: 5;
    text-align: center;
    pointer-events: none;
    /* Ensure it doesn't block clicks if it accidentally overlaps */
}

.giant-text {
    font-family: 'RoyalTreasure', serif;
    color: #FFD700;
    font-size: 3rem;
    /* Slightly smaller for safety */
    font-weight: 700;
    /* text-transform: uppercase; */
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.9);
    letter-spacing: 4px;
    margin: 0;
    line-height: 1;
}

/* Central Content Styling */
@font-face {
    font-family: 'TrajanPro';
    src: url('font/TrajanPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TrajanPro';
    src: url('font/TrajanPro-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

.hero-welcome-text {
    font-size: 2rem;
    /* Smaller */
    font-family: 'RoyalTreasure', serif;
    letter-spacing: 3px;
    font-weight: 700;
    /* text-transform: uppercase; */
    color: var(--color-white);
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

.hero-central-logo {
    max-width: 700px;
    /* Increased cap */
    width: 80%;
    min-width: 350px;
    /* Ensure it doesn't get too small */
    height: auto;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.9));
}

.hero-bottom-desc {
    max-width: 700px;
    width: 100%;
    margin-top: 20px;
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
    background: transparent;
    /* Clean */
    padding: 0;
    border: none;
}

/* Media Queries */
@media (max-width: 1366px) {

    /* Laptop adjustments */
    .float-left-top {
        width: 150px;
        height: 200px;
        left: 5%;
    }

    .float-right-top {
        width: 170px;
        height: 130px;
        right: 5%;
    }

    .float-left-bottom {
        width: 180px;
        height: 130px;
        left: 3%;
        bottom: 15%;
    }

    .float-right-bottom {
        width: 160px;
        height: 220px;
        right: 3%;
        bottom: 15%;
    }

    .giant-text {
        font-size: 3rem;
    }

    .hero-central-logo {
        max-width: 250px;
    }
}

@media (max-width: 992px) {
    .floating-img {
        display: none;
    }

    /* Hide on tablets/mobile for clean look */
    .giant-text {
        font-size: 2.5rem;
        bottom: 10%;
    }
}

/* ================= Royal Experience (Beige Section) ================= */
.royal-experience-beige {
    background-color: #fcf8ed;
    padding: 80px 0 160px;
    /* Increased height for swirls/logo space */
    position: relative;
    z-index: 15;
    /* Ensure this section and its overlap sits above the next section */
    font-family: 'Playfair Display', serif;
    text-align: center;
    overflow: visible;
    /* Allow logo to overlap */
}

.swirl-corner {
    position: absolute;
    bottom: 0;
    width: 200px;
    opacity: 0.6;
    pointer-events: none;
}

.swirl-corner.left {
    left: -50px;
    transform: rotate(45deg);
}

.swirl-corner.right {
    right: -50px;
    transform: rotate(-45deg);
}

/* Divider Layout */
.deco-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    width: 90%;
}

.gold-line {
    flex-grow: 1;
    height: 1px;
    background: #DAA520;
    /* Gold */
    opacity: 0.6;
}

.swirl-divider-full {
    max-width: 800px;
    width: 90%;
    height: auto;
    margin: 30px auto;
    display: block;
    opacity: 1;
}

.swirl-icon {
    width: 60px;
    /* Small icon size */
    height: auto;
    margin: 0 15px;
    /* Spacing around icon */
    opacity: 0.8;
}

.swirl-img {
    max-width: 200px;
    /* significantly smaller as requested */
    width: 30%;
    /* Responsive sizing */
    opacity: 0.9;
    display: block;
    margin: 20px auto;
    /* Better vertical spacing */
}

.exp-subtitle {
    font-family: 'Lato', sans-serif;
    /* Or similar sans-serif */
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #5a6e9c;
    /* Muted Blue/Purple from ref */
    /* text-transform: uppercase; */
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 20px;
}

.exp-main-text {
    font-size: 2.2rem;
    line-height: 1.6;
    color: #555;
    margin-top: 30px;
    font-family: 'LeMajor', serif;
    font-weight: 400;
    /* font-variant: small-caps; */
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.exp-main-text .line-1 {
    display: block;
    margin-bottom: 5px;
}

.royal-font {
    font-family: 'RoyalTreasure', serif;
    font-style: normal;
    color: #555;
}

.exp-main-text .royal-font {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
}

/* Bottom Row: Swirls & Logo Overlap */
.experience-bottom-row {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: -120px;
    /* Adjusted to center larger logo */
    /* Exactly half of approx 150px height */
    left: 0;
    width: 100%;
    z-index: 20;
    gap: 20px;
    pointer-events: none;
    /* Let clicks pass through if needed, but logo might need events */
}

.swirl-decoration {
    width: 250px;
    height: auto;
    opacity: 0.8;
    transform: translateY(-60px);
    /* Lift swirls so they don't touch the red section */
}

.overlap-logo-container {
    position: relative;
    z-index: 21;
    pointer-events: auto;
}

.overlap-logo {
    width: 450px;
    /* Increased from 300px */
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

/* Mobile Fix for Swirls/Logo Overlap */
@media (max-width: 768px) {
    .experience-bottom-row {
        bottom: -40px;
        /* Less aggressive overlap on mobile */
        gap: 10px;
    }

    .swirl-decoration {
        width: 100px;
        /* Smaller swirls */
        transform: translateY(0);
        /* Reset lift */
    }

    .overlap-logo {
        width: 200px;
        /* Smaller logo */
    }
}

/* ================= Booking Inquiry (Yellow Bar Style) ================= */
.booking-bar {
    background-color: #F4C430;
    /* Solid Gold Background */
    padding: 30px 0;
    position: relative;
    z-index: 50;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid #DAA520;
}

.booking-form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.booking-bar .section-title-sm {
    color: #0a1025;
    /* Dark Navy Text */
    font-family: 'RoyalTreasure', serif;
    font-weight: 700;
    margin-bottom: 20px;
    /* text-transform: uppercase; */
    font-size: 1.5rem;
    width: 100%;
    /* Ensure title takes full width above inputs if needed, or inline */
}

.booking-form .form-group {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
}

.booking-form input,
.booking-form select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #cfaa5e;
    color: #333;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.booking-form input::placeholder {
    color: #777;
    font-style: italic;
}

.booking-form input:focus {
    outline: none;
    background: #fff;
    border-color: #0a1025;
}

.booking-form .btn-submit {
    background-color: #0a1025;
    /* Royal Navy Button */
    color: #D4AF37;
    /* Gold Text */
    border: 1px solid #0a1025;
    padding: 12px 30px;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    min-width: 150px;
}

.booking-form .btn-submit:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ================= Royal Red Events Section ================= */

.royal-events-red-section {
    position: relative;
    background-color: #a00000;
    /* Fallback Red */
    padding: 140px 0 80px;
    /* Increased padding to clear overlapping logo */
    color: white;
    overflow: visible;
    /* Allow logo to overlap from above */
    z-index: 10;
}

/* Red Pattern Background */
.red-pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('red-floral-bg.png') repeat;
    /* User provided floral */
    background-size: 500px;
    /* Adjust size to look like reference */
    opacity: 1;
    z-index: 1;
}

.relative-z {
    position: relative;
    z-index: 5;
}

/* Header & Logo */
.royal-events-header {
    position: absolute;
    /* Take out of flow to overlay border */
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    /* Centered exactly on the line */
    z-index: 10;
    margin: 0;
    padding: 0;
}

.events-center-logo {
    max-width: 320px;
    /* Slightly larger */
    width: 60%;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

/* Cards Grid */
.royal-cards-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Card Styling */
.royal-card {
    background: #fff;
    width: 350px;
    /* Fixed width for uniformity */
    max-width: 100%;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    /* Flex layout for internal alignment */
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease;
}

.royal-card:hover {
    transform: translateY(-10px);
}

.rc-header {
    margin-bottom: 15px;
    border-bottom: 1px solid transparent;
    /* Placeholder for divider if needed */
}

/* Titles with specific fonts & colors */
.rc-title {
    font-family: 'RoyalTreasure', serif;
    /* Or a fancier decorative font */
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    /* text-transform: uppercase; */
}

.title-weddings {
    color: #800000;
}

/* Dark Red */
.title-corporate {
    color: #003366;
}

/* Navy Blue */
.title-special {
    color: #cc7a00;
}

/* Gold/Orange */

/* Image Wrapper */
.rc-img-wrapper {
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
    overflow: hidden;
}

.rc-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.royal-card:hover .rc-img-wrapper img {
    transform: scale(1.1);
}

/* Body Wrapper */
.rc-body {
    flex-grow: 1;
    /* Fills remaining height */
    display: flex;
    flex-direction: column;
}

/* Body Text */
.rc-body p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    /* min-height removed for flex alignment */
}

/* ========================================= */
/* DROPDOWN MENU STYLES (Robust) */
/* ========================================= */
.nav-links li {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0a1025;
    /* Royal Navy */
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    border: 1px solid #D4AF37;
    /* Gold Border */
    border-top: 3px solid #D4AF37;
    padding: 10px 0;
    border-radius: 0 0 4px 4px;
}

.dropdown-content a {
    color: #F5F5F5;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    text-align: left;
    transition: all 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: #D4AF37;
    padding-left: 25px;
    /* Subtle slide effect */
}

/* Show Dropdown on Hover */
.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeInUp 0.3s ease-out;
}

/* Right-aligned dropdown (for Contact) */
.dropdown-content.dropdown-right {
    left: auto;
    right: 0;
    transform: none;
    /* Reset the center alignment */
}

/* Read More Links (Enhanced) */
.rc-link {
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 5px 0;
}

.rc-link:hover {
    letter-spacing: 1px;
}

.rc-link {
    display: block;
    text-align: right;
    margin-top: auto;
    /* Pushes button to bottom */
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: letter-spacing 0.3s ease;
}

.rc-link:hover {
    letter-spacing: 1px;
    text-decoration: underline;
}

.text-weddings {
    color: #800000;
}

.text-corporate {
    color: #003366;
}

.text-special {
    color: #cc7a00;
}

/* Responsive */
@media (max-width: 992px) {
    .royal-cards-grid {
        flex-direction: column;
        align-items: center;
    }

    .royal-card {
        width: 100%;
        max-width: 500px;
    }
}

/* ================= Royal Halls Replica Section ================= */

/* Updated Hall Cards with Photos */
.hall-img-wrapper {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.hall-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hall-card:hover .hall-photo {
    transform: scale(1.1);
}

.hall-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.6));
    pointer-events: none;
}

.halls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.hall-card {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    /* Optional rounded corners */
    overflow: hidden;
}

.hall-info {
    padding: 20px;
}

.royal-halls-section {
    background-color: #fcf8ed;
    /* Matching Beige */
    padding: 60px 0;
    overflow: visible;
    /* Allowing pop-outs */
}

/* Header */
.halls-header-row {
    display: flex;
    justify-content: center;
    /* Center the title */
    align-items: center;
    position: relative;
    margin-bottom: 40px;
    padding: 0 5%;
}

.halls-main-title {
    font-family: 'RoyalTreasure', serif;
    /* or specific font style */
    color: #003366;
    /* Royal Blue */
    font-size: 2.5rem;
    font-weight: 700;
    /* text-transform: uppercase; */
    margin: 0;
}

.halls-nav-controls {
    position: absolute;
    right: 5%;
    display: flex;
    gap: 10px;
}

.nav-arrow {
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    border: 1px solid #333;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: #003366;
    color: #fff;
    border-color: #003366;
}

/* === ROYAL HALLS CAROUSEL (CLEAN VERSION) === */

.halls-carousel-wrapper {
    position: relative;
    display: flex;
    gap: 30px;
    user-select: none;
    /* Prevent text selection */
    -webkit-user-select: none;
    padding: 60px 80px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    scrollbar-width: none;
    align-items: center;
    /* Helper for vertical alignment */
}

.halls-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.halls-carousel-wrapper:active {
    cursor: grabbing;
}

.hall-replica-card {
    flex: 0 0 320px;
    height: 420px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: #000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.6s ease,
        opacity 0.6s ease;
    opacity: 0.6;
    transform: scale(0.9);
}

/* Center Active Card */
.hall-replica-card.active-hall {
    transform: scale(1.05);
    /* Stable scale */
    opacity: 1;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    z-index: 5;
}

.hall-rep-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hall-rep-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent 60%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hall-rep-title {
    color: #FFD700;
    /* Gold */
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0 0 5px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    /* text-transform: uppercase; */
}

.hall-rep-cap {
    color: #fff;
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Mobile Fix for Swirls/Logo Overlap */
@media (max-width: 992px) {
    .halls-carousel-wrapper {
        justify-content: flex-start;
        /* Left align for scroll */
        padding-left: 50px !important;
        /* Ensure spacing on mobile */
        padding-right: 50px !important;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }

    .active-hall {
        transform: scale(1.05);
        /* Slight pop on mobile OK */
        /* margin: 0 30px; REMOVED to prevent dynamic width changes breaking loop logic */
        border: 2px solid #DAA520;
    }
}

/* ================= Royal About Blue Section Replica ================= */

.royal-about-blue-section {
    position: relative;
    padding: 80px 0;
    background-color: #001a33;
    /* Deep Royal Navy Blue Base */
    overflow: hidden;
    color: #fff;
}

/* Pattern Overlay */
.blue-pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('pattern-bg.png') repeat;
    background-size: 400px;
    opacity: 0.1;
    /* Subtle pattern */
    z-index: 1;
}

/* Header */
.about-header-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    position: relative;
    z-index: 5;
}

.about-header-logo {
    width: 150px;
    /* Small logos */
    height: auto;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}

.about-main-title {
    font-family: 'RoyalTreasure', serif;
    /* or decorative font */
    color: #FFD700;
    /* Gold */
    font-size: 1.8rem;
    line-height: 1.3;
    font-weight: 700;
    /* text-transform: uppercase; */
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Content Grid */
.about-content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    /* Align top */
}

/* Left Image Column */
.about-img-col {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    /* Center image in col */
}

.about-img-frame {
    position: relative;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-feature-img {
    width: 100%;
    height: auto;
    display: block;
}

.img-label-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    color: blue;
    /* Temporary label color as per mock? or use white */
    background: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    font-weight: bold;
    display: none;
    /* Hide for production unless requested */
}

/* Right Text Column */
.about-text-col {
    flex: 1.5;
    min-width: 300px;
    text-align: left;
    padding-top: 10px;
}

.about-sub-title {
    font-family: 'RoyalTreasure', serif;
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-transform: capitalize;
    /* 'A Legacy of Excellence' */
}

.about-desc-text {
    font-family: 'Lato', sans-serif;
    /* Readable body font */
    color: #ccc;
    /* Reverted to Light Grey */
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
    /* Matching reference style often */
}

/* Responsive */
@media (max-width: 768px) {
    .about-header-row {
        flex-direction: column;
        gap: 10px;
    }

    .about-header-logo {
        width: 60px;
    }

    .about-main-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .about-content-grid {
        flex-direction: column;
    }

    .about-text-col {
        text-align: center;
    }
}

/* Navigation Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #001a33;
    /* Match Navy Header */
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    top: 100%;
    /* Below parent */
    left: 0;
    padding: 10px 0;
    border-top: 2px solid #D4AF37;
    /* Gold */
}

.dropdown-content a {
    color: #f4f4f4;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    /* text-transform: uppercase; */
    transition: background 0.3s;
}

.dropdown-content a:hover {
    background-color: #D4AF37;
    color: #001a33;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Scroll Reveal Animations */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    /* Reduced from 50px */
    transition: all 1s ease-out;
}

.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* About Image Hover Effect */
.about-img-frame {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-img-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 215, 0, 0.3);
    /* Gold tint on hover */
}

/* ================= Visual Editor Styles (Injectable) ================= */
.edit-mode-enabled {
    z-index: 999 !important;
    /* Ensure it sits above center-col (z-20) */
    cursor: move !important;
    /* position: absolute !important; REMOVED to prevent layout shift */
    pointer-events: auto !important;
    outline: 2px dashed rgba(218, 165, 32, 0.3);
    /* Subtle hint */
}

.edit-mode-enabled:hover {
    outline: 2px dashed #DAA520;
    z-index: 1000 !important;
}

.editor-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #DAA520;
    padding: 0;
    /* Removing padding for header */
    z-index: 9999;
    color: #fff;
    font-family: sans-serif;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    min-width: 320px;
    transition: height 0.3s ease, min-width 0.3s ease;
    overflow: hidden;
}

.editor-header {
    background: #DAA520;
    color: #000;
    padding: 10px 15px;
    cursor: move;
    /* Indicates draggable */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #b8860b;
}

.editor-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
    /* text-transform: uppercase; */
}

.editor-min-btn {
    background: transparent;
    border: none;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    color: #000;
    line-height: 1;
}

.editor-content {
    padding: 20px;
}

.editor-panel.minimized {
    min-width: 200px;
    height: 40px;
    /* Only header visible */
}

.editor-panel.minimized .editor-content {
    display: none;
}

.editor-btn {
    background: #DAA520;
    color: #000;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    /* text-transform: uppercase; */
    transition: all 0.3s;
}

.editor-btn:hover {
    background: #fff;
}

.draggable-active {
    border: 2px dashed #DAA520 !important;
    cursor: move !important;
    z-index: 100 !important;
    opacity: 1 !important;
    /* Ensure visible while dragging */
    pointer-events: auto !important;
}

.floating-img.edit-mode-enabled {
    cursor: grab;
    pointer-events: auto !important;
    opacity: 1 !important;
    /* Force visible in edit mode */
    border: 1px solid rgba(218, 165, 32, 0.3);
    /* Faint border to see bounds */
}

.floating-img.edit-mode-enabled:active {
    cursor: grabbing;
}

/* Animation Keyframes for Banquet Page */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility for Text Gradients */
.bg-gradient-gold {
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* --- Added for Contact Dropdown Fix --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #0a1025;
    /* Royal Navy */
    min-width: 200px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.5);
    z-index: 1000;
    border: 1px solid #D4AF37;
    /* Gold */
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-content a:hover {
    background-color: rgba(212, 175, 55, 0.1);
    /* Gold tint */
    color: #D4AF37;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* --- ADJUSTED NAVBAR STYLES (HOME 2) --- */
.home-2-nav-layout {
    padding: 25px 0 !important;
    /* Increase vertical padding for "bigger" feel */
}

/* Increase Brand/Logo Text Size */
/* Increase Brand/Logo Text Size */
.brand-text-logo {
    font-size: 1.4rem !important;
    /* Make "ROYAL ALBERT'S PALACE" larger */
    font-family: 'RoyalTreasure', serif;
    /* Ensure prestige font */
    letter-spacing: 1px;
}

/* Increase Nav Links Size & Spacing */
.nav-links {
    gap: 40px !important;
    /* More breathing room between items */
}

.nav-links a {
    font-size: 1rem !important;
    /* Larger text (16px) */
    letter-spacing: 1.5px !important;
    font-weight: 600;
}

/* --- RE-APPLIED RESPONSIVE FIXES (POST-RECOVERY) --- */

/* 1. Global Mobile Menu Logic */
/* Default: Hidden on Desktop */
.mobile-menu-custom {
    display: none !important;
    /* Force hide on desktop */
}

.mobile-menu-btn-custom {
    display: none !important;
    /* Force hide on desktop */
}

/* 2. Mobile View (< 992px) */
@media (max-width: 992px) {

    /* Show Menu Button */
    .mobile-menu-btn-custom {
        display: block !important;
    }

    /* Allow Menu Drawer to be toggled via JS class 'active' */
    .mobile-menu-custom.active {
        display: block !important;
        position: absolute;
        /* Fix to screen */
        top: 100%;
        /* Below header */
        left: 0;
        width: 100%;
        background-color: #051025;
        /* Royal Navy */
        z-index: 999;
        border-top: 1px solid rgba(212, 175, 55, 0.3);
        padding-bottom: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    /* Hide Desktop Nav Links */
    .nav-links {
        display: none !important;
    }
}

/* 3. Header Spacing Utility */
.fixed-nav-spacer {
    padding-top: 120px !important;
}

@media (max-width: 992px) {
    .fixed-nav-spacer {
        padding-top: 100px !important;
    }
}

/* --- RESPONSIVE FIXES APPENDED --- */

/* Fix Brand Logo on Mobile to be smaller and defined */
@media (max-width: 768px) {
    .brand-text-logo {
        font-size: 0.8rem !important;
        line-height: 1;
        white-space: nowrap;
        letter-spacing: 0.5px !important;
        padding-right: 15px;
        /* Space from menu */
        max-width: 80%;
        /* Limit width to avoid hitting menu */
        overflow: hidden;
        text-overflow: ellipsis;
        /* Graceful degrade if too small */
        display: inline-block;
        vertical-align: middle;
    }

    .home-2-nav-layout {
        padding: 8px 0 !important;
        /* Balanced padding for mobile */
    }

    .hero-welcome-text {
        font-size: 1.8rem !important;
        margin-top: 20px !important;
        white-space: normal;
        /* Allow wrap */
        text-align: center;
        width: 100%;
        padding: 0 10px;
    }

    .hero-central-logo {
        width: 100px !important;
        /* Smaller text logo center */
        height: auto;
    }

    /* Hide floating images on mobile to prevent overflow */
    .floating-img {
        display: none !important;
    }

    .center-col {
        width: 100% !important;
        padding: 0 10px;
    }
}

/* Hall Replica Styles (Fix for Index Halls Overflow) */
.halls-carousel-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 20px 5px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* Smooth scroll on iOS */
    scrollbar-width: none;
}

.halls-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.hall-replica-card {
    flex: 0 0 280px;
    height: 350px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hall-rep-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hall-rep-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 20px;
    color: white;
}

.hall-rep-title {
    font-family: var(--font-heading);
    color: var(--color-gold);
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.hall-rep-cap {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* --- FIXED TOP GOLD BAR STYLES --- */
.top-gold-bar {
    background: url('goldbar.png') center/cover;
    background-color: #DAA520;
    /* Fallback */
    padding: 8px 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    color: #000;
    position: relative;
    z-index: 1001;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-text {
    white-space: nowrap;
}

.top-bar-icons {
    display: flex;
    gap: 15px;
}

/* Global Header Style */
.site-header {
    align-items: center;
    padding: 20px 0 !important;
    display: flex;
}

@media (max-width: 768px) {
    .top-gold-bar {
        padding: 5px 0;
        /* Reduced padding to save height */
        text-align: center;
        display: block !important;
        height: 35px;
        /* Fixed height for calculation */
        box-sizing: border-box;
    }

    .top-bar-content {
        flex-direction: row;
        /* Keep in row */
        justify-content: space-between !important;
        /* Spread text and icons */
        align-items: center;
        gap: 5px;
        padding: 0 5px !important;
        /* Minimize padding */
        width: 100%;
    }

    .top-bar-text {
        font-size: 0.5rem !important;
        /* Slightly smaller to fit icons */
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        line-height: 25px;
        width: auto;
        margin: 0;
        padding: 0;
        text-align: left;
    }

    .top-bar-icons {
        display: flex !important;
        /* SHOW icons on mobile */
        gap: 8px;
        /* Reduce gap between icons */
    }

    /* ================= MOBILE HEADER FIX ================= */

    /* Gold Bar: Absolute so it scrolls with page */
    .top-gold-bar {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 36px;
        z-index: 2000;
    }

    /* Header Base: Starts below Gold Bar, scrolls with it */
    /* Header Base: Default top 0 for inner pages (no gold bar) */
    .site-header.home-2-header,
    .site-header {
        position: absolute !important;
        top: 0 !important;
        /* Default: Top of viewport */
        left: 0;
        width: 100%;
        background: transparent !important;
        /* Overlay effect initially */
        z-index: 1500;
        padding: 5px 0 !important;
        /* Force standard padding */
        transition: all 0.3s ease;
    }

    /* Homepage Specific: Offset for Gold Bar */
    body.is-home .site-header.home-2-header,
    body.is-home .site-header {
        top: 36px !important;
        /* Only offset on home */
    }

    /* Scrolled State: Sticks to top of viewport */
    .site-header.scrolled,
    body.is-home .site-header.scrolled {
        position: fixed !important;
        top: 0 !important;
        /* Force 0 even on home */
        background: #001540 !important;
        /* Solid blue on scroll */
    }

    /* Header Layout */
    .nav-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Logo */
    .brand-text-logo {
        font-size: 0.9rem !important;
        letter-spacing: 1px !important;
        white-space: nowrap;
        max-width: 75%;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-top: 0;
        display: inline-block;
        width: auto;
        vertical-align: middle;
        flex: 1;
    }

    /* Hide desktop nav on mobile */
    .nav-links {
        display: none !important;
    }

    .mobile-menu-btn-custom {
        display: block !important;
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
    }

    /* Mobile Menu Drawer */
    .mobile-menu-custom {
        position: fixed;
        top: 96px;
        /* gold bar + header approx */
        left: 0;
        width: 100%;
        background: #051025;
        display: none;
        z-index: 1400;
    }

    .mobile-menu-custom.active {
        display: block;
    }

    /* Page spacer so content doesn't hide behind header */
    .fixed-nav-spacer {
        padding-top: 120px;
        display: block;
    }

    /* Fix Header Placement overrides removal - handled by above */
}


/* ========================================= */
/* MOBILE MENU & HEADER FIXES (Moved from Inline) */
/* ========================================= */

/* Mobile Menu Button */
.mobile-menu-btn-custom {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-icon-svg {
    width: 30px;
    height: 30px;
    stroke: #D4AF37 !important;
    stroke-width: 2;
    color: #D4AF37 !important;
    /* Ensure currentColor works */
}

.mobile-menu-icon-svg path {
    stroke: #D4AF37 !important;
    /* Force path color */
}

/* Mobile Menu Drawer */
.mobile-menu-custom {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #051025;
    /* Royal Blue */
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu-custom.active {
    display: block;
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile & Tablet Logic */
@media (max-width: 992px) {

    /* Hide Desktop Nav */
    .site-header .nav-links {
        display: none !important;
    }

    /* Show Mobile Button */
    .mobile-menu-btn-custom {
        display: block !important;
    }

    /* Header Padding Adjustment */
    /* Header Padding Adjustment */
    .site-header.home-2-header {
        padding: 5px 0 10px !important;
        /* Standard padding */
    }

    /* Fix Header Title Cropping & Alignment */
    .brand-text-logo {
        line-height: 1.2 !important;
        padding-bottom: 2px !important;
        display: block !important;
        /* Changed from inline-block to block for centering */
        font-size: 0.85rem !important;
        width: 100% !important;
        /* Full width */
        max-width: 100% !important;
        text-align: center !important;
        /* Force Center */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-right: 0 !important;
        /* Remove Side Padding that caused shift */
        margin: 0 auto !important;
    }

    /* Hero Section Mobile Fixes */
    .hero-section.hero-home-2.exact-replica {
        height: auto !important;
        min-height: 100vh;
        padding-top: 120px;
        padding-bottom: 250px;
        /* Increased to prevent overlap */
    }

    /* Fix for Hall.html and Gallery5.html header overlap */
    header#hero,
    header#gallery-hero {
        padding-top: 140px !important;
        align-items: flex-start !important;
        /* Push content down from top */
        height: auto !important;
        min-height: 100vh !important;
    }

    /* Fix for New Event Pages (Centered Hero) */
    header#hero-events {
        padding-top: 80px !important;
        /* Just enough for nav */
        align-items: center !important;
        /* Keep centered */
        height: 80vh !important;
        /* Keep original height logic */
    }

    .hero-section.hero-home-2.exact-replica .center-col {
        width: 90%;
        padding-top: 20px;
    }

    .hero-welcome-text {
        font-size: 2rem !important;
        margin-top: 0;
    }

    .hero-central-logo {
        width: 60% !important;
        max-width: 200px !important;
        margin: 20px auto !important;
    }

    .hero-bottom-desc {
        font-size: 0.9rem !important;
        margin-top: 10px;
        padding: 0 10px;
    }

    /* Fix Giant Text Overlap */
    .giant-bottom-text-container {
        display: none !important;
    }

    /* Hide Halls Navigation Arrows on Mobile */
    .halls-nav-controls {
        display: none !important;
    }

    /* ========================================= */
    /* HALLS CAROUSEL FIXES (Overlap & Spacing) */
    /* ========================================= */

    /* Halls Header Alignment */
    .halls-header-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 40px;
        /* Match carousel padding */
        margin-bottom: 20px;
    }

    .halls-nav-controls {
        display: flex;
        gap: 15px;
    }
}

/* ========================================= */
/* MOBILE TYPOGRAPHY REFINEMENTS */
/* ========================================= */
@media (max-width: 768px) {

    /* Reduce giant titles on mobile */
    /* Reduce giant titles on mobile */
    .halls-main-title,
    .halls-main-title a,
    .section-title {
        font-size: 1.8rem !important;
        /* Slightly smaller global */
        line-height: 1.2 !important;
    }

    /* Specific Fix for "TESTIMONIALS" (Long Word) */
    #testimonials .section-title {
        font-size: 1.4rem !important;
        /* Aggressive reduction to fit screen */
        overflow-wrap: break-word;
        /* Safety net */
    }

    /* Ensure About title fits on 2 lines */
    .about-main-title {
        font-size: 1.2rem !important;
        /* Much smaller for 320px screens */
        white-space: nowrap;
        /* Prevent intra-word wrapping */
        padding: 0 5px;
    }

    /* Achievements 2x2 Grid on Mobile */
    .achievements-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        /* Equal columns */
        gap: 15px !important;
        /* Balanced gap */
        padding: 0 10px !important;
        /* Add side padding to container, not just 0 */
        width: 100% !important;
        box-sizing: border-box;
        text-align: center !important;
        /* Ensure content inside is centered */
        justify-content: center !important;
    }
}

/* Gold Navigation Buttons */
.nav-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #D4AF37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4AF37;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #D4AF37;
    color: #000;
    transform: scale(1.1);
}

/* Carousel Spacing Updates */
.halls-carousel-wrapper {
    /* Padding removed here, moved to first/last child margins for robust scrolling */
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    gap: 20px;
    /* Reduced gap as requested */
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    /* Allow both horizontal pan (carousel) and vertical pan (page scroll) */
    cursor: grab;
    justify-content: flex-start !important;
    /* Force start alignment */
}

/* Ensure first card has spacing from edge */
.hall-replica-card:first-of-type {
    margin-left: 80px !important;
}

/* Ensure last card has spacing from edge */
.hall-replica-card:last-of-type {
    margin-right: 80px !important;
}

/* Mobile specific overrides */
@media (max-width: 768px) {
    .hall-replica-card:first-of-type {
        margin-left: 40px !important;
        /* Smaller margin on mobile */
    }

    .hall-replica-card:last-of-type {
        margin-right: 20px !important;
        /* Minimized to remove empty space */
        padding-right: 0 !important;
    }
}

.halls-carousel-wrapper {
    perspective: 1200px;
    /* Deep 3D space */
    padding: 60px 0;
    /* Space for scaling */
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    align-items: center;
    /* Hide scrollbar */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE */
}

.halls-carousel-wrapper::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.hall-replica-card {
    flex: 0 0 280px;
    height: 400px;
    /* Fixed height for consistency */
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
    /* Base appearance */
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #000;
    overflow: hidden;
    /* For sheen */
    transform: scale(0.9) rotateY(10deg);
    /* Default inactive state (side) */
    opacity: 0.7;
    margin: 0 10px;
}

/* Gold Sheen Animation */
.hall-replica-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 215, 0, 0.6), transparent);
    transform: skewX(-25deg);
    z-index: 10;
    pointer-events: none;
    transition: none;
    /* Reset for instant return */
}

.hall-replica-card:hover::before {
    left: 200%;
    transition: all 0.8s ease-in-out;
}

/* Active / Center Card */
.hall-replica-card.active-hall {
    z-index: 20;
    transform: scale(1.1) rotateY(0deg);
    /* Front and center */
    opacity: 1;
    border-color: #D4AF37;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 175, 55, 0.2);
    margin: 0 40px;
    /* Extra breathing room */
}

/* Correct left margin for first card so it's not hidden */
.hall-replica-card:first-child {
    margin-left: 50vw;
    /* Push start to center */
    transform-origin: center left;
}

.hall-replica-card:last-child {
    margin-right: 50vw;
}

/* Specific fix for mobile to prevent empty space */
@media (max-width: 768px) {
    .hall-replica-card:last-child {
        margin-right: 20px !important;
    }
}


.giant-text {
    font-size: 2rem !important;
}


/* ========================================= */
/* FOOTER LOGO & TITLE FIXES */
/* ========================================= */

.footer-logo-box {
    flex-shrink: 0 !important;
    /* Prevent logo from squishing */
    width: 120px;
    /* Fixed width for stability */
    margin-right: 20px;
}

.logo-img-footer {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* Maintain aspect ratio */
    /* ========================================= */
    /* EVENTS SECTION FIXES (Restoring Layout) */
    /* ========================================= */

    .royal-events-red-section {
        padding: 60px 0;
        background-color: #8b0000;
        /* Dark Red fallback */
        background: url('pattern-bg-red.png') repeat, #8b0000;
        position: relative;
    }

    .royal-cards-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        padding: 20px;
    }

    .royal-card {
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s ease;
    }

    .royal-card:hover {
        transform: translateY(-10px);
    }

    .rc-img-wrapper {
        width: 100%;
        height: 200px;
        overflow: hidden;
    }

    .rc-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .royal-card:hover .rc-img-wrapper img {
        transform: scale(1.1);
    }

    .rc-header {
        text-align: center;
        padding: 15px;
        background: #fff;
        border-bottom: 2px solid #f0f0f0;
    }

    .rc-title {
        font-family: 'RoyalTreasure', serif;
        font-size: 1.5rem;
        color: #8b0000;
        /* Deep Red */
        margin: 0;
    }

    .rc-body {
        padding: 20px;
        text-align: center;
    }

    .rc-body p {
        color: #555;
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .rc-link {
        color: #8b0000;
        font-weight: bold;
        text-decoration: none;
        text-transform: uppercase;
        font-size: 0.85rem;
    }

    /* ========================================= */
    /* FOOTER LOGO & TITLE FIXES (Mobile Stack) */
    /* ========================================= */

    .footer-col-main {
        display: flex !important;
        flex-direction: column !important;
        /* Stack vertically */
        align-items: center !important;
        /* Center align everything */
        text-align: center !important;
    }

    .footer-logo-box {
        margin-right: 0 !important;
        /* Remove side margin */
        margin-bottom: 15px !important;
        /* Space below logo */
        width: 100px !important;
        /* Slightly smaller logo */
    }

    .footer-contact-info {
        width: 100%;
        /* Full width for centering */
    }

    .footer-brand-name {
        font-size: 1.5rem;
        line-height: 1.2;
        color: #ffd700;
        margin-bottom: 20px;
        white-space: normal;
        display: block !important;
        /* Ensure block for stacking */
    }

    /* Align icons and text in center for mobile */
    .icon-text {
        justify-content: center !important;
    }

    .social-links-footer {
        justify-content: center !important;
    }
}

/* ========================================= */
/* ACTIVE MENU HIGHLIGHT */
/* ========================================= */
.active-page {
    color: #D4AF37 !important;
    /* Gold */
    font-weight: bold !important;
    position: relative;
}

/* Optional: Add a small dot under active link for extra style */
.nav-links .active-page::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: #D4AF37;
    border-radius: 50%;
}

/* ========================================= */
/* FOOTER REWORKZONE CREDIT */
/* ========================================= */
.reworkzone-credit {
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    color: #888;
    margin-left: auto;
    /* Push to right if in flex container */
}

.rz-link {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.rz-link:hover {
    color: #ff0000 !important;
    /* RED HOVER EFFECT */
    text-decoration: underline;
}

/* --- DESKTOP FOOTER GRID (New 4-Column Layout) --- */
@media (min-width: 993px) {
    .footer-grid-refined {
        display: grid;
        /* Logo | Contact | Links | Services */
        grid-template-columns: auto auto auto auto;
        justify-content: center;
        gap: 80px;
        align-items: start;
        padding-bottom: 40px;
        max-width: 1400px;
        margin: 0 auto;
    }

    .footer-col-logo {
        display: block;
    }

    .logo-img-footer {
        width: 150px;
        /* Slightly larger logo */
        height: auto;
    }

    .footer-brand-name {
        margin-top: 0;
        color: #ffd700;
        font-family: 'RoyalTreasure', serif;
        /* Use LeMajor if RoyalTreasure fails, but ref implied custom font */
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .footer-contact-info .icon-text {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 15px;
        justify-content: flex-start;
        /* Align left */
    }

    .footer-contact-info .icon {
        color: #D4AF37;
        font-size: 1.2rem;
    }

    .footer-col-links h4 {
        color: #fff;
        font-family: 'Cinzel', serif;
        letter-spacing: 2px;
        margin-bottom: 20px;
        font-size: 1.2rem;
    }
}

/* Mobile Grid Rework */
@media (max-width: 992px) {
    .footer-grid-refined {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* Two equal columns */
        gap: 20px 10px;
        /* Vertical gap 20px, Horizontal gap 10px */
        text-align: center;
    }

    /* Logo spans full width */
    .footer-col-logo {
        grid-column: 1 / -1;
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }

    /* Info spans full width */
    .footer-col-info {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Links and Legal sit side-by-side automatically (taking 1 col each) */
    .footer-col-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logo-img-footer {
        max-width: 120px;
        margin: 0;
    }
}

/* --- Global Navigation Hover Effect (Gold Oval) --- */
.nav-links .dropbtn {
    position: relative;
    text-decoration: none;
    padding-bottom: 5px;
    /* Space for the oval */
    transition: color 0.3s ease;
}

.nav-links .dropbtn::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    /* Position below text */
    width: 80%;
    /* Width relative to text */
    height: 6px;
    /* Thickness of the oval */
    background-color: #D4AF37;
    /* Gold color */
    border-radius: 50%;
    /* Make it an oval */
    transform: translateX(-50%) scaleX(0);
    /* Hidden/Scaled down initially */
    transform-origin: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.nav-links .dropbtn:hover::after,
.nav-links .dropbtn.active-page::after {
    transform: translateX(-50%) scaleX(1);
    /* Reveal on hover/active */
    opacity: 1;
}

.nav-links .dropbtn:hover,
.nav-links .dropbtn.active-page {
    color: #D4AF37;
    /* Gold text */
}

/* === ROYAL HALLS CAROUSEL (NEW MANUAL VERSION) === */

/* ===== Section ===== */
.carousel-section {
    padding: 40px 0 120px;
    position: relative;
    overflow: hidden;
}

.stage {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== Cinematic Background Glow - REMOVED */
/* .stage::before { ... } */

/* ===== Wrapper ===== */
.viewport {
    overflow: hidden;
}

.track {
    display: flex;
    gap: 36px;
    padding: 40px 80px 28px;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* ===== Cards ===== */
.hall-card {
    flex: 0 0 340px;
    height: 460px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #000;
    /* box-shadow: 0 28px 80px rgba(0, 0, 0, .75); REMOVED */
    transform: scale(.86) translateZ(0);
    opacity: .55;
    transition:
        transform .9s cubic-bezier(.2, .9, .2, 1),
        box-shadow .9s ease,
        opacity .9s ease;
}

/* Royal glow halo - REMOVED */
/* .hall-card::after { ... } */

.hall-card.active {
    transform: scale(1.06) translateY(-6px);
    opacity: 1;
    /* box-shadow: 0 40px 120px rgba(0, 0, 0, .95); REMOVED */
    z-index: 5;
    cursor: pointer;
}

.hall-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 1.2s ease;
}

.hall-card:hover .hall-img {
    transform: scale(1.15);
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .92), rgba(0, 0, 0, .45), transparent 60%);
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: #d4af37;
    margin: 0 0 6px;
    text-shadow: 0 6px 20px rgba(0, 0, 0, .8);
}

.overlay p {
    opacity: .85;
    margin: 0;
    font-family: 'Lato', sans-serif;
    color: #fff;
}

/* ===== Arrows ===== */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 2px solid #ffd27a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a1025;
    cursor: pointer;
    transition: .35s;
    backdrop-filter: blur(6px);
    z-index: 20;
    pointer-events: auto;
    background: linear-gradient(135deg, #ffd27a, #d4af37);
    box-shadow: 0 12px 30px rgba(212, 175, 55, .45);
}

.nav:hover {
    filter: brightness(1.1);
    transform: translateY(-50%) scale(1.06);
}

.prev {
    left: 18px;
}

.next {
    right: 18px;
}

/* ===== Progress Bar ===== */
.progress-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
}

.progress {
    height: 6px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, .12);
}

.progress>i {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #d4af37, #ffd27a);
    transition: width .25s ease;
}

/* ===== Scroll Hint ===== */
.scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: .75;
    margin-top: 14px;
    letter-spacing: 1px;
    font-size: 12px;
    color: #fff;
}

.scroll-hint .mouse {
    width: 18px;
    height: 28px;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 12px;
    position: relative;
}

.scroll-hint .mouse::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 6px;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    border-radius: 4px;
    background: #d4af37;
    animation: wheel 1.4s infinite ease-in-out;
}

@keyframes wheel {
    0% {
        opacity: 0;
        transform: translate(-50%, 0)
    }

    40% {
        opacity: 1
    }

    80% {
        opacity: 0;
        transform: translate(-50%, 10px)
    }
}

/* ===== Mobile ===== */
@media(max-width:900px) {
    .viewport {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        margin: 0 -20px;
        /* Slight breakout for edge-to-edge feel */
        padding: 0 20px;
    }

    .track {
        padding: 32px 20px 24px;
        width: max-content;
        /* Ensure track expands to fit all cards */
    }

    .progress-wrap {
        padding: 0 32px;
    }

    .nav {
        display: none;
    }

    /* Hide desktop scroll hints/badges - AGGRESSIVE FIX */
    .scroll-hint,
    .circular-text,
    .text-ring,
    .scroll-indicator-circle {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
        position: absolute !important;
        top: -9999px !important;
        left: -9999px !important;
    }

    /* Mobile Swipe Hint */
    .mobile-swipe-hint {
        display: block;
        text-align: center;
        color: var(--color-gold);
        font-family: var(--font-body);
        font-size: 0.85rem;
        margin-top: 10px;
        opacity: 0.8;
        letter-spacing: 1px;
        animation: pulse 2s infinite;
    }
}

/* ========================================= */
/* FIX: ABOUT SECTION MOBILE TYPOGRAPHY */
/* ========================================= */
@media (max-width: 768px) {

    /* Target the sub-title (Yellow Text) */
    .about-sub-title {
        font-size: 1.5rem !important;
        /* Decrease from likely 3rem+ */
        line-height: 1.4 !important;
        /* Increase line spacing */
        margin-bottom: 15px !important;
        letter-spacing: 1px !important;
        /* Reduce excessive spacing */
        word-spacing: 2px !important;
    }

    /* Target the description text */
    .about-desc-text {
        font-size: 0.95rem !important;
        line-height: 1.8 !important;
        /* Better readability */
        margin-bottom: 15px !important;
        padding: 0 10px;
        /* Ensure padding */
    }

    /* Target the About Section container to reduce congestion */
    .about-text-col {
        padding: 30px 15px !important;
    }
}

/* ========================================= */
/* HERO QUOTE TEXT STYLING (Gold/Serif) */
/* ========================================= */
.hero-quote-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: #ffffff;
    /* White */
    font-style: italic;
    line-height: 1.6;
    letter-spacing: 0.5px;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-quote-text {
        font-size: 1.1rem;
        line-height: 1.5;
    }
}

/* ========================================= */
/* WELCOME TO TEXT (Centered) */
/* ========================================= */
.hero-welcome-text {
    font-family: 'LeMajor', serif;
    font-size: 3.5rem;
    color: #ffffff !important;
    text-align: center !important;
    width: 100%;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
}

@media (max-width: 768px) {
    .hero-welcome-text {
        font-size: 3.5rem !important;
    }
}

/* ========================================= */
/* HERO WELCOME TEXT (Simple & Elegant Update) */
/* ========================================= */
.hero-welcome-text {
    font-family: 'Playfair Display', serif !important;
    font-style: italic;
    font-size: 3.5rem !important;
    /* Decreased size */
    color: #ffffff;
    font-weight: 400;
    margin-bottom: 10px;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    /* Simpler shadow */
    letter-spacing: 1px;
}

/* ========================================= */
/* HERO CENTER ALIGNMENT FIXES */
/* ========================================= */
.hero-grid-container {
    display: flex;
    /* Fallback or override if grid is tricky */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    /* Override grid if conflicting */
}

/* Re-assert Grid if needed, but flex column center is safer for center col */
@media (min-width: 768px) {
    .hero-grid-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    .center-col {
        grid-column: 2;
    }
}

.center-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.central-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 0px;
    /* Adjust spacing to logo */
}

.hero-welcome-text {
    margin-bottom: 0px !important;
    /* Remove gap */
    transform: translateX(3px);
    /* Visual optical centering for italics */
    width: auto !important;
    /* Let flex centering handle width */
    margin-left: auto;
    margin-right: auto;
}