/* ===== AyodhyaShri Tools - Brand Styles ===== */
/* Colors based on ayodhyashri.com brand */
:root {
    --primary: #E65100;
    --primary-dark: #BF360C;
    --primary-light: #FF9800;
    --secondary: #2E7D32;
    --accent: #F57F17;
    --gold: #D4A017;
    --bg-cream: #FFFBEF;
    --bg-light: #FFF8E1;
    --text-dark: #1A1A1A;
    --text-body: #333333;
    --text-muted: #666666;
    --white: #FFFFFF;
    --border: #E8E0D0;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 5px 30px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 16px;
    --font-body: 'Hind', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --max-width: 1200px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--bg-cream);
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
}
.whatsapp-float:hover { background: #128C7E; color: white; transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.6); }
@keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); } 70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ===== Header ===== */
.header-top {
    background: var(--primary-dark);
    color: var(--white);
    font-size: 13px;
    padding: 6px 0;
}
.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.header-info span { margin-right: 20px; }
.header-info a { color: var(--white); }
.header-info i { margin-right: 5px; }
.header-social a {
    color: var(--white);
    margin-left: 12px;
    font-size: 15px;
    opacity: 0.85;
}
.header-social a:hover { opacity: 1; }

.header-main {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-main-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}
.site-logo img { max-height: 50px; }
.nav-list {
    list-style: none;
    display: flex;
    gap: 8px;
}
.nav-list li a {
    display: block;
    padding: 8px 16px;
    color: var(--text-dark);
    font-weight: 500;
    border-radius: var(--radius);
    font-size: 15px;
}
.nav-list li a:hover, .nav-list li a.active { background: var(--bg-light); color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--text-dark); cursor: pointer; }

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #4A148C 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '\1F549';
    position: absolute;
    font-size: 120px;
    opacity: 0.08;
    top: -20px;
    right: 10%;
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.5em;
    margin-bottom: 15px;
    line-height: 1.2;
}
.hero p {
    font-size: 1.15em;
    max-width: 700px;
    margin: 0 auto 25px;
    opacity: 0.9;
    line-height: 1.6;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}
.hero-stat { text-align: center; }
.hero-stat-num {
    display: block;
    font-size: 1.8em;
    font-weight: 700;
    font-family: var(--font-heading);
}
.hero-stat-label { font-size: 0.85em; opacity: 0.8; }

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}
.btn-primary { background: var(--white); color: var(--primary); }
.btn-primary:hover { background: var(--primary-light); color: var(--white); }
.btn-secondary { background: var(--secondary); color: var(--white); }
.btn-secondary:hover { background: #1B5E20; }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #B8860B; }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #128C7E; color: var(--white); }
.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-lg { padding: 16px 40px; font-size: 17px; }

/* ===== Sections ===== */
.section { padding: 60px 0; }
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2em;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.section-title p {
    color: var(--text-muted);
    font-size: 1.05em;
    max-width: 600px;
    margin: 0 auto;
}
.section-title .divider {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 12px auto;
    border-radius: 3px;
}

/* ===== Festival Cards Grid ===== */
.festival-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 25px;
}
.festival-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}
.festival-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.festival-card-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    color: rgba(255,255,255,0.9);
    position: relative;
    overflow: hidden;
}
.festival-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.festival-card-img .img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-family: var(--font-heading);
    font-size: 2em;
}
.festival-card-body { padding: 25px; }
.festival-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.3em;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.festival-card-body h3 a { color: var(--text-dark); }
.festival-card-body h3 a:hover { color: var(--primary); }
.festival-card-body .deity {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9em;
    margin-bottom: 10px;
}
.festival-card-body p {
    color: var(--text-muted);
    font-size: 0.95em;
    margin-bottom: 15px;
    line-height: 1.5;
}
.festival-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}
.festival-card-footer .date-info {
    font-size: 0.85em;
    color: var(--text-muted);
}

/* ===== Festival Detail Page ===== */
.festival-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
}
.festival-hero h1 { font-family: var(--font-heading); font-size: 2.5em; margin-bottom: 10px; }
.festival-hero .deity-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.95em;
    margin-bottom: 15px;
}
.festival-hero p { max-width: 650px; margin: 0 auto 20px; opacity: 0.9; }
.festival-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* Tabs */
.tabs { margin: 30px 0; }
.tab-nav {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; padding: 30px 0; }
.tab-content.active { display: block; }

/* Steps */
.steps-list { counter-reset: step-counter; list-style: none; }
.step-item {
    position: relative;
    padding: 20px 20px 20px 65px;
    margin-bottom: 15px;
    background: var(--white);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow);
}
.step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 15px;
    top: 20px;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}
.step-item h4 { font-size: 1.05em; color: var(--text-dark); margin-bottom: 5px; }
.step-item p { color: var(--text-muted); font-size: 0.92em; }

