/* assets/css/style.css */

/* --- IMPORTS & VARIABLES --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Cormorant+Garamond:ital,wght@1,400;1,600&display=swap');

:root {
    --primary: #c26e00;
    --primary-glow: rgba(194, 110, 0, 0.5);
    --dark: #0a0a0a;
    --dark-card: #111;
    --light: #f4f4f4;
    --text-muted: #a0a0a0;
}

/* --- RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background: var(--dark); color: var(--light); line-height: 1.6; overflow-x: hidden; padding-top: 80px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
section { position: relative; z-index: 1; }

/* --- HEADER & LAVA LAMP MENU --- */
header {
    background: rgba(10, 10, 10, 0.95);
    height: 80px;
    width: 100%;
    position: fixed;
    top: 0; left: 0; z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.header-content { display: flex; justify-content: space-between; align-items: center; height: 100%; }

.logo { display: flex; align-items: center; gap: 15px; font-size: 1.5rem; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; }
.logo img { height: 50px; }

nav { display: flex; align-items: center; gap: 5px; position: relative; }

.nav-link {
    color: #e0e0e0;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 5px;
    position: relative;
    z-index: 2;
}

.nav-link:hover, .nav-link.active { color: white; }

/* The Lava Lamp Marker */
#nav-marker {
    position: absolute;
    bottom: 5px; left: 0; width: 0; height: 4px;
    background-color: var(--primary);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    z-index: 1;
    box-shadow: 0 -5px 15px var(--primary-glow);
}

.btn-join {
    margin-left: 20px;
    padding: 10px 30px;
    background: var(--primary);
    color: black;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.btn-join:hover { background: white; color: var(--primary); transform: translateY(-2px); }

/* --- HERO SLIDER --- */
.hero-slider { position: relative; height: 85vh; width: 100%; overflow: hidden; background: #000; }
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 1s ease-in-out;
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
}
.slide.active { opacity: 1; z-index: 1; }
.slide::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.9)); z-index: 1; }

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; padding: 20px; animation: slideUp 1s ease-out; }
.hero-content h1 { font-size: 4rem; color: white; margin-bottom: 20px; line-height: 1.1; letter-spacing: -2px; }
.hero-content p { font-size: 1.5rem; color: #e0e0e0; margin-bottom: 40px; font-weight: 300; font-family: 'Cormorant Garamond', serif; font-style: italic; }

.slider-nav { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 15px; }
.nav-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: 0.3s; }
.nav-dot.active { background: var(--primary); transform: scale(1.3); }

/* --- 3D FLOATING CARDS --- */
.mission-section { margin-top: -100px; padding-bottom: 80px; position: relative; z-index: 10; }
.cards-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.mission-card {
    background: rgba(20, 20, 20, 0.95);
    padding: 40px 30px;
    border-radius: 15px;
    border-bottom: 4px solid var(--primary);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.4s ease;
    position: relative; overflow: hidden;
    backdrop-filter: blur(10px);
}
.mission-card:hover { transform: translateY(-15px); }

.card-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--primary), #8a4e00);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: white; margin-bottom: 25px;
}
.mission-card h3 { font-size: 1.4rem; color: white; margin-bottom: 15px; }
.mission-card p { color: var(--text-muted); font-size: 0.95rem; }
.card-bg-num { position: absolute; top: -20px; right: -10px; font-size: 120px; font-weight: 900; color: rgba(255,255,255,0.03); z-index: 0; }

/* --- LATEST NEWS --- */
.section-title { text-align: center; margin: 80px 0 50px; }
.section-title h2 { font-size: 2.5rem; color: white; display: inline-block; border-bottom: 3px solid var(--primary); padding-bottom: 10px; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; padding-bottom: 80px; }
.news-card { background: var(--dark-card); border-radius: 10px; overflow: hidden; transition: 0.3s; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.news-img { height: 200px; background: #333; background-size: cover; background-position: center; }
.news-content { padding: 25px; }
.news-date { color: var(--primary); font-size: 0.85rem; font-weight: bold; margin-bottom: 10px; display: block; }
.news-content h3 { font-size: 1.2rem; margin-bottom: 10px; }
.news-content a { color: var(--primary); font-weight: 600; font-size: 0.9rem; }

/* --- FORMS (Membership) --- */
.form-section { background: #151515; padding: 30px; border-radius: 10px; margin-bottom: 30px; border: 1px solid #333; }
.form-title { color: var(--primary); border-bottom: 1px solid #333; padding-bottom: 15px; margin-bottom: 25px; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.form-group label { display: block; color: #888; margin-bottom: 8px; font-size: 0.85rem; }
.form-control { width: 100%; padding: 12px; background: #0a0a0a; border: 1px solid #333; color: white; border-radius: 5px; transition: 0.3s; }
.form-control:focus { border-color: var(--primary); outline: none; }
.full-width { grid-column: 1 / -1; }

/* --- CALENDAR --- */
.calendar-wrapper { background: #151515; border-radius: 10px; overflow: hidden; margin-bottom: 80px; }
.calendar-header { background: var(--primary); padding: 20px; display: flex; justify-content: space-between; align-items: center; color: black; font-weight: 800; }
.month-nav { cursor: pointer; padding: 10px; background: rgba(255,255,255,0.2); border-radius: 5px; }
.event-item { display: flex; gap: 20px; padding: 25px; border-bottom: 1px solid #333; transition: 0.3s; }
.event-item:hover { background: #222; border-left: 5px solid var(--primary); }
.event-day { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; display: block; text-align: center; }
.event-month { font-size: 0.8rem; text-transform: uppercase; color: #777; display: block; text-align: center; }

/* --- FOOTER --- */
footer { background: #050505; padding: 60px 0; border-top: 1px solid #222; text-align: center; color: #666; font-size: 0.9rem; }

/* --- ANIMATIONS --- */
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* --- MOBILE --- */
.menu-toggle { display: none; font-size: 1.5rem; color: white; cursor: pointer; }
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    nav { position: absolute; top: 80px; left: 0; width: 100%; background: #111; flex-direction: column; padding: 20px 0; display: none; }
    nav.active { display: flex; }
    #nav-marker { display: none; }
    .hero-content h1 { font-size: 2.5rem; }
    .mission-section { margin-top: 0; padding-top: 50px; }
}