/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #6366f1;
    /* Modern Indigo */
    --secondary-color: #0f172a;
    /* Dark Slate */
    --accent-color: #fca5a5;
    /* Soft Red/Pink */
    --text-color: #334155;
    --light-bg: #f8fafc;
    --font-main: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    transition: all 0.4s ease;
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar-brand img {
    height: 40px;
}

.navbar .nav-link,
.nav-link {
    font-weight: 500;
    color: #000000 !important;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar-brand h2 {
        font-size: 1.5rem;
    }

    .navbar {
        padding: 1rem 0;
    }
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: #000;
    position: relative;
    padding-top: 0;
}

.swiper-slide {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* Mobile responsive adjustments for Hero height */
@media (max-width: 768px) {

    .hero-section,
    .swiper-slide {
        height: 70vh;
        /* Reduced height on mobile */
        min-height: 450px;
        /* Minimum height ensures content doesn't get cramped */
    }
}

@media (max-width: 576px) {
    .hero-section,
    .swiper-slide {
        height: 60vh;
        min-height: 400px;
    }
}

.hero-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 8s ease;
}

.swiper-slide-active .hero-bg {
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    /* Darker gradient at bottom for text readability */
}

@media (max-width: 768px) {
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8));
    }
}

.hero-content {
    position: absolute;
    bottom: 15%;
    left: 10%;
    color: white;
    z-index: 2;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-content {
        left: 5%;
        right: 5%;
        bottom: 15%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-content {
        bottom: 18%;
        /* Lift up slightly more on very small screens */
        text-align: center;
        /* Center align for very small screens often looks better */
    }
}

/* Page Hero */
.page-hero {
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    color: white;
    text-align: center;
    position: relative;
    margin-bottom: 2rem;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 80px 0 60px;
    }
}

/* Section Padding */
/* Section Padding - Handled by Bootstrap py-5 */

/* Typography Responsive Overrides */


