:root {
    --primary-color: #4CAF50;
    --secondary-color: #2c3e50;
    --accent-color: #45a049;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    font-family: 'Modern No. 20', serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('../images/Theyyam.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #f1f1f1;
    min-height: 100vh;
}

/* Navigation Links */
.nav-links a {
    color: #000000; /* Black */
    text-decoration: none;
    font-weight: 500;
}

.nav-links a.active {
    color: var(--primary-color); /* Green for active link */
}

/* Search Icon */
.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    cursor: pointer;
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.search-suggestions.active {
    display: block;
}

.suggestion-item {
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #eee;
    color: var(--secondary-color);
}

.suggestion-item:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 60vh;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* Events Container */
.events-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Event Card */
.event-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .event-card {
        flex-direction: row;
    }
}

.event-image {
    flex: 1;
    min-height: 300px;
    background-size: cover;
    background-position: center;
}

.event-content {
    flex: 2;
    padding: 2rem;
}

.event-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.event-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.event-description {
    color: #000000; /* Black */
    margin-bottom: 1.5rem;
}

.event-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    color: #000000; /* Black */
}

.event-details p,
.event-details li {
    color: #000000; /* Black */
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-item i {
    color: var(--primary-color);
}

.event-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-secondary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}