/* ==========================================================
   BATH INDIA — PREMIUM DESIGN SYSTEM & CUSTOM STYLES
   ========================================================== */

/* Global Link & Underline Reset */
a, a:hover, a:focus, 
.nav-link-custom, .nav-link-custom:hover,
.dropdown-item-custom, .dropdown-item-custom:hover,
.footer-col a, .footer-col a:hover,
.page-breadcrumb a, .page-breadcrumb a:hover {
    text-decoration: none !important;
    outline: none !important;
}

/* Bold Header Typography */
h1, h2, h3, h4, h5, h6, 
.section-title, 
.hero-slide-title, 
.page-hero h1, 
.page-hero-cover h1,
.product-name, 
.cat-name,
.vb-title {
    font-weight: 700 !important;
}

.hero-slide-title {
    font-weight: 800 !important;
}

/* Navbar custom styles */
nav.navbar {
    background: rgba(250, 249, 247, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-soft);
    padding: 14px 0;
    transition: all 0.3s ease;
}

.nav-link-custom {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink-soft);
    padding: 8px 16px;
    transition: color 0.3s ease;
    cursor: pointer;
}

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

.navbar-toggler {
    border: none;
    outline: none;
}
.navbar-toggler-icon-custom {
    font-size: 24px;
    color: var(--ink);
}

/* Dropdown Custom Styles */
.nav-item.dropdown-custom {
    position: relative;
}

.dropdown-menu-custom {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--cream);
    border: 1px solid var(--border-soft);
    box-shadow: 0 12px 36px rgba(125, 90, 60, 0.1);
    min-width: 240px;
    z-index: 999;
    border-radius: var(--radius);
    padding: 8px 0;
    margin-top: 10px;
    animation: fadeInSlide 0.25s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.dropdown-menu-custom::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--border-soft);
}

.dropdown-item-custom {
    display: block;
    padding: 11px 20px;
    font-size: 13px;
    color: var(--ink-soft);
    transition: all 0.25s ease;
    border-bottom: 1px solid rgba(0,0,0,0.02);
}

.dropdown-item-custom:last-child {
    border-bottom: none;
}

.dropdown-item-custom:hover {
    background-color: var(--cream-mid);
    color: var(--brown);
    padding-left: 24px;
}

.nav-item.dropdown-custom:hover .dropdown-menu-custom {
    display: block;
}

/* Attractive Premium Buttons */
.btn-primary-custom, .btn-primary {
    background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%) !important;
    color: #ffffff !important;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 30px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none !important;
    box-shadow: 0 4px 15px rgba(125, 90, 60, 0.18);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

.btn-primary-custom:hover, .btn-primary:hover {
    background: linear-gradient(135deg, var(--brown-dark) 0%, #4c3320) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(125, 90, 60, 0.28);
    color: #ffffff !important;
}

.btn-ghost-custom, .btn-ghost {
    border: 1px solid var(--border) !important;
    color: var(--ink-soft) !important;
    background: transparent !important;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 13px 30px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

.btn-ghost-custom:hover, .btn-ghost:hover {
    border-color: var(--brown) !important;
    color: var(--brown) !important;
    background: rgba(125, 90, 60, 0.03) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(125, 90, 60, 0.05);
}

.nav-cta-btn {
    background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%) !important;
    color: var(--white) !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 11px 24px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(125, 90, 60, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-cta-btn:hover {
    background: linear-gradient(135deg, var(--brown-dark) 0%, #4c3320) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(125, 90, 60, 0.25);
    color: var(--white) !important;
}

/* Pulsing Call Button Animation */
.phone-pulsing-btn {
    animation: luxuryPulse 2.5s infinite ease-in-out;
}

@keyframes luxuryPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(125, 90, 60, 0.45), 0 4px 12px rgba(125, 90, 60, 0.15);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(125, 90, 60, 0), 0 4px 12px rgba(125, 90, 60, 0.15);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(125, 90, 60, 0), 0 4px 12px rgba(125, 90, 60, 0.15);
    }
}

/* Mobile Nav Drawer */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--cream);
    z-index: 10000;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    overflow-y: auto;
}

.mobile-nav-menu.open {
    right: 0;
}

.close-mobile-menu {
    border: none;
    background: none;
    font-size: 24px;
    color: var(--ink);
    cursor: pointer;
}

.mobile-nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--border-soft);
    transition: color 0.25s ease;
}

.mobile-nav-links a:hover, .mobile-nav-links a.active {
    color: var(--brown);
}

.mobile-menu-section-head {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brown);
    margin-top: 24px;
    margin-bottom: 8px;
}

/* Sticky Action Footer for Mobile Devices */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--cream);
    border-top: 1px solid var(--border-soft);
    z-index: 990;
    display: flex;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}

.sticky-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 8px 0;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--ink-soft);
    transition: all 0.2s ease;
    border-right: 1px solid var(--border-soft);
}

.sticky-action-btn:last-child {
    border-right: none;
}

.sticky-action-btn i {
    font-size: 18px;
    margin-bottom: 3px;
}

.sticky-whatsapp {
    color: #25d366;
}

.sticky-call {
    color: var(--brown);
}

.sticky-enquiry {
    color: var(--ink);
}

.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.whatsapp-fab:hover {
    background: #20ba5a;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

/* Footer structure grid */
footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.55);
    padding: 80px 0 40px 0;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
}

