/* --- Mahavel Theme (Maharatri Aesthetic) --- */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    /* Divine Om Aesthetic Palette */
    --primary-saffron: #FF7B00;
    /* Deep rich saffron */
    --primary-maroon: #6B0F1A;
    /* Royal Maroon */
    --accent-gold: #D4AF37;
    /* Standard Gold */

    /* Text Colors */
    --text-dark: #2D1A1A;
    /* Warm dark brown-black */
    --text-light: #FFFAF0;
    /* Floral White */

    /* Backgrounds */
    --bg-light: #FFF8E7;
    /* Cosmic Cream */

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #BF953F, #d7c300, #B38728, #bdaf22, #AA771C);
    --gradient-om: linear-gradient(135deg, #FF9F43, #F97316);
    --gradient-royal: linear-gradient(to right, #800000, #A00000);

    /* Fonts */
    --font-heading: "Cinzel", serif;
    /* Changed as per previous context which requested Cinzel */
    --font-body: "Poppins", serif;
    /* Changed as per previous context */

    --transition-speed: 0.3s;
}

/* --- Reset & Typography --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    /* Increased for elegance */
    font-size: 1rem;
    /* Standard typography scale for better readability */
    overflow-x: hidden;
    cursor: url("/Images/cursor.png") 10 10, auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-maroon);
    /* margin-bottom: 1rem; */
    letter-spacing: 1px;
    display: inline-block;
    /* Removed gradient text for improved readability */
}

a,
a:hover {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
    cursor: url('./Images/cursor.png') 10 10, auto;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Utility Classes --- */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 90px 0;
}

.btn {
    display: inline-block;
    padding: 10px 35px;
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1rem;
    text-transform: none;
    /* Changed from uppercase for better readability */
    border-radius: 50px;
    /* Rounded buttons are more graceful */
    cursor: url('./Images/cursor.png') 10 10, auto !important;
    transition: all 0.5s ease;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-om);
    color: var(--text-light);
    border: none;
    cursor: url('./Images/cursor.png') 10 10, auto;
    box-shadow: 0 0 20px rgba(255, 159, 67, 0.5);
}

/* .btn-primary:hover {
    background-color: transparent;
    color: var(--primary-maroon);
} */

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 123, 0, 0.6);
    filter: brightness(1.1);
}

.btn-secondary {
    /* background-color: transparent;
    color: var(--text-light); */
    border: 2px solid var(--accent-gold);
    background-color: white;
    cursor: url('./Images/cursor.png') 10 10, auto;
    color: var(--primary-maroon);
    position: relative;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--gradient-gold);
    transition: all 0.5s;
    z-index: -1;
    border-radius: 50px;
}

.btn-secondary:hover {
    color: var(--primary-maroon);
    border-color: transparent;
}

.btn-secondary:hover::before {
    width: 100%;
}

/* .btn-secondary:hover {
} */

/* --- Top Bar --- */
.top-bar {
    background-color: var(--primary-maroon);
    color: var(--text-light);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info span {
    margin-right: 20px;
}

.top-bar-info i {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 5px;
}

/* --- Header & Navigation --- */
.social-icons a {
    font-size: 20px;
}

.main-header {
    background-color: rgb(255, 255, 255);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-speed);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo,
.logo:hover {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-maroon);
    display: flex;
    cursor: url('./Images/cursor.png') 10 10, auto;
    align-items: center;
}

.logo span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.nav-menu {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    font-family: var(--font-body);
    /* Keep nav slightly cleaner than headers */
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-maroon);
    text-transform: uppercase;
    position: relative;
    cursor: url('./Images/cursor.png') 10 10, auto;
    letter-spacing: 1px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-saffron);
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 0px 1px rgba(255, 215, 0, 0.5);
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-maroon);
    cursor: pointer;
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 80px 20px 20px;
    transition: 0.3s ease-in-out;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav li {
    margin: 20px 0;
}