/* About Us */
.about-image-wrapper {
    position: relative;
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

@media (max-width: 768px) {
    .floating-badge {
        right: 0;
        bottom: -20px;
    }

    .about-content {
        margin-top: 2rem;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.prod-img-wrap {
    height: 250px;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .prod-img-wrap {
        height: 160px;
        /* Slightly smaller for mobile grid */
    }
}

.prod-img-wrap img {
    max-height: 80%;
    width: auto;
    transition: 0.3s;
}

.product-card:hover .prod-img-wrap img {
    transform: scale(1.05);
}

.prod-info {
    padding: 20px;
    text-align: center;
}

@media (max-width: 576px) {
    .prod-info {
        padding: 15px 10px;
    }

    .prod-info h5 {
        font-size: 0.95rem;
        /* Prevent overflowing text */
    }
}

.prod-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Gallery Marquee */
/* Gallery Section */
.gallery-section {
    background: white;
    /* Optional: Add gradient or background shape if desired later */
}

.gallerySwiper .swiper-slide {
    width: auto;
    /* reset from previous overrides */
    height: auto;
    transition: transform 0.3s ease;
}

.gallery-card {
    height: 350px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: white;
}

.new-arrival-card {
    height: 350px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.new-arrival-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* New Arrival specific image fix since it has a container */
.new-arrival-card .img-box img {
    width: auto;
    height: auto;
    object-fit: contain;
}

.gallerySwiper .swiper-slide:hover .gallery-card,
.testimonialsSwiper .swiper-slide:hover .testimonial-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.testimonial-card {
    height: auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1.5rem !important;
}

/* Testimonials Swiper Custom Spacing - 3D Carousel */
.testimonials-swiper-custom {
    padding: 3rem 0 2rem 0 !important;
    margin: 0 !important;
    perspective: 1200px;
    max-width: 100%;
    overflow: hidden;
}

.testimonialsSwiper {
    overflow: visible !important;
}

.testimonialsSwiper .swiper-slide {
    width: 85% !important;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    transform-origin: center center;
}

.testimonialsSwiper .swiper-slide-active {
    opacity: 1;
}

.testimonialsSwiper .testimonial-card {
    min-height: 320px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2) !important;
    transform: scale(0.85);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonialsSwiper .swiper-slide-active .testimonial-card {
    transform: scale(1);
    box-shadow: 0 25px 60px rgba(0,0,0,0.3) !important;
}

/* 3D Carousel Navigation Buttons */
.testimonial-button-next,
.testimonial-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 50px;
    height: 50px;
    background: var(--primary-color) !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    border: none;
    outline: none;
}

.testimonial-button-next:hover,
.testimonial-button-prev:hover {
    background: var(--secondary-color) !important;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.testimonial-button-next {
    right: 20px;
}

.testimonial-button-prev {
    left: 20px;
}

.testimonial-button-next::after,
.testimonial-button-prev::after {
    font-size: 1.2rem;
}

/* Swiper Pagination Styling */
.testimonialsSwiper .swiper-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    bottom: -40px;
}

.testimonialsSwiper .swiper-pagination-bullet {
    background: var(--primary-color) !important;
    opacity: 0.3 !important;
    width: 10px !important;
    height: 10px !important;
    transition: all 0.3s ease !important;
}

.testimonialsSwiper .swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    opacity: 1 !important;
    width: 30px !important;
    border-radius: 6px !important;
}

/* Desktop View Optimization */
@media (min-width: 1024px) {
    .testimonials-swiper-custom {
        padding: 4rem 0 3rem 0 !important;
    }
    
    .testimonialsSwiper .swiper-slide {
        width: 60% !important;
    }
    
    .testimonialsSwiper .testimonial-card {
        min-height: 380px;
    }
    
    .testimonial-button-next {
        right: 30px;
    }
    
    .testimonial-button-prev {
        left: 30px;
    }
    
    .testimonialsSwiper .swiper-pagination {
        bottom: -50px;
    }
}

/* Tablet View */
@media (max-width: 1023px) and (min-width: 641px) {
    .testimonials-swiper-custom {
        padding: 3rem 0 2.5rem 0 !important;
    }
    
    .testimonialsSwiper .swiper-slide {
        width: 75% !important;
    }
    
    .testimonialsSwiper .testimonial-card {
        min-height: 340px;
    }
    
    .testimonial-button-next {
        right: 15px;
    }
    
    .testimonial-button-prev {
        left: 15px;
    }
}

/* Mobile View */
@media (max-width: 640px) {
    .testimonialsSwiper .swiper-slide {
        width: 100%;
    }
}

/* Mobile: Larger cards */
@media (max-width: 640px) {
    .testimonial-card {
        padding: 1.75rem 1.25rem !important;
        margin: 0 !important;
    }

    .testimonialsSwiper .swiper-slide {
        padding: 0 !important;
    }

    .testimonials-swiper-custom {
        padding: 0.5rem 0 !important;
        margin: 0 !important;
    }

    .testimonial-card p {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .testimonial-card h5 {
        font-size: 1rem !important;
    }
}

.newArrivalsSwiper .swiper-slide:hover .new-arrival-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Custom Swiper Navigation (Red Arrows) */
.custom-swiper-btn {
    color: #ef4444;
    /* Red color */
    font-weight: bold;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.custom-swiper-btn:after {
    font-size: 1.2rem;
}

.custom-swiper-btn:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.1);
}

/* Custom Pagination (Red Dots) */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ffcccc;
    opacity: 1;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    background: #ef4444;
    /* Red active dot */
    width: 25px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .gallery-card {
        height: 300px;
    }

    .custom-swiper-btn {
        display: none;
        /* Hide arrows on mobile for cleaner look */
    }
}

/* Why Choose Us Icons */
.feature-icon-box {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.feature-item:hover .feature-icon-box,
.feature-item.active .feature-icon-box {
    transform: scale(1.1) rotate(5deg);
    background: white;
    color: var(--primary-color);
    /* indigo */
    border-color: white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.feature-item h4 {
    transition: color 0.3s ease;
}

.feature-item:hover h4,
.feature-item.active h4 {
    color: var(--accent-color);
    /* pinkish */
    text-shadow: 0 0 10px rgba(252, 165, 165, 0.5);
}

/* Nav Pills */
.nav-pills .nav-link {
    background: white;
    color: var(--text-color);
    border: 1px solid #e2e8f0;
}

.nav-pills .nav-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Divider */
.divider {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* ===== ANIMATIONS & EFFECTS ===== */

/* Page Hero Section - consolidated + mobile safe */
.page-hero {
    background-attachment: scroll; /* fixed breaks mobile - use scroll */
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 320px;
}

@media (min-width: 992px) {
    .page-hero {
        background-attachment: fixed; /* parallax only on desktop */
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 90px 0 70px;
        min-height: 260px;
    }
    .page-hero h1 {
        font-size: clamp(1.5rem, 7vw, 2.5rem) !important;
    }
    .page-hero p.lead {
        font-size: clamp(0.85rem, 3.5vw, 1.1rem) !important;
    }
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.68) 0%, rgba(0,0,0,0.45) 100%);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}


/* Card Hover Effects */
.info-card,
.form-card {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    border: 1px solid transparent;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--primary-color);
}

.form-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}

