@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Alex+Brush&display=swap');

:root {
    --bg-black: #000000;
    --bg-dark: #0E0E0E;
    --bg-card: #151515;
    --border-gray: #2A2A2A;
    --accent-gold: #DCC7A3;
    --text-white: #FFFFFF;
    --text-gray: #A0A0A0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-signature: 'Alex Brush', cursive;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-body);
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .luxury-text {
    font-family: var(--font-heading);
}

.text-muted {
    color: var(--text-white) !important;
}

/* Navbar Styling exactly as mockup */
.navbar {
    background-color: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border-gray);
    transition: all 0.3s ease;
    z-index: 1050;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--accent-gold);
    background-color: rgba(0, 0, 0, 0.98) !important;
}

/* Elegant logo mark styling */
.navbar-logo {
    height: 32px;
    width: 82px;
    object-fit: cover;
    object-position: top;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.3s ease;
    border-radius: 4px;
}

.navbar-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.15);
}

.nav-link {
    color: var(--text-gray) !important;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 12px;
    font-weight: 600;
    padding-bottom: 4px !important;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-white) !important;
    border-bottom-color: var(--accent-gold);
}

/* Custom premium mobile toggler */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.15) !important;
    padding: 6px 10px;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23DCC7A3' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-color: var(--bg-black);
    overflow: hidden;
    padding-top: 80px;
}

.hero-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 400;
    color: var(--text-white);
    max-width: 600px;
}

.hero-title span {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--accent-gold);
}

.hero-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.btn-luxury-pill {
    background-color: var(--text-white);
    color: var(--bg-black) !important;
    border-radius: 50px;
    padding: 0.9rem 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    border: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.btn-luxury-pill:hover {
    background-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(220, 199, 163, 0.2);
}

/* Category Arched Cards */
.category-card {
    position: relative;
    height: 380px;
    border-radius: 200px 200px 24px 24px; /* Exact arched top, rounded base */
    overflow: hidden;
    margin-bottom: 25px;
    border: 1px solid var(--border-gray);
    background-color: var(--bg-card);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95) contrast(1.02);
    transition: all 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.06);
    filter: brightness(0.85) contrast(1.02);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.15) 50%, transparent 100%);
}

.category-info {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 2;
}

.category-name {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-white) !important;
    margin-bottom: 4px;
}

.shop-now-link {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-gray) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-card:hover .shop-now-link {
    color: var(--accent-gold) !important;
}

