/* Base Variables */
:root {
    --bg-sand: #e6d3c0;
    --primary-red: #8b1317;
    --accent-red: #ab1d22;
    --text-dark: #2c1a1a;
    --text-light: #fff5e6;
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(139, 19, 23, 0.15);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-sand);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Global Background Gradient / Noise */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.4) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1, h2, h3, .logo-text {
    font-family: var(--font-heading);
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--primary-red);
}

h1 span {
    color: var(--accent-red);
}

h2.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
}

h2.section-title span {
    color: var(--primary-red);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(230, 211, 192, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 1rem 5%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-icon {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-red);
}

.logo-text span {
    font-weight: 300;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Glassmorphism Utility */
.card-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(139, 19, 23, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #444;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-red);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 19, 23, 0.3);
}

.cta-btn:hover {
    background: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 19, 23, 0.4);
}

/* Abstract Hero Graphics */
.hero-graphic {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: nowrap;
}

.title-wrapper h1 {
    margin-bottom: 0;
    flex-shrink: 1;
}

.title-icon {
    width: 250px;
    height: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 8px 15px rgba(139, 19, 23, 0.2));
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.8;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-red);
    top: 10%;
    left: 20%;
    animation: float 6s ease-in-out infinite;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: #ff5e62;
    bottom: 20%;
    right: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

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

/* Timeline Section */
.timeline-section {
    padding: 6rem 5%;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--primary-red);
    transform: translateX(-50%);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    width: 100%;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: white;
    border: 4px solid var(--primary-red);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.timeline-date {
    width: 45%;
    text-align: right;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-red);
}

.timeline-item:nth-child(even) .timeline-date {
    text-align: left;
}

.timeline-content {
    width: 45%;
}

.timeline-content h3 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

/* Location Section */
.location-section {
    padding: 6rem 5%;
    background: rgba(139, 19, 23, 0.03);
}

.location-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.location-info {
    flex: 1;
}

.location-info .section-title {
    text-align: left;
}

.location-name {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #444;
}

.map-pin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-red);
    font-weight: 600;
    margin-top: 1rem;
}

.location-map {
    flex: 1;
    height: 400px;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    padding: 0; /* Override glass padding for iframe */
}

/* Proker Section */
.proker-section {
    padding: 6rem 5%;
}

.proker-container {
    max-width: 800px;
    margin: 0 auto;
}

.tba-text {
    font-size: 2rem;
    color: #555;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

/* Philosophy Section */
.philosophy-section {
    padding: 6rem 5%;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

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

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(139, 19, 23, 0.2);
}

.philosophy-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-red);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: rgba(139, 19, 23, 0.05);
    color: #666;
    font-size: 0.9rem;
}

/* Utilities for JS Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    
    .hero {
        padding-top: 120px;
        align-items: flex-start;
    }
    
    .hero-graphic { opacity: 0.15; width: 300px; height: 300px; top: 20%; right: -20%; }
    
    .title-wrapper {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .title-icon {
        width: 120px;
    }
    
    .nav-links { display: none; }
    
    .timeline-container::before {
        left: 20px;
    }
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 50px;
    }
    .timeline-item::after {
        left: 20px;
    }
    .timeline-date, .timeline-content {
        width: 100%;
        text-align: left !important;
    }
    .timeline-date {
        margin-bottom: 0.5rem;
    }
    
    .location-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
}
