/* --- ATELIER THEME VARIABLES --- */
:root {
    --primary-dark: #1c1c1c;
    --primary-light: #f3f4f1; /* Soft Sage/Grey */
    --accent-color: #c19a6b; /* Muted Bronze */
    --text-main: #333;
    --text-muted: #666;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Manrope', sans-serif;
    --border-radius: 4px; /* Sharp, classic corners */
}

body {
    background-color: var(--primary-light);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.btn-atelier {
    background-color: var(--primary-dark);
    color: white;
    border: 1px solid var(--primary-dark);
    padding: 12px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 0;
    transition: all 0.3s;
}

.btn-atelier:hover {
    background-color: transparent;
    color: var(--primary-dark);
}

.btn-outline-atelier {
    border: 1px solid var(--primary-dark);
    color: var(--primary-dark);
    border-radius: 0;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 8px 20px;
}

.btn-outline-atelier:hover, .btn-outline-atelier.active {
    background-color: var(--primary-dark);
    color: white;
}

/* --- NAVIGATION --- */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1.2rem 0;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.4rem;
}

.cart-icon-wrap {
    position: relative;
    cursor: pointer;
    margin-left: 20px;
}

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

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #dcdcd9;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    
    /* [INSTRUCTION] HERO BACKGROUND IMAGE:
       1. Save your hero image as 'hero.jpg' in your 'images' folder.
       2. Update the url() below.
       Example: background-image: url('../images/hero.jpg');
    */
    background-image: url('../images/hero-model.jpg');
    
    background-size: cover;
    background-position: center;
    opacity: 0.9;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

/* --- PRODUCTS / CARDS (REDESIGNED) --- */
.product-card {
    background: #fff;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #eee;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--accent-color);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: #f8f8f8;
}

/* This ensures any real image you add fits perfectly */
.product-image-container img, 
.product-image-container .img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-image-container img,
.product-card:hover .product-image-container .img-placeholder {
    transform: scale(1.1);
}

/* Card Overlay Actions */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 28, 28, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.product-card:hover .card-overlay {
    opacity: 1;
}

.overlay-btn {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    transform: translateY(20px);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.overlay-btn:hover {
    background: var(--accent-color);
    color: #fff;
}

.product-card:hover .overlay-btn {
    transform: translateY(0);
}

/* Stagger animation */
.product-card:hover .overlay-btn:nth-child(1) { transition-delay: 0.05s; }
.product-card:hover .overlay-btn:nth-child(2) { transition-delay: 0.1s; }

/* Card Info */
.product-info {
    padding: 1.5rem;
    text-align: center;
    background: white;
    z-index: 2;
    position: relative;
}

.product-category {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 0.5rem;
    display: block;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.product-price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-body);
}

/* --- PLACEHOLDERS --- */
.img-placeholder {
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    height: 100%;
}

.ratio-square { aspect-ratio: 1/1; }
.ratio-landscape { aspect-ratio: 16/9; }

/* --- OFFCANVAS CART --- */
.offcanvas { background-color: #fff; }
.cart-item { display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px solid #eee; }

/* Ensures cart thumbnails look good */
.cart-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; }

/* --- TOAST --- */
.custom-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-dark);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    z-index: 2000;
    display: none;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-overlay { background: rgba(255,255,255,0.85); }
}