/* Items Checklist */
.items-checklist { list-style: none; }
.item-row {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: var(--white);
    margin-bottom: 8px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.item-row:hover { border-color: var(--primary); }
.item-check { margin-right: 15px; width: 20px; height: 20px; accent-color: var(--secondary); cursor: pointer; }
.item-name { flex: 1; font-weight: 500; }
.item-name a { color: var(--text-dark); }
.item-name a:hover { color: var(--primary); }
.item-qty { color: var(--text-muted); font-size: 0.9em; margin-right: 15px; min-width: 80px; text-align: right; }
.item-link {
    background: var(--primary);
    color: white;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.item-link:hover { background: var(--primary-dark); color: white; }

/* Mantra */
.mantra-box {
    background: linear-gradient(135deg, var(--bg-light), #FFF3E0);
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    margin: 20px 0;
}
.mantra-box .mantra-sanskrit {
    font-size: 1.5em;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 10px;
}
.mantra-box .mantra-meaning { color: var(--text-muted); font-style: italic; }

/* Tips */
.tips-list { list-style: none; }
.tip-item {
    padding: 14px 18px 14px 45px;
    background: var(--white);
    margin-bottom: 10px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
}
.tip-item::before {
    content: '\f0eb';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 16px;
    top: 14px;
    color: var(--gold);
}
.tip-item p { color: var(--text-muted); font-size: 0.95em; }

/* FAQs */
.faq-list { list-style: none; }
.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
}
.faq-question {
    padding: 16px 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
    transition: all 0.3s;
}
.faq-question:hover { background: var(--bg-light); }
.faq-question .faq-icon { transition: transform 0.3s; font-size: 14px; color: var(--primary); }
.faq-question.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-muted);
    font-size: 0.95em;
}
.faq-answer.open { padding: 0 20px 16px; max-height: 500px; }

/* ===== Panchang Page ===== */
.panchang-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--gold);
}
.panchang-card h2 {
    font-family: var(--font-heading);
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-dark);
}
.panchang-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.panchang-row:last-child { border-bottom: none; }
.panchang-label { color: var(--text-muted); font-weight: 500; }
.panchang-value { color: var(--text-dark); font-weight: 600; }
.panchang-warning {
    background: #FFF3E0;
    border: 1px solid #FFCC80;
    border-radius: var(--radius);
    padding: 12px 18px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.panchang-warning i { color: var(--accent); font-size: 1.2em; }

/* ===== Share Bar ===== */
.share-bar {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin: 20px 0;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--radius);
}
.share-bar span { font-weight: 600; color: var(--text-muted); margin-right: 5px; }
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
}
.share-btn-wa { background: #25D366; }
.share-btn-wa:hover { background: #128C7E; }
.share-btn-fb { background: #1877F2; }
.share-btn-fb:hover { background: #0D5AB5; }
.share-btn-twitter { background: #1DA1F2; }
.share-btn-twitter:hover { background: #0C85D0; }
.share-btn-copy { background: var(--text-muted); }
.share-btn-copy:hover { background: var(--text-dark); }

/* ===== CTAs ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
    padding: 50px 20px;
    border-radius: var(--radius-lg);
    margin: 40px 0;
}
.cta-section h3 { font-family: var(--font-heading); font-size: 1.8em; margin-bottom: 12px; }
.cta-section p { font-size: 1.05em; opacity: 0.9; margin-bottom: 25px; }
.cta-section .btn { margin: 4px; }

/* ===== Footer ===== */
.site-footer {
    background: #1A1A1A;
    color: #CCCCCC;
    padding-top: 50px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-col h4 {
    color: var(--white);
    font-family: var(--font-heading);
    margin-bottom: 18px;
    font-size: 1.1em;
}
.footer-brand img { margin-bottom: 15px; }
.footer-brand p { font-size: 0.9em; line-height: 1.6; color: #999; }
.footer-social { margin-top: 15px; }
.footer-social a {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #CCC;
    text-align: center;
    line-height: 36px;
    margin: 0 4px;
    transition: all 0.3s;
}
.footer-social a:hover { background: var(--primary); color: white; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #999; font-size: 0.9em; }
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-col p { font-size: 0.9em; margin-bottom: 8px; color: #999; }
.footer-col p i { width: 20px; color: var(--primary-light); }
.footer-col p a { color: #999; }
.footer-col p a:hover { color: var(--primary-light); }
.footer-bottom {
    border-top: 1px solid #333;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85em;
    color: #777;
}
.footer-bottom a { color: #999; }
.footer-bottom a:hover { color: var(--primary-light); }

/* ===== Panchang Homepage Widget ===== */
.panchang-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    max-width: 500px;
    margin: 0 auto 30px;
}
.panchang-widget h3 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 15px;
}
.panchang-widget .panchang-row { padding: 8px 0; }
.panchang-widget .panchang-warning { font-size: 0.9em; }

/* ===== What We Offer Section ===== */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.offer-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.offer-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.offer-card i {
    font-size: 2.5em;
    color: var(--primary);
    margin-bottom: 15px;
}
.offer-card h4 { color: var(--text-dark); margin-bottom: 8px; }
.offer-card p { color: var(--text-muted); font-size: 0.9em; }

/* ===== Search ===== */
.search-box {
    max-width: 500px;
    margin: 0 auto 30px;
    position: relative;
}
.search-box input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 16px;
    font-family: var(--font-body);
    background: var(--white);
    transition: all 0.3s;
}
.search-box input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(230,81,0,0.1); }
.search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 10px 20px;
        box-shadow: var(--shadow-lg);
        z-index: 200;
    }
    .nav-list.open { display: flex; }
    .header-info span { display: none; }
    .header-info span:first-child { display: inline; }
    .hero h1 { font-size: 1.8em; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .festival-grid { grid-template-columns: 1fr; }
    .festival-hero h1 { font-size: 1.8em; }
    .tab-nav { gap: 0; }
    .tab-btn { padding: 10px 16px; font-size: 13px; }
    .item-row { flex-wrap: wrap; }
    .item-link { margin-top: 5px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .panchang-card { padding: 20px; }
    .section-title h2 { font-size: 1.5em; }
}

@media (max-width: 480px) {
    .hero { padding: 40px 0; }
    .hero h1 { font-size: 1.5em; }
    .festival-hero { padding: 30px 0; }
    .festival-hero h1 { font-size: 1.5em; }
    .festival-card-img { height: 160px; }
    .footer-grid { grid-template-columns: 1fr; }
}
