/* style.css - Custom Styling for Guruji Sitaram Senapati Website */

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');

:root {
    --primary-color: #0084D6;
    --primary-hover: #0067b8;
    --dark-color: #1a1a1a;
    --light-color: #777777;
    --bg-light: #F5F7F9;
    --border-color: #e2e8f0;
    --white: #ffffff;
    --font-lato: 'Lato', sans-serif;
    --font-roboto: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-lato);
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Header & Navigation */
.header-navbar {
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 15px 0;
}

.header-navbar.navbar-transparent {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.header-navbar.navbar-solid {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
}

.navbar-brand img {
    height: 45px;
    transition: height 0.3s ease;
}

.navbar-solid .navbar-brand img {
    height: 40px;
}

.nav-link {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 10px 15px !important;
    transition: color 0.2s ease;
}

.navbar-transparent .nav-link {
    color: var(--white) !important;
}

.navbar-solid .nav-link {
    color: var(--dark-color) !important;
}

.navbar-transparent .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-solid .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Nav Icons */
.nav-icon-link {
    position: relative;
    padding: 10px;
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.navbar-transparent .nav-icon-link {
    color: var(--white);
}

.navbar-solid .nav-icon-link {
    color: var(--dark-color);
}

.navbar-transparent .nav-icon-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.navbar-solid .nav-icon-link:hover {
    color: var(--primary-color);
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: -2px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

.navbar-transparent .cart-badge {
    border-color: #0b1a30; /* matches hero banner dark overlay */
}

/* Sliding Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    max-width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 1050;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
    right: 0;
}

.cart-drawer-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--light-color);
    cursor: pointer;
    transition: color 0.2s;
}

.cart-drawer-close:hover {
    color: var(--dark-color);
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-light);
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
    background-color: var(--bg-light);
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 3px;
}

.cart-item-variant {
    font-size: 12px;
    color: var(--light-color);
    margin-bottom: 5px;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary-color);
}

.cart-item-qty-container {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    width: 90px;
    height: 30px;
    overflow: hidden;
}

.cart-qty-btn {
    width: 30px;
    height: 100%;
    background: none;
    border: none;
    font-size: 14px;
    color: var(--light-color);
    cursor: pointer;
}

.cart-qty-btn:hover {
    background-color: var(--border-color);
    color: var(--dark-color);
}

.cart-qty-val {
    width: 30px;
    height: 100%;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    font-size: 13px;
    font-weight: 700;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #e53e3e;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    margin-left: 10px;
    transition: transform 0.2s;
}

.cart-item-remove:hover {
    transform: scale(1.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 550px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 132, 214, 0.45) 0%, rgba(10, 11, 12, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 15px;
}

.hero-title {
    font-size: 55px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 20px;
    font-family: var(--font-roboto);
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Buttons */
.btn-brand {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.5px;
    padding: 14px 32px;
    border-radius: 0;
    border: none;
    transition: all 0.3s ease;
}

.btn-brand:hover, .btn-brand:focus {
    background-color: var(--primary-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 132, 214, 0.3);
}

.btn-outline-brand {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.5px;
    padding: 12px 30px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-outline-brand:hover {
    background-color: var(--white);
    color: var(--dark-color);
    transform: translateY(-2px);
}

/* Category Sections */
.spiritual-col {
    position: relative;
    height: 380px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spiritual-col:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.spiritual-col-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.spiritual-col-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.spiritual-col-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Youtube Grid Section */
.youtube-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 38px;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.youtube-card {
    background-color: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.youtube-thumbnail-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
}

.youtube-thumbnail-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s, transform 0.3s;
}

.youtube-card:hover .youtube-thumbnail-container img {
    opacity: 1;
    transform: scale(1.05);
}

.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(229, 62, 62, 0.9); /* YouTube Red */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s, background-color 0.2s;
    z-index: 2;
}

.youtube-card:hover .play-btn-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: rgb(255, 0, 0);
}

.youtube-card-body {
    padding: 15px;
    height: 70px;
    display: flex;
    align-items: center;
}

.youtube-card-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--dark-color);
}

