@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --primary: #1B3A5C;
    --primary-light: #2A5A8C;
    --secondary: #C9A84C;
    --secondary-light: #E8D48B;
    --bg-light: #F8F6F1;
    --bg-white: #FFFFFF;
    --bg-dark: #0F1F33;
    --text-primary: #1A1A2E;
    --text-secondary: #4A5568;
    --text-light: #E2E8F0;
    --accent: #D4A44C;
    --border: #E2E0DB;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 12px 28px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background: var(--bg-light);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
    color: var(--primary);
}

h1 { font-size: 2.8rem; font-weight: 700; }
h2 { font-size: 2.2rem; font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; font-weight: 600; }

p { margin-bottom: 1rem; color: var(--text-secondary); }

a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }

img { max-width: 100%; height: auto; display: block; }

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

/* ========== HEADER ========== */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--primary);
    transition: var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.3); }

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
    height: 70px;
}

.header-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.header-brand img { height: 45px; width: auto; filter: invert(1); mix-blend-mode: screen; }
.header-brand span {
    font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700;
    color: #fff; white-space: nowrap;
}

.main-nav { display: flex; align-items: center; }
.nav-links {
    display: flex; align-items: center; gap: 0.25rem;
    list-style: none; white-space: nowrap; flex-wrap: nowrap;
}
.nav-links a {
    color: rgba(255,255,255,0.85); font-size: 0.85rem; font-weight: 500;
    padding: 0.5rem 0.7rem; border-radius: var(--radius-sm);
    transition: var(--transition); text-decoration: none; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
    color: #fff; background: rgba(255,255,255,0.12);
}
.nav-links a.active { border-bottom: 2px solid var(--secondary); }

.hamburger {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
    background: none; border: none; padding: 5px;
}
.hamburger span { display: block; width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== HERO ========== */
.hero {
    position: relative; min-height: 65vh; display: flex; align-items: center;
    justify-content: center; text-align: center; margin-top: 70px;
    background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15,31,51,0.82) 0%, rgba(27,58,92,0.65) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 3rem 2rem; }
.hero h1 { color: #fff; font-size: 3rem; margin-bottom: 1rem; }
.hero p { color: rgba(255,255,255,0.9); font-size: 1.2rem; margin-bottom: 2rem; }

.hero-home { min-height: 80vh; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-block; padding: 0.85rem 2rem; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: var(--transition);
    border: none; text-decoration: none; letter-spacing: 0.02em;
}
.btn-primary { background: var(--secondary); color: var(--primary); }
.btn-primary:hover { background: var(--secondary-light); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }

/* ========== SECTIONS ========== */
.section { padding: 5rem 0; }
.section-light { background: var(--bg-white); }
.section-alt { background: var(--bg-light); }
.section-dark { background: var(--primary); color: var(--text-light); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.8); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { position: relative; display: inline-block; padding-bottom: 1rem; }
.section-header h2::after {
    content: '✦'; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%);
    color: var(--secondary); font-size: 1rem;
}
.section-subtitle { color: var(--text-secondary); font-size: 1.1rem; max-width: 600px; margin: 0.5rem auto 0; }
.gold-line { width: 60px; height: 3px; background: var(--secondary); margin: 1rem auto; border-radius: 2px; }

/* ========== CARDS ========== */
.card {
    background: var(--bg-white); border-radius: var(--radius); padding: 2rem;
    box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--border);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.card-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff; margin-bottom: 1.25rem;
}

.card-img { border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; margin: -2rem -2rem 1.5rem; }
.card-img img { width: 100%; height: 220px; object-fit: cover; transition: var(--transition); }
.card:hover .card-img img { transform: scale(1.05); }

/* ========== GRID LAYOUTS ========== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ========== IMAGE + TEXT SPLIT ========== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.split-img img { width: 100%; height: 400px; object-fit: cover; }

/* ========== TIMELINE ========== */
.timeline { position: relative; padding-left: 3rem; }
.timeline::before {
    content: ''; position: absolute; left: 14px; top: 0; bottom: 0;
    width: 3px; background: linear-gradient(to bottom, var(--secondary), var(--primary));
}
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-item::before {
    content: ''; position: absolute; left: -2.35rem; top: 5px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--secondary); border: 3px solid var(--bg-white); box-shadow: var(--shadow-sm);
}
.timeline-year {
    font-family: 'Playfair Display', serif; font-weight: 700;
    color: var(--secondary); font-size: 1.25rem; margin-bottom: 0.25rem;
}

