/* style.css - The Raiment of the Sanctuary */

/* --- 1. THE TREASURY (Variables) --- */
:root {
    --candy-blue: #00A8FF;       /* The Clear Sky */
    --candy-pink: #E84393;       /* The Deep Rose */
    --candy-light-pink: #fd79a8; /* The Soft Petal */
    --candy-gradient: linear-gradient(135deg, #E84393 0%, #00A8FF 100%);
    --candy-shadow: 0 10px 20px rgba(232, 67, 147, 0.2);
}

body {
    background-color: #fdfdfd; /* Pure Linen */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

/* --- 2. THE FIRMAMENT (Navbar) --- */
.navbar-custom {
    background: var(--candy-gradient) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* THE RAINBOW COVENANT (Logo Text) */
@keyframes rainbow-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.rainbow-brand {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    background: linear-gradient(
        45deg, 
        #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000
    );
    background-size: 400%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important; /* THE KEY: Reveal the background */
    animation: rainbow-flow 5s linear infinite;
    text-shadow: none !important;
    display: inline-block;
}

/* THE JOYFUL PATHS (Links) */
.nav-link-fun {
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85) !important; /* Slightly transparent default */
    padding: 8px 15px !important;
    margin: 0 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Bouncy Physics */
}

/* Hover & Active State: NO WHITE BOX, JUST GLOW */
.nav-link-fun:hover, 
.nav-link-fun.active {
    background-color: transparent !important; /* Cleansed of the box */
    color: #ffffff !important; /* Pure White */
    text-shadow: 0 0 10px rgba(255,255,255,0.9), 0 0 20px var(--candy-pink); /* The Glow */
    transform: scale(1.2) rotate(-3deg); /* The Bounce remains */
}

/* Admin Link (Gold) */
.nav-link-admin {
    font-family: 'Fredoka One', cursive;
    color: #ffd700 !important;
    text-shadow: 1px 1px 0 #000;
}

/* --- 3. THE HERO SECTION (Entrance) --- */
.hero-section {
    background: var(--candy-gradient);
    color: white;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Animated Title */
.candy-title {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 0px rgba(0,0,0,0.1);
    animation: popIn 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) both;
    position: relative;
    z-index: 2;
}

@keyframes popIn {
    0% { transform: scale(0) translateY(50px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* Floating Bubbles */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s infinite ease-in-out;
    z-index: 1;
}
.b-1 { width: 100px; height: 100px; top: 10%; left: 10%; animation-delay: 0s; }
.b-2 { width: 150px; height: 150px; bottom: 20%; right: 10%; animation-delay: 2s; }
.b-3 { width: 60px; height: 60px; top: 40%; right: 30%; animation-delay: 4s; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* --- 4. THE VESSELS (Buttons) --- */
.btn-candy-pink {
    background-color: var(--candy-pink);
    color: white;
    border: none;
    font-weight: 600;
    transition: transform 0.2s;
}
.btn-candy-pink:hover {
    background-color: #c42b75;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-candy-blue {
    background-color: var(--candy-blue);
    color: white;
    border: none;
    font-weight: 600;
    transition: transform 0.2s;
}
.btn-candy-blue:hover {
    background-color: #008ecc;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* --- 5. THE OFFERINGS (Cards) --- */
.glass-card {
    background: rgba(255, 255, 255, 0.95); /* Nearly solid for readability */
    border: 2px solid var(--candy-blue);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
    z-index: 10;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--candy-shadow);
    border-color: var(--candy-pink);
}

.icon-circle {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Utility Backgrounds */
.bg-pink { background-color: var(--candy-pink); }
.bg-blue { background-color: var(--candy-blue); }
.bg-mix { background: linear-gradient(135deg, var(--candy-blue), var(--candy-pink)); }

/* Text Utilities */
.text-candy-pink { color: var(--candy-pink) !important; }
.text-candy-blue { color: var(--candy-blue) !important; }

/* --- 6. THE FOUNDATION (Footer) --- */
.footer-custom {
    background: #2d3436;
    border-top: 5px solid var(--candy-light-pink);
    color: #b2bec3;
}
/* The Cloak of Invisibility */
.gate-keeper {
    display: none !important;
    visibility: hidden;
    position: absolute;
    left: -9999px;
}