/*  Brand       : Babicha
    Description : Main Navigation and Sidebar Drawer Styles
    Created on : Jun 15, 2026, 2:38:46 AM
    Author     : Sandeep Verma
*/

/* ---------- 01. CSS VARIABLES ---------- */
:root {
    --color-heading: #D23744;
    --color-text: #000000;
    --color-theme: #CC3632;
    --color-bg-light: #fef9f2;
    --color-white: #ffffff;
    --transition-speed: 0.3s;
}

/* ---------- 02. RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* AOS Animation horizontal scroll fix */
html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-white); 
    color: var(--color-text);
    overflow-x: hidden;
}



/* Ya fir specific is section ke liye */
.layered-section {
    overflow-x: hidden;
}

a, button {
    outline: none;
    border: none;
    background: transparent;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

/* ---------- 03. NAVBAR & BRAND ---------- */
.navbar {
    background-color: var(--color-white) !important;
    transition: all var(--transition-speed);
}

.brand-text {
    color: var(--color-heading) !important;
}

.navbar-brand img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.02));
}

/* Navbar Links */
.navbar-nav .nav-link {
    transition: color var(--transition-speed) ease;
    letter-spacing: -0.2px;
}

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

/* ---------- 04. BUTTONS & ICONS ---------- */
.btn-theme {
    background-color: var(--color-white);
    color: var(--color-theme);
    border: 1.5px solid var(--color-theme);
    transition: all var(--transition-speed) ease;
}

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

.cart-icon img {
    height: 24px;
    width: auto;
    transition: transform 0.2s ease;
}

.cart-icon:hover img {
    transform: scale(1.1);
}

/* Custom Hamburger Icon */
.bar-icon-2 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
}

.bar-icon-2 span {
    display: block;
    height: 2px;
    background-color: var(--color-text);
    border-radius: 4px;
    transition: all var(--transition-speed) ease-in-out;
    width: 100%;
}

.bar-icon-2 span:nth-child(2) {
    width: 85%; 
}

.bar-icon-2 span:nth-child(3) {
    width: 60%; 
}

.mobile-drawer-toggle:hover .bar-icon-2 span:nth-child(2),
.mobile-drawer-toggle:hover .bar-icon-2 span:nth-child(3){
    width: 100%;
}

/* ---------- 05. DRAWER MENU (MOBILE/TABLET) ---------- */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.drawer-menu-container {
    position: fixed;
    top: 0;
    right: -320px;
    width: min(85%, 320px);
    height: 100%;
    background-color: var(--color-white);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 2001;
    transition: right 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.8rem;
    overflow-y: auto;
    scrollbar-width: thin;
}

.drawer-menu-container.open {
    right: 0;
}

.drawer-close {
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.drawer-close:hover,
.drawer-nav-list a:hover {
    color: var(--color-theme) !important;
}

/* ---------- 06. MEDIA QUERIES ---------- */
@media (max-width: 991px) {
    .navbar-toggler,
    .navbar-collapse {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .mobile-drawer-toggle, 
    .drawer-overlay, 
    .drawer-menu-container {
        display: none !important;
    }
}

/* For small devices (phones, 575px and down) */
@media (max-width: 575px) {
    .navbar-brand img {
        height: 40px;
    }
    
    .cart-icon img {
        height: 30px;
        margin-right: 1rem;
    }
}



/* Base Section Class */
.babicha_section {
    overflow: hidden;
    position: relative;
    z-index: 1;    
    height: 100%;
    padding-top: 3rem;    /* 48px */
    width: auto;
}

.babicha-btn {
    display: inline-block;
    background-color: var(--color-theme);
    color: var(--color-white);
    font-weight: 500;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.075s ease !important;
}

.babicha-btn:hover {
    background-color: var(--color-heading);
    color: var(--color-white);
    transform: translateY(-3px);
}

.babicha-btn:active {
    transform: scale(0.95) !important;
}

.babicha_md_btn{
padding: 0.9rem 2rem;
}

.babicha_lg_btn{
 padding: 1.2rem 2rem;
}

@media (max-width: 767.98px) {
    .babicha_md_btn{
        padding: 0.7rem 1.5rem;
    }
}

/* =========================================
   1. BASE STYLES (For Desktop) - ALWAYS FIRST
   ========================================= */

.babicha-heading {
    font-family: "Sniglet", system-ui;
    color: #d13239;
    font-weight: 500;
    font-style: normal;
    font-size: 3rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* ── Background swirl vectors ── */
.bg-vector {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    opacity: 0.75;
    pointer-events: none;
    width: 200px; 
    height: 200px; 
    object-fit: contain;     
    animation: babichaFloat 4s ease-in-out infinite;
}

.babicha-its-vector-left {
    left: -4%;
    rotate: 6deg; 
}

.babicha-its-vector-right {
    right: -8%;
}

.stars_of_babicha-vector-left {
    left: -4%;
}

.stars_of_babicha-vector-right {
    right: -7%;
    rotate: 3deg;
}

.reels-left-vector {
    left: -4%;
}

.reels-right-vector {
    right: -2%;
}

/* =========================================
   2. MEDIA QUERIES - ALWAYS AT THE BOTTOM
   ========================================= */

/* Tablet (Medium devices, 991px and down) */
@media (max-width: 991px) {
    .babicha-heading {
        font-size: 2.5rem; 
    }
    
    .reels-left-vector {
        left: -2%; 
    }
    .reels-right-vector {
        right: -2%;
    }
}

/* Mobile Landscape (Small devices, 767px and down) */
@media (max-width: 767px) {
    .babicha-heading {
        font-size: 2.3rem; 
    }
    
    /* Mobile size: 130px */
    .bg-vector {
        width: 130px;
        height: 130px;
    }
}

/* Mobile Portrait (Extra small devices, 575px and down) */
@media (max-width: 575px) {
    .babicha-heading {
        font-size: 2rem; 
    }
    
}

/* =========================================
   3. ANIMATIONS (KEYFRAMES)
   ========================================= */

@keyframes babichaFloat {
  0%,
  100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(-44%);
  }
}

/* ============================================================
   THE Other Painted SECTION
   ============================================================ */

.layered-section{
  display: flex;
  flex-direction: column;
  width: 100%;
}





/* ============================================================
   MARQUEE BAR SECTION
   ============================================================ */
.marquee-bar {
    background-color: #000000;
    width: 100%;
    overflow: hidden;
    padding: 12px 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Flex layout with infinite animation */
.marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: max-content; /* Zaroori hai taaki flex shrink na ho */
    animation: scrollMarquee 25s linear infinite;
}

/* Pause animation on hover (Optional, user experience ke liye acha hai) */
.marquee-bar:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 45px; /* Items ke beech ka gap */
}

/* Icon scaling */
.marquee-icon {
    height: 35px; /* Apni images ke hisab se adjust kar lena */
    width: auto;
    object-fit: contain;
}

/* Text Styling */
.marquee-text {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: lowercase; /* Mockup me sab lowercase hai */
}

/* ── Seamless Scrolling Animation ── */
@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Kyunki content 2 baar loop hua hai, 50% slide hote hi wo wapas 0 jaisa dikhega */
        transform: translateX(-50%); 
    }
}

/* ── Mobile Responsive ── */
@media (max-width: 767.98px) {
    .marquee-icon { height: 28px; }
    .marquee-text { font-size: 1rem; }
    .marquee-item { margin-right: 30px; gap: 8px; }
}

.section_bottompadding{
    padding-bottom: 3rem;
}