/*
 * Sri Krishna Garden Temple - Custom Styles
 * South Indian Vaishnavite Temple Theme
 */

:root {
    --primary-color: #8B0000;
    /* Deep Maroon - Temple Red */
    --secondary-color: #DAA520;
    /* Golden */
    --accent-color: #FF6B00;
    /* Saffron/Orange */
    --dark-color: #1a0a0a;
    --light-color: #FFF8E7;
    /* Cream */
    --text-color: #333;
    --border-gold: #C9A227;
    --gradient-temple: linear-gradient(135deg, #8B0000 0%, #5c0000 100%);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--light-color);
    line-height: 1.6;
}

.kannada-text {
    font-family: 'Tiro Devanagari Sanskrit', serif;
    font-size: 1.1em;
}

/* Top Bar */
.top-bar {
    background: var(--dark-color);
    color: #fff;
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar a {
    color: var(--secondary-color);
    text-decoration: none;
}

.top-bar .kannada-text {
    color: var(--secondary-color);
}

/* Navbar */
.navbar {
    background: var(--gradient-temple) !important;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.brand-deity-img {
    height: 50px;
    width: auto;
    border-radius: 5px;
    object-fit: cover;
    object-position: top;
    /* clip-path: inset(0 0 75% 0); */
    /* height: 120px; */
    margin-top: -35px;
    margin-bottom: -35px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    /* line-height: 1.2; */
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.brand-name-kannada {
    font-size: 0.85rem;
    color: #fff;
    font-family: 'Tiro Devanagari Sanskrit', serif;
}

.navbar-nav .nav-link {
    color: #fff !important;
    padding: 0.8rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 0 2px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: rgba(218, 165, 32, 0.3);
    color: var(--secondary-color) !important;
}

.btn-donate {
    background: var(--secondary-color) !important;
    color: var(--dark-color) !important;
    font-weight: 600 !important;
    border-radius: 25px !important;
    padding: 0.5rem 1.2rem !important;
}

.btn-donate:hover {
    background: #fff !important;
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    background: linear-gradient(rgba(139, 0, 0, 0.85), rgba(26, 10, 10, 0.9)),
        url('../img/WhatsApp Image 2025-12-29 at 10.29.56 PM.jpeg') center/cover;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23DAA520" opacity="0.1"/></svg>') repeat;
    background-size: 30px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-section .kannada-text {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

/* Inauguration Banner */
.inauguration-banner {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color), var(--secondary-color));
    color: var(--dark-color);
    padding: 15px;
    text-align: center;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.9;
    }
}

.inauguration-banner h4 {
    margin: 0;
    font-weight: 700;
}

.inauguration-banner .kannada-text {
    font-size: 1.2rem;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

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

.section-title .kannada-text {
    display: block;
    color: var(--accent-color);
    margin-top: 10px;
}

/* Temple Image Card */
.temple-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--border-gold);
}

.temple-card img {
    width: 100%;
    height: auto;
}

.temple-card-body {
    padding: 25px;
}

/* Feature Cards */
.feature-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 4px solid var(--secondary-color);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Seva Cards */
.seva-card {
    background: linear-gradient(135deg, #fff 0%, var(--light-color) 100%);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.seva-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateX(5px);
}

.seva-card h5 {
    color: var(--primary-color);
    font-weight: 600;
}

.seva-card .price {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 700;
}

.seva-card .kannada-text {
    color: #666;
    font-size: 0.95rem;
}

/* Gallery */
.gallery-section {
    background: var(--dark-color);
    color: #fff;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay i {
    font-size: 2rem;
    color: var(--secondary-color);
}

/* Invitation Section */
.invitation-section {
    background: linear-gradient(135deg, var(--light-color) 0%, #fff 100%);
}

.invitation-card {
    border: 5px solid var(--secondary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.invitation-card img {
    width: 100%;
    height: auto;
}

/* Bank Details Card */
.bank-card {
    background: linear-gradient(135deg, var(--primary-color), #5c0000);
    color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bank-card h4 {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.bank-card .detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.bank-card .detail-row:last-child {
    border-bottom: none;
}

.bank-card .label {
    color: rgba(255, 255, 255, 0.8);
}

.bank-card .value {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Timings Table */
.timings-table {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.timings-table th {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px;
}

.timings-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.timings-table tr:hover {
    background: var(--light-color);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, #2a1a1a 100%);
    color: #fff;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(218, 165, 32, 0.3);
    height: 100%;
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-card h5 {
    color: var(--secondary-color);
}

/* Buttons */
.btn-temple {
    background: var(--gradient-temple);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-temple:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: #fff;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: #ccc;
}

.footer-top {
    padding: 60px 0 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h5 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.timing-list {
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
}

.timing-list li {
    margin-bottom: 5px;
}

.trust-info {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 3px solid var(--secondary-color);
}

.footer-bottom {
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.3);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--secondary-color);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Page Header */
.page-header {
    background: var(--gradient-temple);
    color: #fff;
    padding: 25px 0;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23DAA520" opacity="0.1"/></svg>') repeat;
    background-size: 30px;
}

.page-header h1 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.page-header .kannada-text {
    color: #fff;
    position: relative;
    z-index: 1;
}

/* Under Construction Banner */
.construction-banner {
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    color: var(--dark-color);
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

/* Event Cards */
.event-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.event-card .event-date {
    background: var(--primary-color);
    color: #fff;
    padding: 20px;
    text-align: center;
}

.event-card .event-date .day {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.event-card .event-date .month {
    text-transform: uppercase;
    font-weight: 600;
}

.event-card .event-body {
    padding: 25px;
}

.event-card h4 {
    color: var(--primary-color);
}

/* Om Symbol Decoration */
.om-decoration {
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.3;
}

/* Responsive */
@media (max-width: 991px) {
    .brand-deity-img {
        height: 36px;
        margin-top: -15px;
        margin-bottom: -15px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-name-kannada {
        font-size: 0.95rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .top-bar {
        display: none;
    }

    .hero-section {
        min-height: 500px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .footer,
    .back-to-top {
        display: none;
    }
}

table {
    border: 1px solid #000;
}

td {
    border: 1px solid #000;
    vertical-align: middle;
}

@media (max-width: 767px) {
    td {
        font-size: 12px;
    }
    .kannada-text {
        font-size: 25px;
    }
}