/* CSS Reset & Variables */
:root {
    --primary-color: #0b1116; /* Deep Elegant Navy */
    --secondary-color: #151d26; /* Softer Navy */
    --accent-color: #d4af37; /* Champagne Gold */
    --accent-hover: #e5c158; /* Lighter Gold */
    --text-light: #fdfbf7; /* Off-white Cream */
    --text-muted: #b0a89f;
    --glass-bg: rgba(21, 29, 38, 0.65);
    --glass-border: rgba(212, 175, 55, 0.2);
    --danger-color: #c0392b;
    --success-color: #27ae60;
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--primary-color);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Background Animated Glows */
body::before, body::after {
    content: '';
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0) 70%);
    z-index: -1;
    animation: float 15s infinite ease-in-out;
}

body::before {
    top: -10vw;
    left: -20vw;
}

body::after {
    bottom: 20vw;
    right: -20vw;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(50px) scale(1.05); }
}

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

.text-center { text-align: center; }

/* Glassmorphism utility */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #d4af37 0%, #f3e5ab 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 4px 10px rgba(212, 175, 55, 0.2);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.2rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.modal-content {
    padding: 40px;
    max-width: 500px;
    text-align: center;
    transform: scale(0.9);
    animation: modalPop 0.3s forwards ease-out;
}

@keyframes modalPop {
    to { transform: scale(1); }
}

.modal-logo {
    font-size: 4rem;
    margin-bottom: 20px;
}

.modal-content h2 { margin-bottom: 15px; }
.modal-content p { margin-bottom: 30px; color: var(--text-muted); }
.modal-buttons { display: flex; gap: 15px; justify-content: center; }

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 15px 30px;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo-img {
    height: 70px; /* Increased from 40px */
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.header-logo-img:hover {
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--accent-color);
    cursor: pointer;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.admin-link {
    background: rgba(224, 169, 109, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--accent-color);
    font-size: 0.9rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    background: radial-gradient(circle at center, var(--secondary-color) 0%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
}

/* Add some subtle ambient lights */
.hero-section::before, .hero-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    filter: blur(150px);
    opacity: 0.15;
    border-radius: 50%;
}
.hero-section::before { top: -100px; left: -100px; }
.hero-section::after { bottom: -100px; right: -100px; }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-light);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    opacity: 0.3; /* makes it subtle in the background */
}

.hero-title .highlight {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

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

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.about-text strong {
    color: var(--text-light);
}

.about-image {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-color);
    text-align: center;
}

/* Partners Section */
.partners-section {
    padding: 100px 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.filter-container {
    display: flex;
    gap: 20px;
    padding: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 250px;
}

.filter-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--accent-color);
    font-weight: 600;
}

.custom-select {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    appearance: none;
    cursor: pointer;
}

.custom-select:focus {
    border-color: var(--accent-color);
}

.custom-select option {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.custom-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.partner-card {
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid transparent;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border-top: 3px solid var(--accent-color);
}

.partner-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.partner-card p {
    margin-bottom: 8px;
    color: var(--text-muted);
}

.partner-card i {
    color: var(--accent-color);
    width: 25px;
}

/* Videos Section */
.videos-section {
    padding: 100px 0;
    background: radial-gradient(circle at center, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 177.77%; /* 16:9 ratio for shorts (9:16) => 16/9 * 100 = 177.77% */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.info-block {
    margin-bottom: 40px;
}

.info-block h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-block p {
    color: var(--text-muted);
}

.info-action {
    padding: 20px;
    border-left: 4px solid var(--accent-color);
    background: rgba(224, 169, 109, 0.05);
    border-radius: 0 8px 8px 0;
}

.contact-form-container {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.input-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon.align-top {
    align-items: flex-start;
}

.input-icon i {
    position: absolute;
    left: 15px;
    color: var(--accent-color);
}

.input-icon.align-top i {
    top: 15px;
}

.input-icon input,
.input-icon select,
.input-icon textarea {
    width: 100%;
    padding: 15px 15px 15px 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.input-icon textarea {
    resize: vertical;
}

.input-icon input:focus,
.input-icon select:focus,
.input-icon textarea:focus {
    border-color: var(--accent-color);
}

.input-icon option {
    background-color: var(--secondary-color);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.form-checkbox input[type="checkbox"] {
    accent-color: var(--accent-color);
    width: 18px;
    height: 18px;
}

/* Footer */
.footer {
    position: relative;
    background-color: #901C20;
    color: white;
    padding-top: 80px; /* space for wave */
    padding-bottom: 30px;
    margin-top: 100px; /* pull up under previous section */
}

.custom-shape-divider-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: none;
}

.custom-shape-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.custom-shape-divider-top .shape-fill {
    fill: var(--primary-color); /* Navy blue color to blend with section above */
}

.footer-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    height: 120px;
    filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.3));
}

.footer-lotep {
    height: 50px;
}

.footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: auto; /* Push to the right if there's space */
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform 0.3s, opacity 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.social-icon:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Brand Colors */
.social-icon.facebook {
    background-color: #3b5998;
    color: white;
}

.social-icon.twitter {
    background-color: #000000;
    color: white;
}

.social-icon.youtube {
    background-color: white;
    color: #ff0000;
}

.social-icon.instagram {
    background-color: white;
    color: #E1306C; /* We use a solid brand color for icon to match design */
}

.footer-copy {
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        padding: 20px 0;
        gap: 20px;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        border: 1px solid var(--glass-border);
        border-top: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .about-grid, .contact-grid, .partners-grid, .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0px 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

