/*
Theme Name: BKK Brindavana Kannada Koota
Theme URI: https://bkkbrindavana.org
Description: Custom WordPress theme for BKK Brindavana Kannada Koota, Columbus, OH. Features Karnataka flag colors (red and yellow), WooCommerce integration, event management, social media feeds, and Kannada language support.
Version: 1.0.0
Author: BKK Brindavana
Author URI: https://bkkbrindavana.org
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bkk-brindavana
Tags: kannada, cultural, community, events, ecommerce, donations
*/

/* ====================================
   CSS Variables - Karnataka Flag Colors
   ==================================== */
:root {
    --primary-red: #DC143C;        /* Karnataka flag red */
    --primary-yellow: #FFD700;      /* Karnataka flag yellow */
    --dark-red: #B91429;
    --light-red: #FF6B6B;
    --dark-yellow: #FFC700;
    --light-yellow: #FFE566;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --white: #FFFFFF;
    --light-bg: #FFF9E6;
    --border-color: #E0E0E0;
    --success: #27AE60;
    --info: #3498DB;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

@font-face {
    font-family: 'Noto Sans Kannada';
    src: local('Noto Sans Kannada');
    font-display: swap;
}

body {
    font-family: 'Noto Sans', 'Noto Sans Kannada', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
    background-color: var(--white);
}

.kannada-text {
    font-family: 'Noto Sans Kannada', 'Noto Sans', Arial, sans-serif;
    font-size: 1.1em;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--dark-red);
}

/* ====================================
   Container & Layout
   ==================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.wide-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====================================
   Header Styles
   ==================================== */
.site-header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 50%, var(--primary-yellow) 100%);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--text-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9em;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-yellow);
    transform: scale(1.1);
}

.header-main {
    background: var(--white);
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-logo img {
    max-height: 80px;
    width: auto;
}

.site-title-wrapper h1 {
    color: var(--primary-red);
    font-size: 2em;
    margin-bottom: 5px;
    font-weight: 700;
}

.site-description {
    color: var(--text-light);
    font-size: 0.9em;
}

.header-cta {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

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

.btn-primary:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
}

.btn-secondary {
    background: var(--primary-yellow);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--dark-yellow);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* ====================================
   Navigation Menu
   ==================================== */
.main-navigation {
    background: var(--white);
    border-bottom: 3px solid var(--primary-yellow);
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 15px 20px;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95em;
    transition: all 0.3s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
    background: var(--primary-red);
    color: var(--white);
}

/* Dropdown Menu */
.nav-menu li {
    position: relative;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 250px;
    list-style: none;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.sub-menu li a:hover {
    background: var(--light-bg);
    color: var(--primary-red);
    padding-left: 30px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 10px 15px;
    font-size: 1.5em;
    cursor: pointer;
}

/* ====================================
   Banner / Hero Section
   ==================================== */
.hero-banner {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.7) 0%, rgba(255, 215, 0, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 40px;
}

.hero-content h2 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Karnataka Flag Decoration */
.flag-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-red) 50%, var(--primary-yellow) 50%);
    opacity: 0.3;
}

/* ====================================
   Content Sections
   ==================================== */
.content-section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5em;
    color: var(--primary-red);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-yellow);
}

.section-description {
    color: var(--text-light);
    font-size: 1.1em;
    max-width: 700px;
    margin: 20px auto 0;
}

/* ====================================
   Grid Layouts
   ==================================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-title {
    color: var(--primary-red);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.card-text {
    color: var(--text-light);
    margin-bottom: 15px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
    color: var(--text-light);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

/* ====================================
   Events Section
   ==================================== */
.event-item {
    display: flex;
    gap: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.event-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.2);
}

.event-date {
    background: var(--primary-red);
    color: var(--white);
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    min-width: 80px;
}

.event-date .day {
    font-size: 2em;
    font-weight: 700;
    display: block;
}

.event-date .month {
    font-size: 1em;
    text-transform: uppercase;
}

.event-details {
    flex: 1;
}

.event-title {
    color: var(--primary-red);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.event-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 0.9em;
}

.event-description {
    color: var(--text-dark);
    line-height: 1.6;
}

