/* JMJ Techno Events - Centralized Visual Design System */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --color-maroon: #7A0E2E;
    --color-maroon-dark: #5c0018;
    --color-maroon-footer: #4A0A1E;
    --color-pink-primary: #FF6FA5;
    --color-magenta: #E6007E;
    --color-pink-soft: #FDF2F5;
    --color-cream-soft: #FFF9F5;
    --color-pink-pill: #F8D7E3;
    --color-gold: #F59E0B;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Poppins', system-ui, sans-serif;
    --section-padding: 5rem 0;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
}

body {
    background-color: var(--color-pink-soft);
    color: #374151;
    overflow-x: hidden;
}

/* Typography Utility Classes */
.font-serif {
    font-family: var(--font-serif) !important;
}
.font-sans {
    font-family: var(--font-sans) !important;
}
.font-script {
    font-family: 'Dancing Script', cursive !important;
}

/* Global Section Background Utility Classes */
.bg-hero-gradient, .bg-luxury-pattern {
    background-color: #FFF9F5;
    background-image: 
        radial-gradient(circle at 10% 90%, rgba(248, 215, 227, 0.45) 0%, transparent 55%),
        radial-gradient(circle at 90% 10%, rgba(248, 215, 227, 0.35) 0%, transparent 55%),
        linear-gradient(180deg, #FFF9F5 0%, #FDF2F5 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%237D0022' stroke-width='0.5' stroke-opacity='0.04'%3E%3Cpath d='M0 40 L40 0 L80 40 L40 80 Z'/%3E%3Cpath d='M20 40 L40 20 L60 40 L40 60 Z'/%3E%3Ccircle cx='40' cy='40' r='9' stroke-opacity='0.03'/%3E%3Cpath d='M0 0 L80 80 M80 0 L0 80' stroke-opacity='0.02'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat, no-repeat, no-repeat, repeat;
    background-attachment: scroll, scroll, scroll, fixed;
}
.bg-section-pink {
    background-color: #FDF2F5;
}
.bg-section-white {
    background-color: #FFFFFF;
}
.bg-maroon-cta {
    background-color: #7A0E2E;
    color: #FFFFFF;
}
.bg-footer-dark {
    background-color: #4A0A1E;
    color: #F8D7E3;
}

/* Arch & Decorative Shape Frames */
.card-arch {
    border-top-left-radius: 140px;
    border-top-right-radius: 140px;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    overflow: hidden;
}

.cus-btn-outline-pink {
    border: 1.5px solid #F472B6;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    color: #DB2777;
    border-radius: 9999px !important;
    overflow: hidden !important;
    position: relative;
    isolation: isolate;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.cus-btn-outline-pink:hover {
    background: #FFF1F2;
    border-color: #DB2777;
    color: #BE185D;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(219, 39, 119, 0.15);
}

/* Preloader Ring Spinner (ssrdecors model) */
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #ffffff;
    top: 0;
    left: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader-wrapper {
    position: relative;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.loader-logo {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 4px 20px rgba(125, 0, 34, 0.25);
}
.loader-spinner {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top: 3px solid var(--color-burgundy);
    border-right: 3px solid var(--color-rose);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: loaderSpin 1s linear infinite;
}
@keyframes loaderSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Solid Filled Brand Burgundy Navbar (#7D0022) */
#main-header {
    background-color: #7D0022 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
#main-header.scrolled {
    background-color: #5c0018 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Component Buttons */
.cus-btn-primary {
    background: linear-gradient(135deg, #7D0022 0%, #a8002e 100%);
    color: #ffffff;
    border-radius: 9999px !important;
    overflow: hidden !important;
    position: relative;
    isolation: isolate;
    padding: 0.85rem 2rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 25px rgba(125, 0, 34, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.cus-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(125, 0, 34, 0.45);
    background: linear-gradient(135deg, #9B002B 0%, #c40037 100%);
}

.cus-btn-rose {
    background: linear-gradient(135deg, #DB2777 0%, #F43F5E 100%);
    color: #ffffff;
    border-radius: 9999px !important;
    overflow: hidden !important;
    position: relative;
    isolation: isolate;
    padding: 0.75rem 1.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 8px 20px rgba(219, 39, 119, 0.35);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.cus-btn-rose:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(219, 39, 119, 0.5);
    background: linear-gradient(135deg, #F43F5E 0%, #E11D48 100%);
}

.cus-btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border-radius: 9999px !important;
    overflow: hidden !important;
    position: relative;
    isolation: isolate;
    padding: 0.85rem 2rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.cus-btn-outline:hover {
    background: #ffffff;
    color: var(--color-burgundy);
    border-color: #ffffff;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Luxury Card Components */
.luxury-card {
    background: #ffffff;
    border-radius: 1.75rem;
    box-shadow: 0 10px 30px rgba(125, 0, 34, 0.06);
    border: 1px solid rgba(251, 207, 232, 0.6);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
}
.luxury-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(125, 0, 34, 0.14);
}

.card-zoom {
    overflow: hidden;
    position: relative;
}
.card-zoom img {
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}
.luxury-card:hover .card-zoom img,
.card-zoom:hover img {
    transform: scale(1.08);
}

/* Hero Section Crossfade Slider */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}
.hero-slide.active {
    opacity: 1;
}

/* Panithuli Falling Droplets */
#sparkle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}
.sparkle {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    filter: blur(0.5px);
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.6);
    animation: fall var(--duration) linear infinite;
    top: -5%;
    transition: background 0.5s, box-shadow 0.5s;
}
#sparkle-container.pink-theme .sparkle {
    background: #ff69b4;
    box-shadow: 0 0 10px 2px rgba(255, 105, 180, 0.6);
}
@keyframes fall {
    0% { transform: translateY(0vh) scale(0.5); opacity: 0; }
    10% { opacity: var(--opacity); }
    90% { opacity: var(--opacity); }
    100% { transform: translateY(110vh) scale(1); opacity: 0; }
}

/* Contact Inputs */
.contact-input {
    width: 100%;
    background: transparent;
    border-bottom: 1.5px solid #d1d5db;
    padding: 0.75rem 0;
    outline: none;
    transition: border-color 0.3s;
    font-size: 0.875rem;
}
.contact-input:focus {
    border-bottom-color: var(--color-burgundy);
}
.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-burgundy);
    text-transform: capitalize;
    margin-bottom: 0.25rem;
}

.testimonial-fade {
    transition: opacity 0.5s ease-in-out;
}
.bg-text-outline {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
    color: transparent;
}