/* ========== BELIEFS ========== */
.belief-card {
    background: var(--bg-white); border-radius: var(--radius); padding: 2rem;
    border-left: 4px solid var(--secondary); box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.belief-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.belief-card h3 { font-size: 1.2rem; color: var(--primary); }

/* ========== EVENTS ========== */
.event-card {
    display: flex; gap: 1.5rem; background: var(--bg-white); border-radius: var(--radius);
    padding: 1.5rem; box-shadow: var(--shadow-sm); transition: var(--transition);
    border: 1px solid var(--border);
}
.event-card:hover { box-shadow: var(--shadow-md); transform: translateX(5px); }
.event-date {
    flex-shrink: 0; width: 70px; text-align: center; padding: 0.75rem;
    background: var(--primary); border-radius: var(--radius-sm); color: #fff;
}
.event-date .day { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.event-date .month { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* ========== CONTACT ========== */
.contact-card {
    display: flex; align-items: flex-start; gap: 1rem;
    background: var(--bg-white); border-radius: var(--radius); padding: 1.5rem;
    box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.contact-icon {
    flex-shrink: 0; width: 50px; height: 50px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #fff;
}

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.9rem; color: var(--text-primary); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--border);
    border-radius: var(--radius-sm); font-family: 'Inter', sans-serif; font-size: 0.95rem;
    transition: var(--transition); background: var(--bg-white);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(42,90,140,0.15);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.map-container { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.map-container iframe { width: 100%; height: 350px; border: 0; }

/* ========== VISION BLOCK ========== */
.vision-block {
    background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
    border-radius: var(--radius); padding: 3rem; color: #fff; text-align: center;
    position: relative; overflow: hidden;
}
.vision-block::before {
    content: ''; position: absolute; top: -50%; right: -50%;
    width: 100%; height: 200%;
    background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 60%);
}
.vision-block h2 { color: var(--secondary); }
.vision-block p { color: rgba(255,255,255,0.9); font-size: 1.1rem; max-width: 700px; margin: 0 auto 1rem; }

/* ========== VALUE CARDS ========== */
.value-card {
    text-align: center; padding: 2.5rem 1.5rem;
    background: var(--bg-white); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); transition: var(--transition);
    border-top: 4px solid var(--secondary);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-icon { font-size: 2.5rem; margin-bottom: 1rem; }

/* ========== FOOTER ========== */
.site-footer {
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(201,168,76,0.14), transparent 32%),
        linear-gradient(180deg, #122640 0%, #0B1727 100%);
    color: var(--text-light);
    padding: 2rem 0 0;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 85%);
    pointer-events: none;
}
.site-footer .container { position: relative; z-index: 1; }

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 1.75rem 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}
.footer-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--secondary-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.footer-top h2 {
    margin: 0;
    max-width: 650px;
    color: #fff;
    font-size: clamp(1.75rem, 3vw, 2.4rem);
}
.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 0.95rem 1.4rem;
    background: var(--secondary);
    color: #10233B;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(201,168,76,0.22);
}
.footer-cta:hover {
    color: #10233B;
    background: #d7b862;
    transform: translateY(-2px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.75fr 0.75fr 1fr;
    gap: 2rem;
    align-items: start;
}
.footer-intro { padding-right: 1rem; }

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.footer-brand img { height: 40px; width: auto; filter: invert(1); mix-blend-mode: screen; }
.footer-brand span { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: #fff; }

.site-footer h4 {
    color: var(--secondary-light);
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 1.1rem;
}
.site-footer p { color: rgba(255,255,255,0.72); font-size: 0.95rem; }

.footer-service-card {
    margin-top: 1.75rem;
    padding: 1.25rem 1.35rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    backdrop-filter: blur(8px);
}
.footer-service-card h4 { margin-bottom: 0.9rem; }
.footer-service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    color: rgba(255,255,255,0.78);
    font-size: 0.92rem;
}
.footer-service-row + .footer-service-row { border-top: 1px solid rgba(255,255,255,0.08); }
.footer-service-row strong { color: #fff; font-size: 0.94rem; }

.footer-links { list-style: none; }
.footer-links li + li { margin-top: 0.75rem; }
.footer-links a {
    color: rgba(255,255,255,0.72);
    font-size: 0.95rem;
}
.footer-links a:hover { color: #fff; padding-left: 6px; }

.footer-contact-list {
    padding: 1.25rem 1.35rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
}
.footer-contact-icon {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(201,168,76,0.14);
    color: var(--secondary-light);
    flex-shrink: 0;
}
.footer-contact-item span:last-child,
.footer-contact-item a {
    color: rgba(255,255,255,0.76);
    font-size: 0.94rem;
    line-height: 1.65;
}
.footer-contact-item a:hover { color: #fff; }
.footer-contact-meta {
    padding-top: 0.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.56);
    font-size: 0.84rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 3rem;
    padding: 1.5rem 0;
}
.footer-bottom p { color: rgba(255,255,255,0.52); font-size: 0.84rem; margin: 0; }

/* ========== ANIMATIONS ========== */
.animate { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-content { animation: fadeInUp 1s ease forwards; }

/* ========== SCHEDULE TABLE ========== */
.schedule-table { width: 100%; border-collapse: collapse; background: var(--bg-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.schedule-table th { background: var(--primary); color: #fff; padding: 1rem; text-align: left; font-size: 0.9rem; }
.schedule-table td { padding: 1rem; border-bottom: 1px solid var(--border); font-size: 0.95rem; color: var(--text-secondary); }
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:hover td { background: rgba(201,168,76,0.05); }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero { min-height: 50vh; }

    .hamburger { display: flex; }
    .nav-links {
        display: none; position: absolute; top: 70px; left: 0; right: 0;
        flex-direction: column; background: var(--primary);
        padding: 1rem; gap: 0; border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 0.85rem 1rem; width: 100%; border-radius: 0; }

    .grid-2, .grid-3, .grid-4, .split { grid-template-columns: 1fr; }
    .split-img img { height: 280px; }
    .footer-top,
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .event-card { flex-direction: column; }
    .container { padding: 0 1.25rem; }
    .section { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.7rem; }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }
    .header-brand span { font-size: 0.95rem; }
    .btn { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
    .site-footer { padding-top: 1.25rem; }
    .footer-top { padding: 1.4rem 1.2rem; border-radius: 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-service-row { flex-direction: column; align-items: flex-start; }
}

/* ========== PRINT ========== */
@media print {
    .site-header, .site-footer, .hamburger, .btn { display: none; }
    .hero { min-height: auto; padding: 2rem 0; }
    .hero::before { display: none; }
    .hero h1 { color: #000; }
    body { font-size: 12pt; color: #000; background: #fff; }
}