/* Product Cards */
.product-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.product-badge-sale {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    z-index: 3;
}

.product-img-wrap {
    position: relative;
    padding-bottom: 100%; /* square ratio */
    overflow: hidden;
    background-color: var(--bg-light);
}

.product-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.05);
}

.product-body {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    color: var(--light-color);
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.2s;
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-price {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 15px;
}

.price-regular {
    color: var(--light-color);
    text-decoration: line-through;
    margin-right: 8px;
    font-size: 14px;
}

.price-sale {
    color: var(--primary-color);
}

/* Swatches */
.product-swatches {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.swatch-option {
    width: 24px;
    height: 24px;
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 9px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 2px rgba(0,0,0,0.8);
    background-color: #718096;
    user-select: none;
}

.swatch-option:hover {
    transform: scale(1.1);
}

.swatch-option.active {
    border: 2px solid var(--dark-color);
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

/* Swatch Colors Mapping (UI specific) */
.swatch-option[data-color="blue"] { background-color: #3182ce; }
.swatch-option[data-color="green"] { background-color: #38a169; }
.swatch-option[data-color="red"] { background-color: #e53e3e; }
.swatch-option[data-color="black"] { background-color: #1a202c; }
.swatch-option[data-color="brown"] { background-color: #8b5a2b; }
.swatch-option[data-color="orange"] { background-color: #dd6b20; }
.swatch-option[data-color="purple"] { background-color: #805ad5; }

.btn-add-to-cart {
    width: 100%;
    background-color: var(--bg-light);
    color: var(--dark-color);
    border: none;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px;
    transition: all 0.2s ease;
}

.btn-add-to-cart:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Limited Time Offer */
.promo-section {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(100deg, rgba(0, 132, 214, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.promo-content {
    position: relative;
    z-index: 2;
}

.promo-subtitle {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 15px;
}

.promo-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
}

.promo-desc {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Benefit Cards */
.benefits-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.benefit-card {
    text-align: center;
    padding: 20px;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

i.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary-color);
}

.benefit-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.benefit-desc {
    font-size: 14px;
    color: var(--light-color);
}

/* Live Stream Section */
.live-stream-section {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.iframe-container {
    max-width: 600px;
    margin: 0 auto 30px auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background-color: #000;
}

.iframe-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

/* Footer */
.site-footer {
    background-color: var(--white);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.footer-copy {
    color: var(--light-color);
    font-size: 14px;
    margin: 0;
}

.footer-socials {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icon:hover {
    color: var(--white);
}

.social-icon.facebook:hover {
    background-color: #3b5998;
    border-color: #3b5998;
}

.social-icon.youtube:hover {
    background-color: #ff0000;
    border-color: #ff0000;
}

/* About Page */
.about-hero {
    background: linear-gradient(135deg, #0084D6 0%, #0a0b0c 100%);
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}

.about-section {
    padding: 80px 0;
}

.about-img {
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 100%;
}

.team-card {
    text-align: center;
    margin-bottom: 40px;
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.team-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.team-role {
    font-size: 14px;
    color: var(--light-color);
}

/* Contact Page */
.contact-info-card {
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: 6px;
    height: 100%;
}

.contact-info-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-info-icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 20px;
    width: 30px;
    text-align: center;
}

.contact-info-text h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-info-text p {
    color: var(--light-color);
    margin: 0;
}

.contact-form-card {
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.form-control {
    border-radius: 4px;
    padding: 12px 15px;
    border-color: var(--border-color);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 132, 214, 0.15);
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 42px;
    }
    .footer-socials {
        justify-content: center;
        margin-top: 15px;
    }
    .footer-copy {
        text-align: center;
    }
    .navbar-collapse {
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 20px;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
    }
    .navbar-transparent .nav-link {
        color: var(--dark-color) !important;
    }
    .navbar-transparent .nav-icon-link {
        color: var(--dark-color) !important;
    }
    .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.5);
    }
    .navbar-solid .navbar-toggler {
        border-color: rgba(0, 0, 0, 0.1);
    }
    .navbar-transparent .navbar-toggler-icon {
        filter: invert(1);
    }
}