/* ====================================
   Sponsors Section
   ==================================== */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.sponsor-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sponsor-item:hover {
    border-color: var(--primary-yellow);
    transform: scale(1.05);
}

.sponsor-logo {
    max-height: 100px;
    margin: 0 auto 15px;
}

.sponsor-name {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1em;
}

/* ====================================
   Newsletter Section
   ==================================== */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-yellow) 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.newsletter-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.newsletter-form {
    max-width: 600px;
    margin: 30px auto 0;
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
}

.newsletter-submit {
    background: var(--text-dark);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-submit:hover {
    background: var(--white);
    color: var(--primary-red);
}

/* ====================================
   Footer
   ==================================== */
.site-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: var(--primary-yellow);
    margin-bottom: 20px;
    font-size: 1.3em;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: #BDC3C7;
    transition: all 0.3s ease;
}

.footer-widget ul li a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: #BDC3C7;
}

/* ====================================
   WooCommerce Styles
   ==================================== */
.woocommerce-page .products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.woocommerce ul.products li.product {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.woocommerce ul.products li.product .price {
    color: var(--primary-red);
    font-size: 1.3em;
    font-weight: 700;
}

.woocommerce ul.products li.product .button {
    background: var(--primary-yellow);
    color: var(--text-dark);
    font-weight: 600;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--primary-red);
    color: var(--white);
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu > li > a {
        border-bottom: 1px solid var(--border-color);
    }
    
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-bg);
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .hero-content h2 {
        font-size: 2em;
    }
    
    .section-title {
        font-size: 1.8em;
    }
    
    .event-item {
        flex-direction: column;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .header-cta {
        flex-direction: column;
    }
}

/* ====================================
   Utility Classes
   ==================================== */
.text-center {
    text-align: center;
}

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

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.bg-light {
    background-color: var(--light-bg);
}

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

.bg-yellow {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
}

//footer menu
/* FORCE footer menu horizontal */
.footer-menu ul,
.footer-menu-list {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  align-items: center;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Individual menu items */
.footer-menu li {
  display: inline-flex !important;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
}

/* Divider between links */
.footer-menu li:not(:last-child)::after {
  content: "|";
  margin: 0 14px;
  color: #999;
  font-weight: 400;
}

/* Footer links */
.footer-menu a {
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

/* Mobile wrap */
@media (max-width: 768px) {
  .footer-menu ul {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  /* Remove divider on wrapped lines */
  .footer-menu li::after {
    content: "";
    margin: 0;
  }
}
footer nav ul {
  display: flex !important;
  flex-direction: row !important;
}

/* Event card on main page */
/* Home: Upcoming single event block */
.bkk-home-upcoming-one { margin: 22px 0 0; }
.bkk-home-upcoming-inner { padding-top: 10px; }
.bkk-home-upcoming-title { text-align: center; margin: 0 0 14px; }
.bkk-home-upcoming-empty { text-align:center; opacity:.8; }

/* Force 1-column grid + center card */
.bkk-home-upcoming-one .bkk-events-grid{
  grid-template-columns: 1fr !important;
  justify-items: center;
}

.bkk-home-upcoming-one .bkk-event-card{
  width: 100%;
  max-width: 760px;
}

/* Align the event card horizontal */
/* ===== Home: Horizontal Upcoming Event Card ===== */

/* Force single column + center */
.bkk-home-upcoming-one .bkk-events-grid{
  grid-template-columns: 1fr !important;
  justify-items: center;
}

/* Make the card horizontal */
.bkk-home-upcoming-one .bkk-event-card{
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  width: 100%;
  max-width: 960px;
  align-items: stretch;
}

/* Image column */
.bkk-home-upcoming-one .bkk-event-img{
  height: 100%;
}
.bkk-home-upcoming-one .bkk-event-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Content column */
.bkk-home-upcoming-one .bkk-event-body{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Buttons align left (not full width) */
.bkk-home-upcoming-one .bkk-event-actions{
  justify-content: flex-start;
}

/* Mobile: stack vertically */
@media (max-width: 768px){
  .bkk-home-upcoming-one .bkk-event-card{
    grid-template-columns: 1fr;
  }
}


