/*
Theme Name: Marianum Probolinggo
Theme URI: https://seminarimarianum.org
Author: Antigravity
Author URI: https://google.com
Description: A modern, clean, and spiritual WordPress theme for Seminari Marianum Probolinggo.
Version: 1.0.0
Text Domain: marianum
*/

:root {
    --primary-blue: #e3f2fd;
    --deep-blue: #1976d2;
    --gold: #D4AF37;
    --gold-gradient: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --glass-bg: rgba(255, 255, 255, 0.2);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--primary-blue);
}
::-webkit-scrollbar-thumb {
    background: var(--deep-blue);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--deep-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Header & Nav */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.8rem 5%;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container img {
    height: 50px;
    width: auto;
}

.site-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition-smooth);
}

.scrolled .site-title {
    color: var(--deep-blue);
}

.main-navigation ul {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    gap: 30px !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
}

.main-navigation li {
    display: inline-block !important;
    list-style: none !important;
}

.main-navigation a {
    text-decoration: none !important;
    color: var(--white) !important;
    font-weight: 500 !important;
    transition: var(--transition-smooth) !important;
    font-size: 0.95rem !important;
    white-space: nowrap;
}

.scrolled .main-navigation a {
    color: var(--text-dark) !important;
}

.main-navigation a:hover {
    color: var(--gold) !important;
}

/* Only the very last item of the primary menu should be a button */
.nav-menu > li:last-child > a,
.main-navigation > ul > li:last-child > a,
.main-navigation > div > ul > li:last-child > a {
    background: var(--gold-gradient) !important;
    color: var(--white) !important;
    padding: 10px 25px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
    white-space: nowrap !important;
    display: inline-block !important;
}

.nav-menu > li:last-child > a:hover,
.main-navigation > ul > li:last-child > a:hover,
.main-navigation > div > ul > li:last-child > a:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4) !important;
    color: var(--white) !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hero-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
}

.hero-nav button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    transition: var(--transition-smooth);
}

.hero-nav button:hover {
    background: rgba(255,255,255,0.4);
    transform: scale(1.1);
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.3);
}

.hero-content {
    color: var(--white);
    max-width: 900px;
    padding: 2rem;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    -webkit-text-stroke: 1px rgba(255,255,255,0.2);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(25, 118, 210, 0.4);
}

/* Pillars Section */
.pillars {
    padding: 8rem 10%;
    background: var(--primary-blue);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.pillar-card {
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 20px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.pillar-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.4);
}

.pillar-icon {
    font-size: 3.5rem;
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
}

.pillar-card h3 {
    color: var(--deep-blue);
    margin-bottom: 1rem;
}

.pillar-desc {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Admissions Section */
.admissions {
    padding: 10rem 10%;
    background: url('assets/images/hero-bg.png') center/cover fixed;
    position: relative;
    display: flex;
    justify-content: center;
}

.admissions::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(25, 118, 210, 0.4);
    backdrop-filter: blur(8px);
}

.admission-card {
    position: relative;
    max-width: 800px;
    text-align: center;
    padding: 5rem 3rem;
    border-radius: 30px;
    color: var(--white);
}

.admission-card h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.btn-gold {
    background: var(--gold-gradient);
    color: var(--white);
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
    margin-top: 2rem;
    transition: var(--transition-smooth);
}

/* News & Agenda */
.news-agenda {
    padding: 8rem 10%;
}

.na-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.news-item {
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.news-thumb {
    width: 200px;
    height: 150px;
    overflow: hidden;
    border-radius: 15px;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.agenda-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.agenda-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.calendar-box {
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.calendar-box span {
    font-weight: 700;
    font-size: 1.4rem;
}

/* Team Section */
.team {
    padding: 8rem 10%;
    background: var(--primary-blue);
}

.team-carousel {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0;
    scrollbar-width: none;
}

.team-card {
    min-width: 300px;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--gold);
    overflow: hidden;
}

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

/* Footer */
.site-footer {
    padding: 5rem 10% 2rem;
    background: linear-gradient(to bottom, var(--primary-blue), #f8f9fa);
}

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

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

/* Mobile Responsive */
@media (max-width: 992px) {
    .na-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.5rem; }
    .site-header { padding: 1rem 20px; }
    .nav-menu { display: none; } /* Simplified for demo */
}
