:root {
    --primary: #FF9933; /* Saffron / Bhagwa */
    --primary-dark: #cc7a29;
    --secondary: #D4AF37; /* Metallic Golden */
    --bg-dark: #FDFBF7;
    --bg-darker: #F4EFE6;
    --text-light: #2A2A2A;
    --text-muted: #5C5C5C;
    --white: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.logo-icon {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 153, 51, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--secondary);
    color: var(--bg-dark);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
    background: linear-gradient(to bottom, rgba(253, 251, 247, 0.85), rgba(253, 251, 247, 1)),
                url('hero_bg.png') center/cover;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.3s;
}

.hero-subtitle {
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Page Sections (General) */
.page-section {
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 200px);
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 3rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Pricing Cards */
.pricing-card {
    background-color: var(--bg-darker);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(255, 153, 51, 0.15);
    position: relative;
}

.pricing-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h4 {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.pricing-card .features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card .features li {
    padding: 0.75rem 0;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-card .features li::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
}

.service-card {
    background-color: var(--bg-darker);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(255, 153, 51, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-card p {
    color: var(--text-muted);
    flex-grow: 1;
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links h4, .footer-contact h4 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

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

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.875rem;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: rgba(253, 251, 247, 0.98);
        padding: 1.5rem 0;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        align-items: stretch;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-link {
        padding: 1rem 2rem;
        width: 100%;
        text-align: left;
    }
    .nav-links .btn-primary {
        margin: 1rem 2rem;
        text-align: center;
        width: calc(100% - 4rem);
    }
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: var(--primary);
        font-size: 1.8rem;
    }
    .hero {
        padding: 7rem 1rem 3rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .page-section {
        padding: 6rem 1rem 3rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .chat-widget {
        width: calc(100% - 2rem);
        right: 1rem;
        bottom: 5.5rem;
    }
    .chat-toggle-btn {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .panchang-grid {
        grid-template-columns: 1fr;
    }
    .p-time {
        font-size: 2.2rem;
    }
}

/* Panchang Components */
.panchang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.panchang-widget {
    background-color: var(--bg-darker);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.panchang-widget:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.panchang-widget h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 1rem;
}

.panchang-widget h3 i {
    color: var(--primary);
}

.p-time {
    font-family: var(--font-body);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.p-data-list .p-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.p-data-list .p-row:last-child {
    border-bottom: none;
}

.p-data-list .p-row span {
    color: var(--text-muted);
}

.p-data-list .p-row strong {
    color: var(--text-light);
    text-align: right;
}

.p-highlight-box {
    background: rgba(255, 153, 51, 0.1);
    border: 1px solid var(--secondary);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.p-label {
    display: block;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.p-value {
    font-size: 1.5rem;
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 700;
}

.p-alert-list {
    list-style: none;
    margin-bottom: auto;
}

.p-alert-list li {
    background: var(--bg-dark);
    margin-bottom: 0.75rem;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid var(--secondary);
    font-size: 0.95rem;
    color: var(--text-light);
}

.p-alert-list li .date {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-right: 0.5rem;
    margin-bottom: 6px;
}

/* Chat Widget */
.chat-toggle-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    font-size: 1.5rem;
    border: none;
    box-shadow: 0 4px 20px rgba(255, 153, 51, 0.4);
    cursor: pointer;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
}

.chat-widget {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 320px;
    background-color: var(--bg-dark);
    border: 1px solid var(--secondary);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 9998;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-widget.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chat-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin: 0;
}

.chat-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
}

.chat-body {
    padding: 1.5rem;
    background-color: var(--bg-darker);
}

.chat-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.chat-input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 153, 51, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 6px;
    color: var(--text-light);
    font-family: var(--font-body);
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary);
}