/* Trust Badges Row */
.trust-badges-bar {
    background-color: var(--bg-black);
    padding: 2.2rem 0;
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-badge-icon {
    font-size: 1.3rem;
    color: var(--accent-gold);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(220, 199, 163, 0.05);
    border: 1px solid rgba(220, 199, 163, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-badge-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2px;
    color: var(--text-white);
}

.trust-badge-desc {
    font-size: 0.7rem;
    color: var(--text-gray);
    margin: 0;
}

/* Product Cards exactly as mockup */
.product-card {
    background: transparent;
    border: none;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.product-img-wrapper {
    position: relative;
    height: 380px;
    border-radius: 24px; /* Curved container as mockup */
    overflow: hidden;
    background-color: var(--bg-card);
    border: 1px solid var(--border-gray);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-img-wrapper {
    border-color: var(--accent-gold);
    box-shadow: 0 12px 25px rgba(0,0,0,0.5);
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.badge-new {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--text-white);
    color: var(--bg-black);
    padding: 5px 12px;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.wishlist-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wishlist-btn:hover {
    background: var(--text-white);
    color: var(--bg-black);
    border-color: var(--text-white);
    transform: scale(1.08);
}

.product-details {
    padding: 1.2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.product-name-price-wrap {
    flex-grow: 1;
    padding-right: 15px;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-white);
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.product-price {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* White square dynamic shopping cart button */
.cart-icon-btn {
    background-color: var(--text-white);
    color: var(--bg-black);
    width: 44px;
    height: 44px;
    border-radius: 12px; /* Soft square rounded corner */
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-icon-btn:hover {
    background-color: var(--accent-gold);
    color: var(--text-white);
    transform: scale(1.08) rotate(5deg);
}

/* Trust / Value Props Bar at the bottom */
.brand-identity-bar {
    background-color: var(--bg-black);
    border-top: 1px solid var(--border-gray);
    padding: 2rem 0;
}

.brand-check-item {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-check-item i {
    color: var(--accent-gold);
    font-size: 0.8rem;
}

.signature-tagline {
    font-family: var(--font-signature);
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin: 0;
    line-height: 1;
}

/* Concierge general stylings */
.btn-outline-warning {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border-width: 1px;
    padding: 0.6rem 1.8rem;
    transition: all 0.3s ease;
}

.btn-outline-warning:hover {
    background-color: var(--accent-gold);
    color: var(--bg-black);
    border-color: var(--accent-gold);
}

/* Global text-muted override to pure white for dark theme readability */
.text-muted {
    color: var(--text-white) !important;
}

/* ==========================================================================
   MOBILE & RESPONSIVE DESIGN BOOTSTRAP POLISHES
   ========================================================================== */

@media (max-width: 991.98px) {
    /* Glass Collapsible Mobile Drawer */
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.96);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 1.8rem;
        border-radius: 20px;
        margin-top: 15px;
        border: 1px solid var(--border-gray);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    }
    
    .nav-link {
        padding: 12px 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 0.8rem;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }

    /* Hero section scaling */
    .hero-section {
        height: auto;
        padding-top: 140px;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .hero-desc {
        font-size: 0.85rem;
        margin-bottom: 1.8rem;
    }

    /* Dynamic arched image scaling to avoid squishing in 2 columns */
    .category-card {
        height: 250px;
        border-radius: 120px 120px 18px 18px;
    }

    .category-info {
        bottom: 15px;
        left: 15px;
    }

    .category-name {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .shop-now-link {
        font-size: 0.55rem;
    }

    /* Side-by-side product card height adjustment for mobile grids */
    .product-img-wrapper {
        height: 230px;
        border-radius: 18px;
    }

    .wishlist-btn {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
    }

    .badge-new {
        top: 12px;
        left: 12px;
        padding: 3px 8px;
        font-size: 0.55rem;
    }

    .product-details {
        padding: 0.8rem 0;
    }

    .product-name {
        font-size: 0.8rem;
        margin-bottom: 3px;
    }

    .product-price {
        font-size: 0.75rem;
    }

    .cart-icon-btn {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .cart-icon-btn i {
        font-size: 0.8rem;
    }

    /* Footer propositions bar */
    .brand-identity-bar {
        padding: 1.5rem 0;
    }

    .brand-identity-bar .d-flex {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
        text-align: center !important;
    }

    .signature-tagline {
        font-size: 2rem;
        margin-top: 5px;
    }
}

@media (max-width: 575.98px) {
    /* Extreme small screen (iPhone SE / mobile) aspect preservation */
    .category-card {
        height: 180px;
        border-radius: 90px 90px 12px 12px;
    }

    .product-img-wrapper {
        height: 175px;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    /* Checkout panels spacing */
    .payment-method-item {
        padding: 10px !important;
    }

    .payment-method-item label {
        font-size: 0.8rem !important;
    }

    .payment-method-item span.badge {
        font-size: 0.6rem !important;
    }
}

/* ==========================================================================
   ATELIER STORIES / CLIENT TESTIMONIALS SECTION
   ========================================================================== */
.testimonial-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-black) 100%);
    padding: 6rem 0;
    position: relative;
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
    overflow: hidden;
}

/* Background gold luxury ambient glow */
.testimonial-section::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(220, 199, 163, 0.04) 0%, transparent 70%);
    top: 10%;
    left: 5%;
    pointer-events: none;
    z-index: 1;
}

.testimonial-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(220, 199, 163, 0.05) 0%, transparent 70%);
    bottom: -10%;
    right: 5%;
    pointer-events: none;
    z-index: 1;
}

.testimonial-container {
    position: relative;
    z-index: 2;
}

/* Luxury Quote Decoration */
.testimonial-quote-icon {
    font-family: var(--font-heading);
    font-size: 8rem;
    line-height: 1;
    color: rgba(220, 199, 163, 0.07);
    position: absolute;
    top: -40px;
    left: 20px;
    pointer-events: none;
    user-select: none;
}

/* Testimonial slider wrapper */
.testimonial-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 300%; /* For 3 slides */
}

.testimonial-slide {
    width: 33.33333%;
    flex-shrink: 0;
    padding: 0 15px;
}

/* Glassmorphic premium card design */
.testimonial-card {
    background: rgba(21, 21, 21, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(220, 199, 163, 0.12);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(220, 199, 163, 0.4);
    box-shadow: 0 25px 50px rgba(220, 199, 163, 0.08);
}

/* Beautiful luxury avatar ring */
.avatar-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.8rem;
    position: relative;
}

.avatar-container::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px dashed rgba(220, 199, 163, 0.4);
    animation: rotateDashed 25s linear infinite;
}

@keyframes rotateDashed {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.client-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--bg-card);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* Rating Stars design */
.testimonial-stars {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(220, 199, 163, 0.5);
}

/* Testimonial Quote Text styling */
.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-white);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Verification and names */
.client-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.client-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 1px;
}

