/* Base Variables */
:root {
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --maroon: #4a0404;
    --maroon-dark: #2a0000;
    --dark: #121212;
    --dark-grey: #1e1e1e;
    --text-light: #f5f5f5;
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(212, 175, 55, 0.2);
    --glow: 0 0 15px rgba(212, 175, 55, 0.5);
    --glow-strong: 0 0 25px rgba(212, 175, 55, 0.8), 0 0 40px rgba(212, 175, 55, 0.5);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Cinzel', serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utility Classes */
.gold-text { color: var(--gold); }
.dark-bg { background-color: var(--dark); }
.dark-maroon-bg { 
    background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--dark) 100%);
}
.text-center { text-align: center; }
.w-100 { width: 100%; }

.glow-text {
    text-shadow: var(--glow);
    color: var(--gold-light);
}

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
    border-color: var(--gold);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 5%;
    transition: all 0.4s ease;
}

nav.scrolled {
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding: 0.8rem 5%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

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

.nav-links li a {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
    box-shadow: 0 0 5px var(--gold);
}

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

.nav-links li a:hover, .nav-links li a.active {
    color: var(--gold);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('assets/hero_bg.jpg') center/cover no-repeat;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(74, 4, 4, 0.6) 0%, var(--dark) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
    animation: spotlight 8s ease-in-out infinite alternate;
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: screen;
}

@keyframes spotlight {
    0% { transform: scale(1) translate(0, 0); opacity: 0.5; }
    50% { opacity: 1; }
    100% { transform: scale(1.5) translate(5%, 5%); opacity: 0.5; }
}

.particles {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#main-logo {
    max-width: 400px;
    width: 100%;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px) drop-shadow(0 0 30px rgba(212, 175, 55, 0.6)); }
    100% { transform: translateY(0px); }
}

.fallback-bg {
    background-color: var(--glass-bg);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--gold);
}

@keyframes zoomInLoad {
    0% { transform: scale(0.5); opacity: 0; }
    80% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: zoomInLoad 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #ddd;
    font-weight: 300;
}

.great-font {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(1.5rem, 3.5vw, 2.8rem) !important; /* Scale to fit on one line */
    color: var(--gold-light) !important;
    font-weight: 400 !important;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
    display: inline-block;
    min-height: 40px; /* Prevent layout shift */
    white-space: nowrap; /* Prevent going to next line */
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background-color: var(--gold);
    margin-left: 5px;
    vertical-align: text-bottom;
    animation: blink-caret 0.8s step-end infinite;
}

@keyframes blink-caret {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: transparent;
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--gold);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0%; height: 100%;
    background: var(--gold);
    transition: width 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    color: var(--dark);
    box-shadow: var(--glow-strong);
}

.cta-button:hover::before {
    width: 100%;
}

/* Layout containers */
.section {
    padding: 100px 5%;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.flex-col {
    flex-direction: column;
}

.half-width {
    flex: 1;
    min-width: 300px;
}

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

.title-underline {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin-bottom: 2rem;
    box-shadow: 0 0 10px var(--gold);
}

.center-underline {
    margin: 0 auto 2rem auto;
}

/* About Section */
.highlight-list {
    margin-top: 2rem;
}

.highlight-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shine-icon {
    color: var(--gold);
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

.image-card {
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

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

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-style: preserve-3d;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 10%, transparent 40%);
    opacity: 0;
    pointer-events: none;
    transform: rotate(45deg) translateY(100%);
    transition: all 0.7s ease;
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    height: auto;
    min-height: 300px;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(74, 4, 4, 0.9), rgba(0,0,0,0.2));
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    z-index: 1;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4);
    border: 1px solid var(--gold);
}

.gallery-item:hover::before {
    opacity: 1;
    transform: rotate(45deg) translateY(-100%);
}

.gallery-item:hover img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.1) contrast(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.1s;
}

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

/* Features Block */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 0; /* Override default glass-card padding for image */
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
}

.feature-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 1.2rem;
    color: var(--gold);
    transition: all 0.3s ease;
}

.feature-card:hover .icon-wrapper {
    background: var(--gold);
    color: var(--dark);
    box-shadow: var(--glow);
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--gold-light);
}

/* Contact Section */
.contact-info {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--gold);
    margin-top: 5px;
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 20px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
    background: rgba(0,0,0,0.6);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

/* Footer */
footer {
    background: var(--dark-grey);
    padding: 3rem 5% 1rem 5%;
    border-top: 1px solid #333;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 2rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--dark);
    box-shadow: 0 0 15px var(--gold);
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.right {
    transform: translateX(50px);
}

.reveal.right.active {
    transform: translateX(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive Media Queries */
@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: rgba(18, 18, 18, 0.95);
        backdrop-filter: blur(15px);
        padding: 2rem 0;
        text-align: center;
        transition: 0.4s;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .container {
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    #main-logo {
        max-width: 250px;
    }

    .reverse-flex {
        flex-direction: column-reverse;
    }
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.review-card {
    text-align: left;
    padding: 2rem;
}

.review-stars {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: #ddd;
}

.review-author {
    font-weight: 600;
    color: var(--gold-light);
}

/* Hall Types in About Section */
.hall-types {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.hall-card {
    flex: 1;
    min-width: 150px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.hall-card h4 {
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
}