/* Form Input Animations */
.form-control,
.form-select {
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.15);
}

.form-control::placeholder {
    color: #adb5bd;
}

.form-label {
    font-weight: 600;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

/* Button Animations */
.btn-primary {
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Icon Animation */
.info-card i {
    transition: all 0.4s ease;
}

.info-card:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--accent-color);
}

/* About Page Content Animation */
.about-content {
    line-height: 1.8;
}

/* Check Circle Icon Animation */
.fa-check-circle {
    transition: all 0.3s ease;
}

.d-flex:hover .fa-check-circle {
    transform: scale(1.3) rotate(15deg);
}

/* New: Contact Page Mobile Tweaks */
@media (max-width: 768px) {

    .contact-card,
    .form-card {
        padding: 1.5rem !important;
        /* Reduce padding on cards */
    }

    .hero-content {
        bottom: 10%;
        left: 5%;
        right: 5%;
        max-width: none;
    }

    .hero-content h1 {
        font-size: clamp(1.5rem, 5vw, 3rem);
    }

    .hero-content p {
        font-size: clamp(0.9rem, 3vw, 1.25rem);
    }

    .display-5 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .display-6 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    /* Product Cards */
    .product-card {
        border-radius: 1rem !important;
    }

    .prod-img-wrap {
        min-height: 180px !important;
    }

    /* About Section Mobile */
    .about-image-wrapper {
        margin-bottom: 2rem;
    }

    .about-content h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    /* Feature Items */
    .feature-item {
        padding: 1.5rem 1rem !important;
    }

    .feature-icon-box {
        font-size: 2rem !important;
    }

    /* Gallery & Testimonials */
    .gallery-card {
        min-height: 250px;
    }
    
    .testimonial-card {
        min-height: auto;
        padding: 1.5rem 1rem !important;
    }
}


@media (max-width: 576px) {
    .hero-content {
        bottom: 8%;
        left: 3%;
        right: 3%;
    }

    .hero-content h1 {
        font-size: clamp(1.3rem, 4.5vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: clamp(0.85rem, 2.5vw, 1rem);
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Button sizing on mobile */
    .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem !important;
    }

    .btn.btn-primary {
        width: 100%;
    }

    /* Section spacing */
    section {
        padding: 3rem 0 !important;
    }

    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* Testimonials Mobile Optimization */
    .testimonial-card {
        padding: 1rem 0.75rem !important;
    }

    .testimonials-swiper-custom {
        margin: 0 !important;
        padding: 0 !important;
    }

    .testimonialsSwiper .swiper-slide {
        padding: 0.25rem !important;
    }

    /* Text scaling */
    .lead {
        font-size: 1rem;
    }

    /* Feature items */
    .row.g-4 > [class*="col-"] {
        margin-bottom: 1rem;
    }

    /* Navbar spacing */
    .navbar {
        padding: 1rem 0 !important;
    }

    /* Badge sizing */
    .badge {
        font-size: 0.8rem;
    }

    /* Card padding */
    .card {
        padding: 1rem !important;
    }

    /* Hero content button */
    .hero-content a {
        width: 100% !important;
        margin-top: 1rem !important;
    }
}

/* ===== PRODUCT CARD HOVER EFFECTS ===== */
.product-card {
    overflow: hidden;
}

.product-card:hover .prod-img-wrap img {
    transform: scale(1.1);
}

/* ===== FEATURE ITEM HOVER ===== */
.feature-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-5px);
}

/* ===== IMAGE FRAME EFFECT ===== */
.image-frame:hover {
    transform: scale(1.02);
}

.image-frame img:hover {
    transform: scale(1.05);
}

/* ===== RESPONSIVE GRID FIX ===== */
@media (max-width: 991px) {
    .col-lg-2-5 {
        flex: 0 0 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
    }
}

@media (max-width: 768px) {
    .col-lg-2-5 {
        flex: 0 0 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
    }
}

