@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Playfair+Display:wght@700;900&display=swap');

:root {
    /* Primary Colors (from logo) */
    --color-purple: #4A3B94;
    --color-green: #2E8B57;
    --color-gold: #FFD700;
    
    /* Secondary/Flyer Colors */
    --color-yellow: #FFEA00;
    --color-light-blue: #E3F2FD;
    --color-white: #FFFFFF;
    --color-text: #2D3436;
    --color-text-light: #636E72;
    
    /* UI Tokens */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Outfit', sans-serif;
    --shadow-soft: 0 10px 40px rgba(0,0,0,0.03);
    --shadow-medium: 0 20px 60px rgba(0,0,0,0.08);
    --border-radius-sm: 8px;
    --border-radius-md: 20px;
    --border-radius-lg: 40px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
    /* subtle star watermark */
    background-image: url('assets/star-watermark.svg');
    background-repeat: repeat;
    background-size: 400px;
    background-attachment: fixed;
}

/* Base Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-gold {
    background-color: var(--color-gold);
    color: var(--color-purple);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-green {
    background-color: var(--color-green);
    color: var(--color-white);
}

.btn-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 139, 87, 0.3);
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: 90px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.02);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 60px;
    width: auto;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-purple);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
}

nav ul li a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--color-purple);
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 80px;
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.hero-btns {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Visit Schedules Section */
.schedules {
    padding: 100px 0;
    background-color: var(--color-white);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.schedule-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.schedule-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-purple);
    margin-bottom: 15px;
}

.schedule-time {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-green);
    margin-bottom: 10px;
}

/* Process Section */
.process {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(74, 59, 148, 0.02) 0%, rgba(46, 139, 87, 0.02) 100%);
    text-align: center;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 80px;
}

.process-step {
    position: relative;
}

.process-icon {
    font-size: 50px;
    color: var(--color-green);
    margin-bottom: 25px;
}

.process-step h4 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--color-purple);
}

/* Promo Ribbon/Badge */
.promo-banner {
    display: inline-block;
    background: var(--color-purple);
    color: var(--color-gold);
    padding: 20px 60px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.5rem;
    position: relative;
    box-shadow: var(--shadow-soft);
    transform: rotate(-2deg);
    margin-top: 40px;
}

.promo-banner::before {
    content: '★';
    margin-right: 15px;
}

.promo-banner::after {
    content: '★';
    margin-left: 15px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--color-purple);
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-text h1 span {
    color: var(--color-green);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-medium);
}

/* Pillars Section */
.pillars {
    padding: 100px 0;
    background-color: var(--color-white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--color-purple);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.pillar-card {
    background: var(--color-white);
    padding: 48px 32px;
    border-radius: var(--border-radius-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.pillar-icon {
    font-size: 48px;
    margin-bottom: 24px;
    background: var(--color-light-blue);
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.pillar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-purple);
}

.pillar-card p {
    color: var(--color-text-light);
}

/* Activities Section */
.activities {
    padding: 100px 0;
    background-color: #fcfcfc;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.activity-card {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 450px;
}

.activity-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.activity-card:hover img {
    transform: scale(1.1);
}

.activity-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: var(--color-white);
}

.activity-overlay h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

/* Enrollment Section */
.enrollment {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.05) 0%, rgba(255, 215, 0, 0.05) 100%);
}

.enrollment-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    background: var(--color-white);
    padding: 60px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.star-badge {
    position: absolute;
    top: -30px;
    right: -30px;
    background: var(--color-yellow);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-purple);
    transform: rotate(15deg);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.enrollment-info h2 {
    font-size: 2.5rem;
    color: var(--color-purple);
    margin-bottom: 24px;
}

.enrollment-info p {
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.benefits-list li::before {
    content: '✓';
    color: var(--color-green);
    font-weight: 900;
}

.enrollment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group input, .form-group select {
    padding: 14px 20px;
    border-radius: var(--border-radius-sm);
    border: 1px solid #ddd;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--color-purple);
    box-shadow: 0 0 0 4px rgba(74, 59, 148, 0.1);
}

/* Community Section */
.community {
    padding: 100px 0;
    background-color: var(--color-white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.news-card {
    display: flex;
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.news-image {
    flex: 1;
    min-width: 200px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    flex: 1.5;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-date {
    font-size: 0.9rem;
    color: var(--color-green);
    font-weight: 600;
    margin-bottom: 10px;
}

.news-content h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-purple);
    margin-bottom: 15px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Footer (existing) */
footer {
    padding: 80px 0 40px;
    background-color: var(--color-purple);
    color: var(--color-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--color-gold);
}

.social-links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin-top: 24px;
}

.social-links a {
    color: var(--color-white);
    font-size: 24px;
    text-decoration: none;
}

.contact-info p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Responsive */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: var(--color-white);
        display: none; /* Controlled by JS */
        padding: 20px 0;
        box-shadow: var(--shadow-medium);
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .hero-content, .pillars-grid, .activities-grid, .enrollment-container, .footer-grid, .news-grid, .schedule-grid, .process-grid {
        grid-template-columns: 1fr;
    }

    .news-card {
        flex-direction: column;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-text h1 { font-size: 2.75rem; }
    .hero-text { text-align: center; }
    .hero-image { order: -1; }
    
    .enrollment-container { padding: 40px 24px; }
}

@media (max-width: 576px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}
