/*
Theme Name: Govigama
Theme URI: https://govigama.org/
Author: AI Assistant
Description: A premium, historical, and rich WordPress theme designed specifically for the Govigama community. Features elegant typography, deep colors, and modern animations.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: govigama
*/

:root {
    --primary-color: #4A1525; /* Deep Maroon / Royal Red */
    --secondary-color: #D4AF37; /* Rich Gold */
    --dark-bg: #111111;
    --light-bg: #F9F6F0; /* Warm off-white/parchment */
    --text-color: #333333;
    --text-light: #F9F6F0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lora', serif;
    --transition: all 0.3s ease;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* Header */
header.site-header {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 2rem 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    gap: 1.5rem;
}

.site-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.site-title a {
    color: var(--secondary-color);
}

nav.main-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
}

nav.main-navigation a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
}

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

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

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(rgba(17, 17, 17, 0.7), rgba(74, 21, 37, 0.8)), url('https://images.unsplash.com/photo-1596704017254-9b121068fb31?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 20px;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to top, var(--light-bg), transparent);
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1.5s ease;
}

.hero h1 {
    color: var(--secondary-color);
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-style: italic;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 1px;
    border: 2px solid var(--secondary-color);
}

.btn:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

/* Content Sections */
.section {
    padding: 5rem 10%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid var(--secondary-color);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

/* Standard Page */
.page-header {
    background: var(--primary-color);
    padding: 6rem 5% 4rem;
    text-align: center;
    color: var(--secondary-color);
}

.page-header h1 {
    color: var(--secondary-color);
    font-size: 3rem;
}

.page-content {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 20px;
    font-size: 1.1rem;
}

.page-content p {
    margin-bottom: 1.5rem;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

/* Footer */
footer.site-footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    text-align: center;
    padding: 3rem 5%;
    border-top: 5px solid var(--primary-color);
}

footer p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    nav.main-navigation ul {
        gap: 1rem;
        font-size: 0.9rem;
    }
}