.mobile-nav a {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.themeC {
    width: 80px !important;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.cir {
    width: 25px;
    height: 25px;
    transition: all 0.3s;
    background-color: gainsboro;
    transform: rotate(135deg);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 90vh;
    /* Taller hero for impact */
    /* Darker overlay for better text contrast against detailed image */
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url('./Images/OOMv1.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
}

.hero-overlay::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.bell1,
.bell2 {
    position: absolute;
    width: 130px;
    z-index: 5;
    transform-origin: 50% 0%;
    animation: swing 5.5s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.bell1 {
    top: 0;
    left: 100px;
}

.bell2 {
    top: 0;
    right: 100px;
    animation-delay: 1.2s;
}

@keyframes swing {
    /* 0% {
        transform: rotate(0deg);
    } */

    25% {
        transform: rotate(12deg);
    }

    /* 50% {
        transform: rotate(0deg);
    } */

    75% {
        transform: rotate(-12deg);
    }

    /* 
    100% {
        transform: rotate(0deg);
    } */
}

.hero-section .hero-carousel {
    position: absolute;
    bottom: 60px;
    left: 0;
    z-index: 2;
    display: inline-flex;
    gap: 20px;
    width: max-content;
    padding-right: 20px;
    /* Duplicate gap for seamless loop */
    animation: carousel 10s linear infinite;
}

.hero-section .hero-carousel:hover {
    animation-play-state: paused;
}

.hero-section .hero-carousel>span {
    flex: 0 0 auto;
    min-width: 230px;
    text-align: center;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-direction: column;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    padding: 15px 12px;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15), 
                inset 0 0 20px rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
    padding-bottom: 5px;
}

.hero-section .hero-carousel>span>img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(255, 215, 0, 0.5);
}

.hero-section .hero-carousel>span:hover {
    transform: translateY(-8px) scale(1.08);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(15px);
    border: 2px solid var(--accent-gold);
    box-shadow: 0 12px 40px rgba(255, 123, 0, 0.25),
                inset 0 0 20px rgba(255, 215, 0, 0.15),
                0 0 20px rgba(255, 123, 0, 0.2);
    color: var(--accent-gold);
}

.hero-section .hero-carousel>span:hover>img {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(255, 123, 0, 0.3);
}

.hero-section .hero-carousel>span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.hero-section .hero-carousel>span:hover::before {
    opacity: 1;
}

@keyframes carousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-230px * 6 - 20px * 6));
    }
}

/* Fallback if live image doesn't work locally */
.hero-section.fallback-bg {
    background-color: #2b0a0a;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
    margin-top: -150px;
}

.hero-subtitle {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #d8d6d3, #ececec, #dcdcdc, #d0cfcb, #eeeeee);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Bright gold */
    margin-bottom: 15px;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 25px;
    color: #fff !important;
    background: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    /* White pops better on dark complex backgrounds */
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
    /* Strong shadow for separation */
    line-height: 1.1;
}

.hero-text {
    font-size: 1.3rem;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* --- About Section --- */
.about-section {
    position: relative;
    background-color: #fff;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 0 20px;
}

.about-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--accent-gold);
    /* Reduced from 5px for refined appearance */
}

.about-img img {
    width: 100%;
    height: 100%;
}

.about-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #fff;
    margin: 10px;
    z-index: 1;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content .sub-title {
    color: var(--primary-saffron);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.about-content p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.1rem;
}

.ornament {
    width: 100px;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* --- Rituals / Services Section --- */
.rituals-section {
    background-color: var(--bg-light);
    background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
    background-size: 40px 40px;
    /* Reduced density for less visual noise */
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-box {
    background: #fff;
    padding: 40px 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid transparent;
}

.service-box:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--primary-saffron);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: #fff4e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-saffron);
    font-size: 2rem;
    transition: 0.3s;
}

.service-box:hover .service-icon {
    background-color: var(--primary-saffron);
    color: #fff;
}

.service-box:hover h3 {
    color: var(--primary-saffron);
}

.service-box h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-box p {
    color: #666;
    font-size: 0.95rem;
}

/* --- Shop Section & Categories --- */
.featured-section {
    background-color: var(--bg-light);
    text-align: center;
}

.shop-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.shop-cat-btn {
    background: transparent;
    border: 1px solid #ccc;
    padding: 5px 15px;
    margin: 5px;
    border-radius: 30px;
    cursor: url('./Images/cursor.png') 10 10, auto;
    font-family: var(--font-body);
    font-size: 16px;
    color: #555;
    transition: 0.3s;
}

.shop-cat-btn.active,
.shop-cat-btn:hover {
    background: var(--gradient-royal);
    color: #fff;
    border-color: var(--primary-maroon);
    box-shadow: 0 4px 10px rgba(128, 0, 0, 0.3);
}


.section-title {
    font-size: 2.5rem;
    color: var(--primary-maroon);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

/* .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-gold);
    margin: 10px auto 0;
    border-radius: 2px;
} */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border-bottom: 3px solid var(--primary-maroon);
    border-radius: 8px;
    /* Added for consistency */
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    /* Enhanced shadow for depth */
    border-bottom-color: var(--primary-saffron);
    /* Visual indicator on hover */
}

