/* 
  Vedic Puja Service - Custom Styles
  Theme: Deep Saffron / Red
*/

:root {
    --primary-saffron: #FF9933;
    --deep-red: #D32F2F;
    --light-grey: #f8f9fa;
    --whatsapp-green: #25D366;
    --call-blue: #007bff;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: #fff !important;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: #444 !important;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--deep-red) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 100px 0;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slider .carousel-item {
    height: 80vh;
}

.hero-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.2);
}

.hero-content {
    z-index: 1;
}

.hero-form-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: #333;
}

/* Urgency Banner */
.urgency-banner {
    background: linear-gradient(45deg, var(--deep-red), var(--primary-saffron));
    color: #fff;
    padding: 15px 0;
    text-align: center;
    font-weight: 600;
}

#countdown {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.2rem;
    background: rgba(0,0,0,0.2);
    padding: 5px 15px;
    border-radius: 5px;
    margin-left: 10px;
}

/* Section Spacing */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--deep-red);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-saffron);
}

/* Puja Cards */
.puja-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
    height: 100%;
}

.puja-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.puja-card img {
    height: 200px;
    object-fit: cover;
}

.puja-card .card-body {
    padding: 25px;
}

.btn-book {
    background: linear-gradient(to right, #D32F2F, #FF5252);
    color: #fff;
    border: none;
    font-weight: 600;
}

.btn-book:hover {
    background: linear-gradient(to right, #B71C1C, #D32F2F);
    color: #fff;
}

.btn-details {
    border: 1px solid var(--deep-red);
    color: var(--deep-red);
    font-weight: 600;
}

.btn-details:hover {
    background: var(--deep-red);
    color: #fff;
}

/* Trust Badges */
.trust-badge {
    text-align: center;
    padding: 20px;
}

.trust-badge i {
    font-size: 3rem;
    color: var(--primary-saffron);
    margin-bottom: 15px;
}

/* Floating Buttons */
.floating-btn {
    position: fixed;
    bottom: 20px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.floating-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

.btn-whatsapp {
    left: 20px;
    background-color: var(--whatsapp-green);
}

.btn-call {
    right: 20px;
    background-color: var(--call-blue);
}

/* Popups */
.modal-content {
    border-radius: 20px;
    border: none;
}

.modal-header {
    background: var(--deep-red);
    color: #fff;
    border-radius: 20px 20px 0 0;
}

/* Footer */
footer {
    background: #222;
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
}

footer a {
    color: #ccc;
    text-decoration: none;
}

footer a:hover {
    color: var(--primary-saffron);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.puja-card .d-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.puja-card .btn {
    padding: 8px 5px !important;
    font-size: 0.75rem !important;
    white-space: nowrap;
    border-radius: 50px !important;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    .hero-form-card {
        margin-top: 30px;
    }
    .hero-content .btn {
        padding: 12px 15px !important;
        font-size: 0.85rem !important;
        border-radius: 50px !important;
        flex: 1;
        white-space: nowrap;
    }
}
