/* --- Global Reset & Variables --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #f39c12; /* Gold / Saffron */
    --secondary-color: #d35400; /* Deep Saffron accent */
    --dark-bg: #1a1a1a; /* Dark Charcoal */
    --light-bg: #f9f9f9;
    --text-color: #333;
    --white: #ffffff;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}


.blink {animation: blinker 2s linear infinite;}
@keyframes blinker {50% {opacity: 0;}}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Announcement Bar --- */
.announcement-bar {
    background: linear-gradient(90deg, var(--secondary-color), #c0392b);
    color: var(--white);
    text-align: center;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: bold;
}
.announcement-bar a {
    color: var(--primary-color);
    text-decoration: underline;
    margin-left: 5px;
}

/* --- Header & Navigation --- */
header {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-placeholder {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    font-weight: 900;
    font-size: 1.5rem;
    padding: 10px;
    border-radius: 5px;
    letter-spacing: 1px;
}

.logo-text h1 {
    font-size: 1.3rem;
    letter-spacing: 1px;
    color: var(--white);
}

.logo-text p {
    font-size: 0.75rem;
    color: #bbb;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: #ddd;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    background: url('https://images.unsplash.com/photo-1517838277536-f5f99be501cd?q=80&w=1200') no-repeat center center/cover;
    height: 70vh;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #ccc;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    margin-right: 15px;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark-bg);
}

/* --- Pillars Section --- */
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: -50px;
    position: relative;
    z-index: 20;
    margin-bottom: 60px;
}

.pillar-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.pillar-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.pillar-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

/* --- Technical Rule Highlight --- */
.rule-highlight {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.rule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tag {
    background-color: #e67e22;
    color: var(--white);
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 3px;
    text-transform: uppercase;
}

.rule-text h2 {
    font-size: 2.5rem;
    margin: 15px 0 20px 0;
    font-weight: 800;
}

.rule-item {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.rule-item i {
    font-size: 1.5rem;
    color: #27ae60;
    margin-top: 3px;
}

.rule-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.rule-image {
    background-color: #2c3e50;
    height: 350px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.2);
    border: 8px solid #eee;
}

.image-box {
    text-align: center;
}

.image-box i {
    font-size: 5rem;
    display: block;
    margin-bottom: 10px;
}

/* --- Events Section --- */
.events-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 0 auto;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    border: 1px solid #e0e0e0;
    padding: 25px;
    border-radius: 6px;
    position: relative;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.event-date {
    background-color: var(--dark-bg);
    color: var(--primary-color);
    display: inline-block;
    padding: 3px 10px;
    font-weight: bold;
    font-size: 0.8rem;
    border-radius: 3px;
    margin-bottom: 15px;
}

.event-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.event-card p i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.event-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

/* --- Footer --- */
footer {
    background-color: var(--dark-bg);
    color: #ccc;
    padding: 60px 0 20px 0;
    border-top: 5px solid var(--secondary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

footer h3, footer h4 {
    color: var(--white);
    margin-bottom: 15px;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

footer ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.85rem;
}

/* Responsive adjustments */
@media(max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .rule-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h2 {
        font-size: 2rem;
    }
}