/* ===== CELESTIAL THEME ENHANCEMENTS - IVORY COLOR SCHEME ===== */
:root {
    --background-color: #FFFFF0;      /* Ivory */
    --primary-dark: #2E3A59;          /* Indigo */
    --primary-light: #4A5568;         /* Lighter indigo */
    --secondary-main: #D4AF37;        /* Gold */
    --secondary-light: #E6C158;       /* Lighter gold */
    --accent-blue: #3A506B;
    --text-light: #333333;            /* Dark gray for text */
    --text-illuminated: #2E3A59;      /* Indigo for important text */
    --text-muted: #666666;            /* Muted gray */
    --text-bright: #2E3A59;
    
    --gold-gradient: linear-gradient(135deg, var(--secondary-main) 0%, var(--secondary-light) 100%);
    --celestial-gradient: linear-gradient(135deg, #FFFFF0 0%, #F8F9FA 25%, #F0F2F5 50%, #E8EBF0 75%, #E0E5EC 100%);
    --starry-night: linear-gradient(135deg, #FFFFF0 0%, #F8F9FA 50%, #F0F2F5 100%);
    
    --shadow-soft: 0 8px 32px rgba(46, 58, 89, 0.1);
    --shadow-lg: 0 10px 40px rgba(46, 58, 89, 0.15);
    --shadow-glow: 0 0 30px rgba(212, 175, 55, 0.3);
    --shadow-xl: 0 20px 60px rgba(46, 58, 89, 0.1);
    --shadow-blue: 0 10px 30px rgba(46, 58, 89, 0.1);
    
    --stained-glass-blue: rgba(46, 58, 89, 0.08);
    --stained-glass-gold: rgba(212, 175, 55, 0.1);
    --frosted-glass: rgba(255, 255, 255, 0.5);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* ===== CELESTIAL BACKGROUND - IVORY VERSION ===== */
.celestial-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--starry-night);
    z-index: -2;
    overflow: hidden;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20% 30%, rgba(46, 58, 89, 0.1) 50%, transparent 100%),
        radial-gradient(3px 3px at 40% 70%, rgba(212, 175, 55, 0.15) 50%, transparent 100%),
        radial-gradient(1px 1px at 60% 20%, rgba(46, 58, 89, 0.08) 50%, transparent 100%),
        radial-gradient(2px 2px at 80% 90%, rgba(212, 175, 55, 0.12) 50%, transparent 100%),
        radial-gradient(3px 3px at 30% 50%, rgba(46, 58, 89, 0.1) 50%, transparent 100%);
    animation: twinkle 4s infinite alternate;
}

.stained-glass-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, var(--stained-glass-blue) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--stained-glass-gold) 0%, transparent 50%);
    z-index: -1;
    opacity: 0.3;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 30px rgba(212, 175, 55, 0.2); }
    50% { box-shadow: 0 0 50px rgba(212, 175, 55, 0.4); }
}

@keyframes shimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== NAVIGATION - IVORY DESIGN ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 240, 0.95); /* Ivory with transparency */
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 240, 0.98);
    box-shadow: var(--shadow-blue);
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    flex: 1;
}

.logo h1 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 600;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.25rem;
}

.logo .subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo .subtitle i {
    color: var(--secondary-main);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0 auto;
}

.nav-links a {
    color: var(--text-bright);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    background: rgba(212, 175, 55, 0.08);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--gold-gradient);
    transition: transform var(--transition-normal);
}

.nav-links a:hover {
    color: var(--text-illuminated);
    background: rgba(212, 175, 55, 0.15);
}

.nav-links a:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-links a.active {
    color: var(--text-illuminated);
    background: rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-glow);
}

.nav-links a.active::before {
    transform: translateX(-50%) scaleX(1);
}

/* ===== CELESTIAL TYPOGRAPHY ===== */
.celestial-title {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.celestial-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gold-gradient);
    border-radius: var(--radius-full);
}

.celestial-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 1px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* ===== CELESTIAL BUTTONS - GOLD VERSION ===== */
.btn-celestial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--gold-gradient);
    color: var(--text-light);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn-celestial::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left var(--transition-slow);
}

.btn-celestial:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    color: var(--text-light);
}

.btn-celestial:hover::before {
    left: 100%;
}

.btn-celestial-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 2.25rem;
    background: transparent;
    border: 2px solid var(--secondary-main);
    color: var(--secondary-main);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-celestial-outline:hover {
    background: var(--secondary-main);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* ===== FOOTER - IVORY DESIGN ===== */
footer {
    background: rgba(255, 255, 240, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    color: var(--text-illuminated);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold-gradient);
}

.footer-section p,
.footer-section li {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-section i {
    color: var(--secondary-main);
    width: 20px;
    text-align: center;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--text-illuminated);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--frosted-glass);
    border-radius: var(--radius-full);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all var(--transition-normal);
}

.footer-social-link:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--secondary-main);
    transform: translateX(5px);
    box-shadow: var(--shadow-blue);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.container-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.floating {
    animation: float 3s ease-in-out infinite;
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
        padding: 0.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .logo h1 {
        font-size: 1.25rem;
    }
    
    .nav-links {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .btn-celestial,
    .btn-celestial-outline {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}