/* --- VARIABLES --- */
:root {
    --bg-main: #050505;
    --bg-secondary: #111111;
    --accent-gold: #D4AF37;
    --accent-gold-hover: #F3E5AB;
    --text-main: #FFFFFF;
    --text-muted: #A0A0A0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* --- RESET & GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
.logo {
    font-family: var(--font-heading);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 2rem;
}

.w-100 {
    width: 100%;
}

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 100px 0;
}

.dark-section {
    background-color: var(--bg-secondary);
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 1rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-main);
    border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-gold);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}

.btn-secondary:hover {
    background-color: var(--accent-gold);
    color: var(--bg-main);
}

/* --- NAVBAR --- */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

#navbar.scrolled {
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- HERO SECTION --- */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-color: var(--bg-main);
    overflow: hidden;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideAnimation 18s infinite;
}

.hero-bg.slide-1 {
    background-image: url('image/hero1.png');
    animation-delay: 0s;
}

.hero-bg.slide-2 {
    background-image: url('image/hero2.png');
    animation-delay: 6s;
}

.hero-bg.slide-3 {
    background-image: url('image/hero3.png');
    animation-delay: 12s;
}

@keyframes slideAnimation {
    0% { opacity: 0; transform: scale(1.05); }
    10% { opacity: 1; transform: scale(1); }
    33% { opacity: 1; transform: scale(1); }
    43% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--accent-gold);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- ABOUT SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.visionary-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.visionary-name {
    font-size: 2rem;
    color: var(--accent-gold);
}

.visionary-role {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* --- GRIDS & CARDS (Glassmorphism) --- */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.hover-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.icon-gold {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.glass-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- SPEAKERS --- */
.speaker-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* --- FORM --- */
.form-container {
    max-width: 800px;
}

.glass-form {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.input-full {
    margin-bottom: 20px;
}

input,
textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus {
    border-color: var(--accent-gold);
}

#form-success {
    text-align: center;
    padding: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--accent-gold);
    border-radius: 16px;
    margin-bottom: 20px;
}

.hidden {
    display: none !important;
}

/* --- CTA SECTION --- */
.cta-section {
    background: linear-gradient(rgba(5, 5, 5, 0.8), rgba(5, 5, 5, 0.8)), url('https://images.unsplash.com/photo-1492538368677-f6e0afe31d90?auto=format&fit=crop&q=80');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    padding: 150px 0;
}

.cta-text {
    font-size: 3rem;
    margin-bottom: 40px;
    line-height: 1.2;
}

/* --- FOOTER --- */
#footer {
    background: #000000;
    padding: 60px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    width: auto;
    display: block;
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 5px;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 5px;
}

.footer-contact i {
    color: var(--accent-gold);
    margin-right: 10px;
}

.footer-socials a {
    color: var(--text-main);
    font-size: 1.5rem;
    margin-left: 15px;
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid #1a1a1a;
    padding-top: 20px;
}

/* --- ANIMATIONS & RESPONSIVE --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }

    .cta-text {
        font-size: 2rem;
    }

    .input-group {
        grid-template-columns: 1fr;
    }

    .nav-links,
    .nav-btn {
        display: none;
    }

    /* Add JS toggle for mobile menu in production */
    .mobile-menu-toggle {
        display: block;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-socials a {
        margin: 0 10px;
    }
}