/* 
   Premium School Design System 
   Winner Bright Future School
*/

:root {
    /* Brand Colors */
    --primary-color: #003366; /* Deep Royal Blue - Trust & Excellence */
    --accent-color: #C5A059;   /* Metallic Gold - Premium & Achievement */
    --accent-glow: #e6c885;
    --dark-bg: #0a1128;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-spacing: 5rem;
    
    /* Impacts */
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    --gradient-gold: linear-gradient(135deg, #C5A059 0%, #D4AF37 50%, #B8860B 100%);
    --gradient-blue: linear-gradient(135deg, #003366 0%, #004080 100%);
}

/* Global Reset & Typography */
body {
    font-family: var(--font-body);
    color: #333;
    background-color: var(--light-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Utility Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Premium Components */

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-gold);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    display: block;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Premium Cards */
.premium-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.premium-card:hover::before {
    transform: scaleX(1);
}

/* Hero Section Base */
.premium-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: white;
    margin-bottom: var(--section-spacing);
}

.premium-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 51, 102, 0.85), rgba(0, 51, 102, 0.6));
}

.premium-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.premium-hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    color: var(--white);
}

/* Gold Button */
.btn-premium {
    background: var(--gradient-gold);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
    display: inline-block;
    text-decoration: none;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.5);
    color: #fff;
    filter: brightness(1.1);
}

/* Principal / Profile Section */
.profile-img-frame {
    position: relative;
    padding: 15px;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    display: inline-block;
}

.profile-img-frame img {
    border-radius: 4px;
    display: block;
}

/* Contact/Forms */
.premium-form-control {
    border: 2px solid #eee;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s;
    background: #f9f9f9;
}

.premium-form-control:focus {
    border-color: var(--accent-color);
    box-shadow: none;
    background: #fff;
}

.form-floating-custom {
    position: relative;
    margin-bottom: 1.5rem;
}

/* Override existing Bootstrap nav if needed to make it cleaner */
.navbar {
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .premium-hero-title {
        font-size: 2.5rem;
    }
    .section-spacing {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }
}