.footer-brand-col p.footer-text {
    font-size: 13.5px;
    line-height: 1.8;
    max-width: 320px;
    margin-top: 15px;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social-icons a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ffffff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.25s ease;
}

.footer-social-icons a:hover {
    background: var(--brown-light);
    color: #ffffff;
    border-color: var(--brown-light);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 24px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
    transition: color 0.25s ease;
}

.footer-col a:hover {
    color: var(--brown-light);
}

.footer-info-item {
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-info-item i {
    color: var(--brown-light);
    margin-top: 3px;
}

.footer-info-item a {
    display: inline;
    color: inherit;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 15px;
}

/* Premium Swiper Hero Slider */
.hero-slider-wrap {
    width: 100%;
    height: calc(100vh - var(--nav-h));
    min-height: 580px;
    background-color: var(--ink);
    position: relative;
    overflow: hidden;
}

.hero-slide-item {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg, rgba(14,10,8,0.8) 0%, rgba(14,10,8,0.5) 60%, rgba(14,10,8,0.2) 100%);
    z-index: 2;
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    max-width: 780px;
    padding: 0 48px;
    color: #ffffff;
}

.hero-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    font-size: 10px;
    letter-spacing: 2px;
    padding: 6px 14px;
    border-radius: var(--radius);
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-slide-title {
    font-family: var(--font-serif);
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-slide-title em {
    font-style: italic;
    color: #d4a97a;
}

.hero-slide-sub {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    font-weight: 300;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-slide-actions {
    display: flex;
    gap: 16px;
}

/* Swiper navigation buttons customization */
.swiper-button-next-custom, .swiper-button-prev-custom {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(14, 10, 8, 0.35);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.swiper-button-next-custom { right: 30px; }
.swiper-button-prev-custom { left: 30px; }

.swiper-button-next-custom:hover, .swiper-button-prev-custom:hover {
    background: var(--brown);
    border-color: var(--brown);
}

.swiper-pagination-custom {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.swiper-pagination-bullet {
    width: 28px;
    height: 3px;
    background: rgba(255,255,255,0.4) !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--brown) !important;
    width: 48px;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 10px 40px rgba(125, 90, 60, 0.03);
    transition: all 0.4s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--border);
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(125, 90, 60, 0.07);
}

/* Luxury Counters */
.counter-box {
    text-align: center;
    padding: 15px;
}
.counter-num {
    font-family: var(--font-serif);
    font-size: 48px;
    color: var(--brown);
    line-height: 1;
}
.counter-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ink-faint);
    margin-top: 8px;
}

/* Uniform Grid Inspiration Gallery (Uniform heights) */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 20px;
}

.masonry-item {
    aspect-ratio: 4/3;
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-soft);
    background: var(--white);
    cursor: pointer;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.masonry-item:hover img {
    transform: scale(1.05);
}

.masonry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(14, 10, 8, 0.8) 0%, rgba(14, 10, 8, 0.2) 60%, transparent 100%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.masonry-item:hover .masonry-overlay {
    opacity: 1;
}

.masonry-info h5 {
    font-family: var(--font-serif);
    font-size: 17px;
    color: #ffffff;
    margin: 0 0 4px 0;
}
.masonry-info p {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Category Filter Tabs */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.gallery-filter-btn {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 20px;
    border: 1px solid var(--border);
    color: var(--ink-soft);
    background: transparent;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.gallery-filter-btn:hover, .gallery-filter-btn.active {
    background-color: var(--brown);
    border-color: var(--brown);
    color: #ffffff;
}

/* Swiper Featured Products & Testimonials */
.products-swiper, .testimonials-swiper {
    padding-bottom: 50px !important;
}

/* Review Cards */
.review-card-custom {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 32px;
    height: 100%;
    transition: all 0.3s ease;
}

.review-card-custom:hover {
    border-color: var(--border);
    box-shadow: 0 10px 30px rgba(125, 90, 60, 0.05);
}

/* Forms Styling */
.form-field-custom {
    margin-bottom: 20px;
    position: relative;
}

.form-field-custom label {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 8px;
}

.form-field-custom input, 
.form-field-custom select, 
.form-field-custom textarea {
    width: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 14.5px;
    color: var(--ink);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-field-custom input:focus, 
.form-field-custom select:focus, 
.form-field-custom textarea:focus {
    border-color: var(--brown);
    box-shadow: 0 0 0 3px rgba(125, 90, 60, 0.05);
}

/* Equal Height Product Cards Rules */
.product-card {
    display: flex !important;
    flex-direction: column;
    height: 100%;
}
.product-info {
    display: flex !important;
    flex-direction: column;
    flex-grow: 1;
}
.product-desc {
    flex-grow: 1;
}

/* Responsive Grid layouts */
@media (max-width: 991px) {
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .hero-slide-title {
        font-size: 44px;
    }
    .hero-slider-wrap {
        height: 60vh;
    }
}

@media (max-width: 575px) {
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    footer {
        padding: 60px 0 100px 0; /* extra padding for sticky footer */
    }
    .hero-slide-title {
        font-size: 32px;
    }
    .hero-slide-content {
        padding: 0 20px;
    }
    .hero-slide-actions {
        flex-direction: column;
        gap: 10px;
    }
    .hero-slide-actions a, .hero-slide-actions button {
        width: 100%;
        justify-content: center;
    }
    .masonry-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

/* Animation keyframes */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
