/* css/style.css */

:root {
    /* Colors */
    --color-bg: #09020F;
    --color-primary: #5A189A;
    --color-secondary: #FF4FD8;
    --color-accent: #FFD700;
    --color-text: #FFFFFF;
    --color-text-muted: #B0A8B9;
    --color-rose: #E6A4B4;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Poppins', sans-serif;
    --font-accent: 'Cinzel', serif;
    
    /* Spacing */
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-blur: blur(16px);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Custom cursor */
}

/* Typography Classes */
.cormorant { font-family: var(--font-heading); }
.poppins { font-family: var(--font-body); }
.cinzel { font-family: var(--font-accent); }

.text-gold { color: var(--color-accent); }
.text-center { text-align: center; }

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.2;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: var(--space-sm);
    background: linear-gradient(to right, var(--color-text), var(--color-rose));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-padding {
    padding: var(--space-xl) 0;
}

.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 4rem; }
.mb-4 { margin-bottom: 2rem; }
.w-100 { width: 100%; }
.relative { position: relative; }
.z-10 { z-index: 10; }

/* Custom Cursor */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
}

.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-bg);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease;
}

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

.cosmic-spinner {
    width: 60px;
    height: 60px;
    border: 2px solid transparent;
    border-top-color: var(--color-accent);
    border-bottom-color: var(--color-secondary);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 2s linear infinite;
}

.loader-text {
    font-size: 1.2rem;
    color: var(--color-rose);
    letter-spacing: 2px;
    animation: pulse 2s infinite;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: var(--space-sm) var(--space-lg);
    background: rgba(9, 2, 15, 0.8);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    gap: var(--space-md);
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: var(--color-accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background-color: var(--color-text);
    transition: 0.3s;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

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

.mobile-menu a {
    font-size: 1.5rem;
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--font-heading);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    cursor: none;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(90, 24, 154, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(255, 79, 216, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
}

.btn-outline:hover {
    background: rgba(255, 215, 0, 0.1);
}

.large {
    padding: 16px 40px;
    font-size: 1rem;
}

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

#webgl-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 var(--space-md);
}

.hero-title {
    font-size: 5vw;
    line-height: 1.1;
    color: var(--color-text);
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-rose);
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
}

.hero-description {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto var(--space-lg);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 1px solid var(--color-text-muted);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: scroll 1.5s infinite;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    filter: contrast(1.1) brightness(0.9);
    transition: var(--transition-smooth);
}

.img-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(90,24,154,0.4) 0%, rgba(9,2,15,0) 70%);
    z-index: -1;
    filter: blur(40px);
}

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

.stats-container {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--space-md);
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--color-accent);
    display: inline-block;
}

.stat-item span {
    font-size: 2rem;
    color: var(--color-accent);
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Transformation Timeline */
.transformation-section {
    position: relative;
    overflow: hidden;
}

.bg-mandala {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: url('../pics/festival_mandala.png') no-repeat center center;
    background-size: contain;
    z-index: -1;
    animation: spin 120s linear infinite;
    pointer-events: none;
    opacity: 0.15;
}

.timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--space-lg);
    flex-wrap: wrap;
    gap: 10px;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.node {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    transition: var(--transition-smooth);
}

.node.active-node {
    background: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 20px var(--color-accent);
}

.timeline-line {
    height: 2px;
    width: 60px;
    background: rgba(255,255,255,0.1);
    margin-bottom: 25px; /* align with node */
}

.timeline-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-text-muted);
}

.timeline-item .highlight {
    color: var(--color-accent);
    font-size: 1.4rem;
}

/* Services */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: var(--space-md);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,79,216,0.1) 0%, rgba(0,0,0,0) 50%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.service-card:hover .card-glow {
    opacity: 1;
    transform: rotate(30deg);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--color-rose);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card h3 svg {
    width: 24px;
    height: 24px;
    fill: var(--color-accent);
}

.service-card .price {
    font-size: 2rem;
    color: var(--color-accent);
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.service-card ul li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--color-text-muted);
}

.service-card ul li strong {
    color: var(--color-text);
}

/* Festivals Marquee */
.festival-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    padding: var(--space-md) 0;
    background: linear-gradient(90deg, transparent, rgba(90,24,154,0.1), transparent);
}

.marquee-track {
    display: inline-block;
    font-size: 2.5rem;
    color: rgba(255,255,255,0.1);
    animation: marquee 20s linear infinite;
}

.marquee-track span {
    margin: 0 2rem;
    transition: color 0.3s ease;
}

.marquee-track span:hover {
    color: var(--color-accent);
    text-shadow: 0 0 10px var(--color-accent);
}

/* Booking Form */
.booking-wrapper {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
}

.luxury-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-row {
    display: flex;
    gap: var(--space-md);
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-rose);
    letter-spacing: 1px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 12px 15px;
    color: var(--color-text);
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(90, 24, 154, 0.3);
}

.small-text {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.form-message {
    padding: 10px;
    border-radius: 5px;
    display: none;
}
.form-message.success {
    display: block;
    background: rgba(46, 213, 115, 0.1);
    color: #2ed573;
    border: 1px solid #2ed573;
}
.form-message.error {
    display: block;
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
    border: 1px solid #ff4757;
}

/* Spinner inside button */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    vertical-align: middle;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--color-primary);
    padding: var(--space-lg);
    border-radius: 20px;
    max-width: 500px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

/* Footer */
.footer {
    padding: var(--space-lg) 0 var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}

.footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.copyright {
    color: rgba(255,255,255,0.3);
    font-size: 0.9rem;
}

/* Floating IG Button */
.floating-ig {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s ease;
}

.floating-ig:hover {
    transform: scale(1.1);
}
