/*
Theme Name: Kannagi Kalayalam
Theme URI: https://kannagikalalayam.com
Author: Antigravity
Author URI: https://kannagikalalayam.com
Description: A custom WordPress theme for Kannagi Kalayalam, featuring a professional cultural design inspired by tamilculturewaterloo.org.
Version: 1.0.0
Text Domain: kannagi-kalayalam
*/

:root {
    --primary-black: #000000;
    --primary-gold: #ECC811;
    --primary-red: #D6241E;
    --text-white: #FFFFFF;
    --text-dark: #333333;
    --bg-light: #F9F9F9;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--text-white);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    border: none;
}

.btn-gold {
    background-color: var(--primary-gold);
    color: var(--primary-black);
}

.btn-gold:hover {
    background-color: #d4b20e;
}

.btn-red {
    background-color: var(--primary-red);
    color: var(--text-white);
}

.btn-red:hover {
    background-color: #b01b16;
}

.section-padding {
    padding: 60px 0;
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--primary-gold);
}

.bg-black {
    background-color: var(--primary-black);
    color: var(--text-white);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 20px;
}

h2.section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

h2.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-gold);
    margin: 10px auto 0;
}

/* Header */
.site-header {
    background-color: var(--primary-black);
    color: var(--text-white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-gold);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo img {
    max-height: 50px;
    /* Make logo small as requested */
    width: auto;
}

.main-navigation ul {
    display: flex;
    gap: 25px;
}

.main-navigation a {
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.main-navigation a:hover {
    color: var(--primary-gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Featured Grid / Welcome */
.welcome-section {
    background-color: var(--bg-light);
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.image-collage {
    position: relative;
    height: 400px;
}

.image-collage img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Events List */
.event-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 5px solid var(--primary-gold);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.event-item:hover {
    transform: translateX(5px);
}

.event-date {
    background: var(--primary-black);
    color: var(--primary-gold);
    padding: 10px 15px;
    text-align: center;
    border-radius: 4px;
    min-width: 80px;
}

.event-day {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
}

.event-month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Community Hub Grid */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.hub-card {
    background: white;
    padding: 30px;
    text-align: center;
    border: 1px solid #eee;
    transition: 0.3s;
}

.hub-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-gold);
}

.hub-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

/* Footer */
.site-footer {
    background-color: var(--primary-black);
    color: #aaa;
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    color: var(--text-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.copyright {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .header-inner {
        flex-direction: column;
        gap: 15px;
    }

    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}