.client-role {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-gold);
    letter-spacing: 2px;
}

.client-verified {
    font-size: 0.65rem;
    color: var(--text-gray);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
}

.client-verified i {
    color: #28a745;
}

/* Custom testimonial slider dot indicators */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2.5rem;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.testimonial-dot:hover {
    background-color: rgba(220, 199, 163, 0.6);
}

.testimonial-dot.active {
    background-color: var(--accent-gold);
    transform: scale(1.4);
    box-shadow: 0 0 8px var(--accent-gold);
}

/* Responsive testimonial design */
@media (max-width: 768px) {
    .testimonial-section {
        padding: 4rem 0;
    }
    .testimonial-card {
        padding: 2.2rem 1.5rem;
    }
    .testimonial-quote {
        font-size: 1.15rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    .avatar-container {
        width: 80px;
        height: 80px;
        margin-bottom: 1.2rem;
    }
    .client-name {
        font-size: 1.05rem;
    }
}

/* ==========================================================================
   PREMIUM CART & TABLE OVERRIDES (DARK THEME COLOR PRESERVATION)
   ========================================================================== */
.table-dark {
    --bs-table-bg: var(--bg-card) !important;
    --bs-table-hover-bg: rgba(220, 199, 163, 0.05) !important;
    --bs-table-hover-color: var(--text-white) !important;
    color: var(--text-white) !important;
    border-color: var(--border-gray) !important;
}

.table-dark tr, .table-dark td, .table-dark th {
    background-color: transparent !important;
    color: var(--text-white) !important;
    border-color: var(--border-gray) !important;
}

.table-dark tbody tr:hover td {
    color: var(--accent-gold) !important;
    background-color: rgba(220, 199, 163, 0.03) !important;
}

.table-dark a {
    color: var(--text-white) !important;
}

.table-dark a:hover {
    color: var(--accent-gold) !important;
}

/* Additional dark theme input focus protection */
.form-control:focus {
    background-color: rgba(21, 21, 21, 0.98) !important;
    border-color: var(--accent-gold) !important;
    color: var(--text-white) !important;
    box-shadow: 0 0 10px rgba(220, 199, 163, 0.15) !important;
}

/* Premium Breadcrumbs Button Styling */
.luxury-breadcrumb-wrapper {
    user-select: none;
}

.luxury-breadcrumb-wrapper .breadcrumb-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-gray) !important;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.luxury-breadcrumb-wrapper .breadcrumb-btn:hover {
    background-color: var(--accent-gold);
    color: var(--bg-black) !important;
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 199, 163, 0.25);
}

.luxury-breadcrumb-wrapper .breadcrumb-btn-active {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    background-color: rgba(220, 199, 163, 0.06);
    border: 1px dashed rgba(220, 199, 163, 0.35);
    color: var(--accent-gold) !important;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.luxury-breadcrumb-wrapper .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.6rem;
    display: inline-flex;
    align-items: center;
    padding: 0 2px;
}