.product-img {
    background: #f0f0f0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* overflow: hidden; */
    position: relative;
    border-radius: 8px;
    /* Added for cleaner appearance */
}

.product-img img {
    height: 100%;
    transition: transform 0.5s;
}

.product-card .dot {
    width: 10px;
    height: 10px;
    background-color: var(--primary-maroon);
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.product-card .dot::after,
.product-card .dot::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    border-radius: 2px;
    transform: translateY(-50%);
}

.product-card .dot::after {
    top: 50%;
    right: 20px;
    background: linear-gradient(to left, var(--primary-maroon), transparent);
}

.product-card .dot::before {
    top: 50%;
    left: 20px;
    background: linear-gradient(to right, var(--primary-maroon), transparent);
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding-bottom: 40px;
}

.product-info a {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

/* --- Footer --- */
footer {
    background: #cec5c5b8;
    /* Deep dark maroon base */
    color: #000000;
    padding: 80px 0 20px;
    position: relative;
    border-top: 3px solid var(--primary-saffron);
    /* Changed to solid saffron for better visibility */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--primary-saffron);
    margin-bottom: 25px;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-gold);
}

.footer-links li {
    margin-bottom: 12px;
    border-bottom: 1px dashed #333;
    padding-bottom: 8px;
    transition: 0.3s;
}

.footer-links li:last-child {
    border-bottom: none;
}

.footer-links a {
    display: block;
}

.footer-links a:hover {
    color: var(--primary-saffron);
    padding-left: 10px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-grid a:has(>i) {
    color: var(--primary-saffron);
}

.footer-contact i{
    color: var(--primary-saffron);
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 25px;
    font-size: 0.9rem;
    color: #777;
}

/* --- Product Image Magnifier --- */
#magnifier {
    position: fixed;
    width: 300px;
    height: 400px;
    /* border: 2px solid var(--primary-maroon); */
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 9999;
    display: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    background-color: #fff;
}

.audioControl {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--primary-maroon);
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: url('./Images/cursor.png') 10 10, auto;
    left: 10px;
    bottom: 10px;
    transition: all 0.3s ease-in-out;
    z-index: 1111;
}

.audioControl:hover {
    background-color: var(--primary-maroon);
}

.audioControl i {
    color: var(--primary-maroon);
    transition: all 0.3s ease-in-out;
}

.audioControl:hover i {
    color: var(--bg-light);
}


/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Purpose Section --- */
.purpose-section {
    background-color: #fffaf0;
    /* Very light cream/floral white for distinction */
    background-image: linear-gradient(135deg, rgba(255, 250, 240, 0.9) 0%, rgba(255, 248, 231, 0.9) 100%);
    position: relative;
}

.purpose-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.25rem;
    /* Slightly larger for easier reading */
    color: var(--text-dark);
}

.purpose-content p {
    margin-bottom: 25px;
    line-height: 1.9;
}

.purpose-content h3 {
    font-size: 2rem;
    color: var(--primary-maroon);
    margin: 50px 0 25px;
    font-family: var(--font-heading);
    position: relative;
    display: inline-block;
}

.purpose-content h3::after {
    content: '✦';
    display: block;
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-top: 10px;
    opacity: 0.8;
}

.signature {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(128, 0, 0, 0.1);
    display: inline-block;
    padding-left: 40px;
    padding-right: 40px;
}

.signature p {
    font-family: var(--font-heading);
    color: var(--primary-maroon);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.signature span {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #666;
    font-style: italic;
    letter-spacing: 0.5px;
    display: block;
}

/* Add a subtle entrance animation for purpose content */
.purpose-content {
    animation: fadeInUp 1.2s ease-out;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .top-bar {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-section {
        height: 100vh;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .desktop-only {
        display: none;
    }

    .shop-categories {
        flex-wrap: nowrap;
        overflow-x: scroll;
        justify-content: unset;
        scrollbar-color: #811331 #0000;
        padding-bottom: 20px;
        scrollbar-width: thin;
    }

    .shop-categories button {
        flex: 0 0 auto;
        font-size: 13px;
        max-width: 100%;
        min-width: auto;
        padding: 6px 14px;
        white-space: nowrap;
    }

    #magnifier {
        width: 250px;
        height: 300px;
    }

    .bell1,
    .bell2 {
        z-index: 0;
        width: 100px;
    }

    .bell1 {
        left: 50px;
    }

    .bell2 {
        right: 50px;
    }

    .btn {
        padding: 10px 15px;
        font-size: 1rem;
    }

}

@media only screen and (max-width: 400px) {
    .hero-content{
        margin-top: -180px;
    }
}