/* clothing-app/style.css - Full Code - Reviewed */

/* General Body and Font Styles */
body {
    font-family: 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e9e9eb;
    color: #1d1d1f;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === KEYFRAME ANIMATIONS - START === */
@keyframes fadeInAndUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideInUpSmooth { /* Used for cart section on shop page previously, now cart page itself */
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScaleSmooth { /* For individual cart items */
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes subtleFadeInUp { /* For homepage elements */
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes ctaShine { /* For CTA button hover shine effect */
    0% { opacity: 0; transform: scale(1, 1) translate(-50%, -50%); }
    50% { opacity: 0.6; }
    100% { opacity: 0; transform: scale(60, 60) translate(-50%, -50%); }
}
/* === KEYFRAME ANIMATIONS - END === */


/* === HEADER STYLES - START === */
header {
    background-color: rgba(242, 242, 247, 0.8); 
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #1d1d1f;
    padding: 0.8rem 2%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    
    display: grid;
    grid-template-columns: auto 1fr auto; 
    align-items: center;
    gap: 15px; 
    width: 100%;
    box-sizing: border-box;
}

a.logo-link { display: inline-block; }
#site-logo { height: 45px; width: auto; display: block; }
h1.brand-name-centered { text-align: center; margin: 0; font-size: 1.8rem; font-weight: 600; }
header nav { justify-self: end; }
header nav ul { list-style: none; padding: 0; margin: 0; display: flex; }
header nav ul li { margin: 0 0 0 20px; }
header nav ul li:first-child { margin-left: 0; }
header nav ul li a {
    color: #007aff; text-decoration: none; font-weight: 500; font-size: 1rem;
    padding: 8px 12px; border-radius: 8px;
    transition: color 0.3s cubic-bezier(0.25, 0.1, 0.25, 1),
                background-color 0.3s cubic-bezier(0.25, 0.1, 0.25, 1),
                transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}
header nav ul li a:hover {
    color: #005ecb; background-color: rgba(0, 122, 255, 0.1); 
    transform: translateY(-2px) scale(1.03); 
}
/* === HEADER STYLES - END === */

/* Main Content Area (General for shop, checkout, policy pages) */
main {
    padding: 25px; max-width: 1280px; margin: 30px auto;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    animation: fadeInAndUp 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

/* Section Headings (General) */
section h2 {
    text-align: center; color: #1d1d1f; margin-bottom: 40px;
    font-size: 2.2rem; font-weight: 600; position: relative; padding-bottom: 15px;
}
section h2::after {
    content: ''; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px;
    background-color: #007aff; transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}
section:hover h2::after { width: 70px; }

/* === HOMEPAGE SPECIFIC STYLES - START === */
main.homepage { /* Override general 'main' for homepage */
    max-width: 100%; padding: 0; background-color: #fff;
    border-radius: 0; box-shadow: none; animation: none; /* Homepage main might not need the general main animation */
}
/* clothing-app/style.css */

/* ... other styles ... */

/* === HOMEPAGE SPECIFIC STYLES - START === */
/* ... other homepage styles ... */

/* In clothing-app/style.css */

/* === HOMEPAGE SPECIFIC STYLES - START === */
/* ... (main.homepage styles, other homepage styles if any) ... */

.hero-section {
    /* Background image restored using hero-bg-1.jpg */
    background-image: url('images/hero/hero-bg-2.jpg'); /* Fallback/initial image */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;   /* <<<< THIS IS THE KEY PROPERTY FOR PARALLAX */
    
    padding: 100px 20px;
    text-align: center;
    color: #fff;
    min-height: 70vh; /* Or your preferred height */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; 
    opacity: 1; /* Set by home.js after image load */
    /* Remove opacity transition if not doing slideshow anymore */
    /* transition: opacity 0.5s ease-in-out; */ 
    /* will-change: opacity; */
}

.hero-section::before {
    content: ''; 
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content { 
    position: relative; 
    z-index: 2; 
    max-width: 700px; 
    margin: 0 auto; 
}

.hero-content h2 { 
    font-size: 3rem; 
    font-weight: 700; 
    margin-bottom: 20px; 
    color: #fff; 
}
.hero-content h2::after { 
    display: none; 
} 
.hero-content p { 
    font-size: 1.3rem; 
    margin-bottom: 30px; 
    line-height: 1.7; 
}
.hero-title-animate, .hero-text-animate, .hero-cta-animate { 
    opacity: 0; 
    transform: translateY(30px); 
    animation: subtleFadeInUp 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards; 
}
.hero-text-animate { animation-delay: 0.2s; }
.hero-cta-animate { animation-delay: 0.4s; }

/* ... (Rest of your .cta-button, .featured-looks, etc. styles for homepage remain unchanged) ... */
/* === HOMEPAGE SPECIFIC STYLES - END === */

/* ... (All other sections of your style.css: product, cart, checkout, footer, responsive, etc., remain unchanged) ... */

.cta-button, .cta-button-secondary {
    display: inline-block; padding: 15px 35px; font-size: 1.1rem; font-weight: 500;
    text-decoration: none; border-radius: 8px;
    position: relative; overflow: hidden;
    transition: background-color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-button { background-color: #007aff; color: #fff; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
.cta-button:hover { background-color: #005ecb; transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3); }
.cta-button::after {
    content: ""; position: absolute; top: 50%; left: 50%;
    width: 5px; height: 5px; background: rgba(255, 255, 255, 0.5);
    opacity: 0; border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%); transform-origin: 50% 50%;
}
.cta-button:hover::after { animation: ctaShine 0.8s ease-out; }
.featured-looks { padding: 60px 20px; text-align: center; background-color: #f9f9f9; }
.featured-looks h2 { color: #1d1d1f; margin-bottom: 40px; }
.looks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.look-item {
    background-color: #fff; border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative; overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform, box-shadow;
}
.look-item-animate {
    opacity: 0; transform: translateY(40px);
    animation: subtleFadeInUp 0.7s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
.looks-grid .look-item-animate:nth-child(1) { animation-delay: 0.1s; }
.looks-grid .look-item-animate:nth-child(2) { animation-delay: 0.25s; }
.looks-grid .look-item-animate:nth-child(3) { animation-delay: 0.4s; }
.look-item:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 12px 30px rgba(0,0,0,0.15); }
.look-item img {
    width: 100%; height: auto; display: block; aspect-ratio: 2 / 3; object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.look-item:hover img { transform: scale(1.1); }
.look-item-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    color: #fff; padding: 40px 20px 20px 20px;
    transform: translateY(100%); opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.4s ease;
    text-align: left;
}
.look-item:hover .look-item-overlay { transform: translateY(0); opacity: 1; }
.look-item-overlay h4 { margin: 0 0 5px 0; font-size: 1.3rem; font-weight: 600; }
.look-item-overlay p { margin: 0; font-size: 0.9rem; opacity: 0.8; }
.call-to-action-bar { background-color: #333; color: #fff; padding: 40px 20px; text-align: center; }
.call-to-action-bar h3 { font-size: 1.8rem; margin-top: 0; margin-bottom: 20px; }
.cta-button-secondary {
    background-color: transparent; color: #fff; border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
    transition: background-color 0.4s ease, color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-button-secondary:hover { background-color: #fff; color: #333; transform: translateY(-3px) scale(1.05); box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2); }
body > main.homepage { max-width: none; }
/* === HOMEPAGE SPECIFIC STYLES - END === */

/* === PRODUCT LISTING STYLES (for shop.html) - START === */
.product-listing { /* This class is on the section in shop.html */
    /* No specific styles needed if general 'section' and 'main' styles are sufficient */
}

/* Bootstrap grid adjustments for products */
.product-grid .col-12,
.product-grid .col-sm-6,
.product-grid .col-lg-4,
.product-grid .col-xl-3 {
    animation: fadeInAndUp 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

/* Product card hover effects */
.product-grid .card {
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform, box-shadow;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Legacy styles for backward compatibility - now targeting Bootstrap structure */
.loading-message, .error-message {
    text-align: center; grid-column: 1 / -1; font-size: 1.2rem; color: #555; padding: 20px;
}
/* Legacy button styles for products - now using Bootstrap buttons */
.add-to-cart-btn {
    transition: background-color 0.3s cubic-bezier(0.25, 0.1, 0.25, 1),
                transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.25s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.3s ease;
    will-change: transform, background-color;
}

.add-to-cart-btn:disabled { 
    opacity: 0.7; 
    cursor: not-allowed;
}

.add-to-cart-btn:hover:not(:disabled) { 
    transform: translateY(-3px) scale(1.02); 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); 
}

.add-to-cart-btn:active:not(:disabled) { 
    transform: translateY(-1px) scale(0.98); 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}

/* Bootstrap product card specific styles */
.product-grid .card .price {
    font-size: 1.4rem;
    color: #007aff;
    font-weight: 600;
    margin-bottom: 10px;
    min-height: 1.4rem;
}

.product-grid .card .price .sale-price {
    color: #e74c3c;
    font-weight: 700;
}

.product-grid .card .price .original-price {
    color: #6c757d;
    font-size: 1.1rem;
    margin-left: 0.5rem;
}

.product-grid .card .price .price-na {
    color: #6c757d;
    font-style: italic;
}

/* Bootstrap form controls in product cards */
.product-grid .card .form-select {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-grid .card .form-select:focus {
    border-color: #007aff;
    box-shadow: 0 0 0 0.2rem rgba(0, 122, 255, 0.25);
}

/* === PRODUCT LISTING STYLES - END === */

/* === CART PAGE SPECIFIC STYLES - START === */
main.cart-page-container { /* Wrapper for cart.html main content */
    max-width: 900px; margin: 30px auto; padding: 25px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    animation: fadeInAndUp 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
.shopping-cart-detailed { /* Section inside cart-page-container */
    margin-top: 0;
}
.shopping-cart-detailed h2 {
    text-align: center; color: #1d1d1f; margin-bottom: 30px;
    font-size: 2.2rem; font-weight: 600; position: relative; padding-bottom:10px;
}
.shopping-cart-detailed h2::after { /* Re-add underline if desired */
    content: ''; position: absolute; left: 50%; bottom: 0; width: 70px; height: 3px;
    background-color: #007aff; transform: translateX(-50%);
    /* transition: width 0.4s cubic-bezier(0.25, 0.1, 0.25, 1); (no hover on h2 itself here) */
}

#cart-items-detailed-list { margin-bottom: 30px; }
.cart-item { /* Re-instating animation for cart items */
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 10px; border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0; /* Start hidden for animation */
    animation: fadeInScaleSmooth 0.5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    transition: background-color 0.3s ease;
}
.cart-item:hover { background-color: rgba(0, 0, 0, 0.02); }
.cart-item:last-child { border-bottom: none; }
.cart-item-info { display: flex; align-items: center; flex-grow: 1; }
.cart-item-info img {
    width: 70px; height: 70px; object-fit: cover; border-radius: 8px;
    margin-right: 20px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.cart-item-info img:hover { transform: scale(1.1) rotate(3deg); }
.cart-item-details { font-size: 1.15rem; }
.cart-item-details .item-name { font-weight: 500; color: #1d1d1f; }
.cart-item-details .item-variant { display: block; font-size: 0.9rem; color: #58585b; margin-top: 2px; margin-bottom: 4px; }
.cart-item-details .item-price { color: #58585b; font-size: 1rem; }
.cart-item-controls { display: flex; align-items: center; }
.cart-item-controls input[type="number"] {
    width: 45px; padding: 8px; text-align: center; border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px; margin: 0 12px; font-size: 1rem; font-weight: 500;
    transition: border-color 0.3s ease, box-shadow 0.3s ease; -moz-appearance: textfield;
}
.cart-item-controls input[type="number"]::-webkit-outer-spin-button,
.cart-item-controls input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-item-controls input[type="number"]:focus { border-color: #007aff; box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.25); outline: none; }
button.remove-from-cart-btn {
    background-color: #ff3b30; color: #fff; border: none; padding: 8px 12px; border-radius: 6px;
    cursor: pointer; font-size: 0.95rem; font-weight: 500;
    transition: background-color 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
button.remove-from-cart-btn:hover { background-color: #e02b21; transform: scale(1.05); }
button.remove-from-cart-btn:active { transform: scale(0.95); }

#cart-summary-detailed {
    border-top: 2px solid rgba(0, 0, 0, 0.08); padding-top: 20px;
    text-align: right; margin-top: 30px;
}
#cart-summary-detailed .summary-content p {
    font-size: 1.6rem; font-weight: 600; color: #1d1d1f; margin: 0 0 20px 0;
}
/* clothing-app/style.css */

/* ... (other styles) ... */

/* === CART PAGE SPECIFIC STYLES - START (or find existing section) === */
/* ... (other cart styles like .shopping-cart-detailed h2, etc.) ... */

#cart-summary-detailed .empty-cart-message {
    font-size: 1.1rem;
    color: #555;
    text-align: center; /* This centers the text "Your cart is currently empty." */
    padding: 20px 0;
}

/* Modify this rule for the "Go Shopping" button within the empty cart message */
#cart-summary-detailed .empty-cart-message a.cta-button-secondary {
    display: block;         /* Make the link a block element */
    width: -webkit-fit-content; /* For Safari/Chrome */
    width: -moz-fit-content;    /* For Firefox */
    width: fit-content;       /* Standard: size to content */
    margin-left: auto;      /* Center the block */
    margin-right: auto;     /* Center the block */
    margin-top: 15px;       /* Keep existing top margin */
    
    /* Inherited styles from .cta-button-secondary will apply for colors, padding, etc. */
    /* We are just controlling its display and centering here. */
    /* You can re-declare other .cta-button-secondary styles if needed, but usually not necessary */
    color: #007aff;         /* Re-apply if needed */
    border-color: #007aff;   /* Re-apply if needed */
    font-size: 1rem;         /* Re-apply if needed */
    padding: 10px 20px;      /* Re-apply if needed */
}

/* ... (rest of your #cart-summary-detailed .empty-cart-message a.cta-button-secondary:hover if you have it) ... */
/* ... (rest of cart page styles) ... */
/* === CART PAGE SPECIFIC STYLES - END === */
#cart-summary-detailed .empty-cart-message a.cta-button-secondary:hover {
    color: #fff; background-color: #007aff;
}
#proceed-to-checkout-btn { /* Button on cart.html */
    background-color: #007aff; color: #fff; border: none; padding: 14px 30px; border-radius: 8px;
    cursor: pointer; font-size: 1.15rem; font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease, opacity 0.3s ease;
}
#proceed-to-checkout-btn:hover:not(:disabled) { background-color: #005ecb; transform: translateY(-2px); }
#proceed-to-checkout-btn:disabled { background-color: #cccccc; color: #666666; cursor: not-allowed; opacity: 0.7; }
/* === CART PAGE SPECIFIC STYLES - END === */

/* === CHECKOUT PAGE SPECIFIC STYLES - START === */
main.checkout-page {
    max-width: 900px; margin: 30px auto; padding: 25px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    animation: fadeInAndUp 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
.checkout-page h2 { text-align: center; color: #1d1d1f; margin-bottom: 30px; font-size: 2rem; }
.checkout-layout { display: flex; flex-wrap: wrap; gap: 30px; }
.customer-form-section { flex: 2; min-width: 300px; }
.order-summary-section { flex: 1; min-width: 280px; background-color: rgba(245, 245, 247, 0.7); padding: 20px; border-radius: 8px; border: 1px solid rgba(0,0,0,0.05); align-self: flex-start; }
.customer-form-section h3, .order-summary-section h3 { font-size: 1.5rem; color: #333; margin-top: 0; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; color: #3c3c3e; }
.form-group input[type="text"], .form-group input[type="tel"], .form-group input[type="email"], .form-group textarea { width: 100%; padding: 12px; border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 6px; font-size: 1rem; box-sizing: border-box; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.form-group input:focus, .form-group textarea:focus { border-color: #007aff; box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.25); outline: none; }
.form-group textarea { resize: vertical; min-height: 80px; }
#checkout-cart-items { margin-bottom: 20px; }
ul.checkout-item-list { list-style: none; padding: 0; margin: 0; }
li.checkout-item { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.08); gap: 15px; }
li.checkout-item:last-child { border-bottom: none; }
.checkout-item-image { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.checkout-item-details { flex-grow: 1; min-width: 0; }
.checkout-item-name { font-weight: 500; display: block; word-break: break-word; }
.checkout-item-variant { font-size: 0.85rem; color: #58585b; display: block; margin-top: 2px; }
.checkout-item-price { font-weight: 500; font-size: 0.95rem; margin-left: auto; white-space: nowrap; }
.checkout-total { font-size: 1.3rem; font-weight: 600; text-align: right; margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(0,0,0,0.1); }
#confirm-order-btn { background-color: #007aff; color: #fff; border: none; padding: 14px 25px; border-radius: 8px; cursor: pointer; font-size: 1.1rem; font-weight: 500; width: 100%; margin-top: 20px; transition: background-color 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease; }
#confirm-order-btn:hover:not(:disabled) { background-color: #005ecb; transform: translateY(-2px); }
#confirm-order-btn:disabled { background-color: #cccccc; color: #666666; cursor: not-allowed; opacity: 0.7; }
/* === CHECKOUT PAGE SPECIFIC STYLES - END === */

/* === POLICY PAGE STYLES - START === */
main.policy-page-content { max-width: 800px; margin: 30px auto; padding: 25px 30px; background-color: #fff; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); backdrop-filter: none; -webkit-backdrop-filter: none; animation: fadeInAndUp 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;}
.policy-page-content section h2 { text-align: left; margin-top: 0; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 10px; font-size: 2rem;}
.policy-page-content section h2::after { display: none;  }
.policy-page-content h3 { font-size: 1.3rem; color: #333; margin-top: 30px; margin-bottom: 10px; }
.policy-page-content p { line-height: 1.7; margin-bottom: 15px; color: #333; }
.policy-page-content ul { margin-bottom: 15px; padding-left: 20px; }
.policy-page-content li { margin-bottom: 8px; }
/* === POLICY PAGE STYLES - END === */

/* In your style.css */

@media (max-width: 768px) {
    header {
        flex-direction: column; /* Stack logo/title and nav */
        align-items: center; /* Center items when stacked */
        padding: 1rem 2%;
    }

    /* If you have .header-content div wrapping logo and H1: */
    /* .header-content { 
        margin-bottom: 10px; 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
    } */
    
    /* If H1 (brand name) is a direct child of header like logo: */
    header h1.brand-name-centered {
        margin-top: 10px; /* Add some space below logo if stacked */
        margin-bottom: 15px; /* Space before nav */
        font-size: 1.6rem; /* Adjust size for mobile */
    }
    
    header nav {
        width: 100%; /* Allow nav to take full width for centering its content */
    }

    header nav ul {
        flex-direction: column; /* Stack nav items vertically */
        align-items: center;    /* Center nav items textually */
        width: 100%;            /* Ensure ul takes full width of nav */
        padding: 0; /* Reset padding */
    }

    header nav ul li {
        margin: 8px 0; /* Add vertical spacing between stacked nav items */
        /* margin-left: 0; (no longer needed if items are centered and stacked) */
    }
    header nav ul li:first-child {
        margin-left: 0; /* Ensure no extra margin on first item */
    }

    header nav ul li a {
        padding: 10px 15px; /* Adjust padding for better tap targets */
        display: block; /* Make the whole link area clickable */
        text-align: center; /* Center text within the link block */
        width: 100%; /* Make link take full width for easier tapping */
        box-sizing: border-box;
    }

    /* ... other existing responsive styles for main content, product grid etc. ... */
}

/* You might want even more specific adjustments for very small phones */
@media (max-width: 480px) {
    header h1.brand-name-centered {
        font-size: 1.5rem;
    }
    header nav ul li a {
        font-size: 0.95rem; /* Slightly smaller font for nav links */
    }
    /* ... other 480px styles ... */
}
/* Responsive Design */
@media (max-width: 768px) {
    header { flex-direction: column; padding: 1rem 2%; }
    .header-content { margin-bottom: 10px; }
    header nav ul { justify-content: center; }
    main, .checkout-page main, .policy-page-content, .cart-page-container { padding: 20px; margin: 20px 15px; border-radius: 12px; }
    .product-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; }
    .product-item { padding: 20px; border-radius: 10px; }
    .cart-item { flex-direction: column; align-items: stretch; padding: 15px 5px;}
    .cart-item-info { margin-bottom: 10px; }
    .cart-item-info img { width: 60px; height: 60px; }
    .cart-item-controls { width: 100%; justify-content: space-between; margin-top: 10px; }
    .checkout-layout { flex-direction: column-reverse; }
}

@media (max-width: 480px) {
    body { font-size: 15px; }
    h1.brand-name-centered { font-size: 1.6rem; }
    #site-logo { height: 40px; }
    main, .checkout-page main, .policy-page-content, .cart-page-container { padding: 15px; margin: 15px 10px; border-radius: 10px; }
    section h2, .shopping-cart-detailed h2, .checkout-page h2, .policy-page-content section h2 { font-size: 1.9rem; margin-bottom: 30px; }
    .policy-page-content section h2 { padding-bottom: 8px; }
    .product-item { padding: 15px; }
    .product-item h3 { font-size: 1.4rem; }
    .product-item .price { font-size: 1.2rem; min-height: 1.2rem; }
    .add-to-cart-btn { padding: 10px 20px; font-size: 1rem; }
    .option-group { width: 100%; flex-direction: column; align-items: flex-start; }
    .product-options select { width: 100%; }
    .hero-content h2 { font-size: 2.2rem; }
    .hero-content p { font-size: 1.1rem; }
    .cta-button, .cta-button-secondary { padding: 12px 25px; font-size: 1rem; }
    .call-to-action-bar h3 { font-size: 1.5rem; }
    .looks-grid { grid-template-columns: 1fr; }
    #proceed-to-checkout-btn, #confirm-order-btn { font-size: 1.05rem; padding: 12px 20px;}
}
/* clothing-app/style.css */

/* === FOOTER STYLES - UPDATED for Centering === */
footer {
    /* text-align: center; (This can remain or be removed if flex handles all alignment) */
    padding: 30px 20px;
    margin-top: 50px;
    background-color: rgba(229, 229, 234, 0.8);
    backdrop-filter: blur(15px) saturate(160%);
    -webkit-backdrop-filter: blur(15px) saturate(160%);
    color: #3c3c3e;
    font-size: 0.95rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    animation: fadeInAndUp 1s cubic-bezier(0.25, 0.1, 0.25, 1) 0.5s forwards;
    opacity: 0;

    /* ADD THESE LINES FOR CENTERING THE BLOCKS */
    display: flex;
    flex-direction: column; /* Stack .footer-links above .copyright */
    align-items: center;    /* Center these stacked blocks horizontally */
}

.footer-links {
    margin-bottom: 15px;
    display: flex; /* Arrange links in a row */
    flex-wrap: wrap; /* Allow links to wrap on smaller screens */
    justify-content: center; /* Center the links themselves if they wrap */
}

.footer-links a {
    color: #007aff;
    text-decoration: none;
    margin: 5px 15px; /* Add some vertical margin if they wrap, adjust horizontal */
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #005ecb;
    text-decoration: underline;
}

.copyright { /* This div will now be centered by the footer's flex properties */
    /* text-align: center; (Can remain if you want text inside P to be explicitly centered, though it should inherit) */
}

.copyright p {
    margin: 0;
    font-size: 0.9rem;
    color: #58585b;
}
/* === FOOTER STYLES - END === */

/* Bootstrap Footer Styles */
footer.bg-dark {
    background-color: #1a1a1a !important;
    border-top: 1px solid #333;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

footer.bg-dark a {
    color: #ffffff !important;
    transition: color 0.3s ease, opacity 0.3s ease;
}

footer.bg-dark a:hover {
    color: #007bff !important;
    opacity: 0.8;
}

footer.bg-dark .text-muted {
    color: #adb5bd !important;
}

footer.bg-dark .text-danger {
    color: #dc3545 !important;
}

/* Responsive footer adjustments */
@media (max-width: 767.98px) {
    footer.bg-dark .d-flex {
        text-align: center !important;
    }
    
    footer.bg-dark .col-12 {
        text-align: center !important;
    }
}

/* ADD THIS NEW RULE */
/* Legacy hover effects - keeping for backward compatibility but adapting to Bootstrap */
.product-item .product-image-container {
    position: relative;
    width: 100%;
    height: 280px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.product-item img.product-main-image.primary-view {
    opacity: 1;
    z-index: 0;
}

.product-item img.product-main-image.hover-view {
    opacity: 0;
    z-index: 1;
}

.product-item .product-image-container:hover img.product-main-image.hover-view {
    opacity: 1;
}

.product-item .product-image-container:hover img.product-main-image.primary-view {
    opacity: 0;
}
/* clothing-app/style.css */

/* ... (all your existing styles) ... */

/* clothing-app/lookbook.css */

/* Specific smooth scroll for pages using this stylesheet, if body has the class */
html.lookbook-active-page {
    scroll-behavior: smooth;
}

main.lookbook-page {
    max-width: 100%; /* Allow full width for an immersive gallery */
    padding: 0; /* Reset padding, sections will handle their own */
    background-color: #f0f2f5; /* Light neutral background for the page */
    animation: none; /* Remove general main animation if this page has its own flow */
    box-shadow: none; /* Remove general main shadow */
    border-radius: 0; /* Remove general main border-radius */
    margin-top: 0; /* Remove general main margin if header is sticky */
    margin-bottom: 0;
}

.lookbook-intro {
    text-align: center;
    padding: 50px 20px 60px 20px;
    background-color: #ffffff; /* Clean white background for the intro */
    margin-bottom: 30px; /* Space between intro and the image grid */
}

.lookbook-intro h2 {
    font-size: 2.8rem;
    color: #2c3e50; /* A sophisticated dark blue/grey for headings */
    margin-top: 0; /* Resetting default h2 margin */
    margin-bottom: 15px;
    font-weight: 600;
    position: relative; /* For the ::after pseudo-element */
    padding-bottom: 10px; /* Space for the underline */
}
.lookbook-intro h2::after { 
    content: ''; 
    position: absolute; 
    left: 50%; 
    bottom: 0; 
    width: 60px; 
    height: 3px;
    background-color: #3498db; /* An accent blue for the underline */
    transform: translateX(-50%);
}

.lookbook-intro p {
    font-size: 1.15rem;
    color: #555; /* Softer grey for paragraph text */
    max-width: 750px;
    margin: 0 auto; /* Center the paragraph block */
    line-height: 1.7;
}

/* Grid container for Lookbook Images */
.image-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive columns */
    gap: 20px; /* Gap between items */
    padding: 0 20px 50px 20px; /* Padding around the grid */
    max-width: 1800px; /* Max width for the grid container itself */
    margin: 0 auto; /* Center the grid */
}

/* Individual lookbook item styling */
/* Individual lookbook item styling */
/* Individual lookbook item styling */
.gallery-image-item {
    /* ... other styles ... */
    opacity: 0;
    transform: translateY(40px) scale(0.98); /* Initial state for entry animation */
    
    /* MODIFIED: 'transform' transition is primarily for the initial reveal.
       JavaScript will handle parallax smoothing. A very short duration here
       ensures the hand-off from reveal to JS parallax is smooth.
       Or, you could remove 'transform' from this transition if the reveal
       is handled differently or if JS fully overrides from the start.
    */
    transition: opacity 0.5s cubic-bezier(0.645, 0.045, 0.355, 1),
                transform 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000), /* Kept for initial reveal from animate-on-scroll to is-visible */
                box-shadow 0.3s ease-in-out;
    will-change: opacity, transform;
}
.gallery-image-item.is-visible { /* Class added by JavaScript (Intersection Observer) */
    opacity: 1;
    transform: translateY(0) scale(1);
}

.gallery-image-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15); /* Enhanced shadow on hover */
}

.gallery-image-item img {
    width: 100%;
    height: auto; /* Let image determine its height, allowing varied aspect ratios */
    display: block; /* Removes extra space below image */
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1); /* Smooth zoom effect */
}

.gallery-image-item:hover img {
    transform: scale(1.05); /* Slight zoom on item hover */
}

/* Caption Overlay Styles (for item name on hover) */
.gallery-image-item .lookbook-item-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
    padding: 20px 15px 15px 15px;
    box-sizing: border-box;
    text-align: center;
    
    opacity: 0;
    transform: translateY(20px); /* Start slightly down */
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    will-change: opacity, transform;
    pointer-events: none; /* Allow hover on image behind if needed, though not an issue here */
}

.gallery-image-item:hover .lookbook-item-caption-overlay {
    opacity: 1;
    transform: translateY(0); /* Slide up into view */
}

.lookbook-item-caption-overlay h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Slight text shadow for readability */
}

/* Ensure general 'main' styles from style.css do not overly restrict lookbook page if it's full width */
body > main.lookbook-page { /* More specific selector if needed */
    max-width: none;
}

/* Responsive adjustments for Lookbook */
@media (max-width: 992px) { /* Tablet and larger mobile */
    .image-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
        padding: 0 15px 40px 15px;
    }
    .lookbook-intro h2 { font-size: 2.2rem; }
    .lookbook-intro p { font-size: 1.05rem; }
}

@media (max-width: 576px) { /* Smaller mobile */
    .image-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
        gap: 10px;
        padding: 0 10px 30px 10px;
    }
     .lookbook-intro h2 { font-size: 1.8rem; }
    .lookbook-intro p { font-size: 1rem; }
}

/* === MAJOR DESKTOP LAYOUT FIXES FOR 1080P, 2K, 4K === */

/* Reset Bootstrap container behavior for better desktop experience */
@media (min-width: 992px) {
    .container-fluid {
        max-width: none !important;
        width: 95% !important;
        margin: 0 auto;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .container {
        max-width: 1200px !important;
        width: 100% !important;
        margin: 0 auto;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1200px) {
    .container-fluid {
        width: 90% !important;
        max-width: 1600px !important;
        padding-left: 3rem;
        padding-right: 3rem;
    }
    
    .container {
        max-width: 1400px !important;
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1600px) {
    .container-fluid {
        width: 85% !important;
        max-width: 2000px !important;
        padding-left: 4rem;
        padding-right: 4rem;
    }
    
    .container {
        max-width: 1800px !important;
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

/* === 4K AND ULTRA-WIDE DISPLAY SUPPORT === */
@media (min-width: 2560px) {
    .container-fluid {
        width: 80% !important;
        max-width: 2400px !important;
        padding-left: 5rem;
        padding-right: 5rem;
    }
    
    .container {
        max-width: 2200px !important;
        padding-left: 5rem;
        padding-right: 5rem;
    }
    
    /* Shop page 4K adjustments */
    .product-grid.row {
        grid-template-columns: repeat(auto-fit, minmax(520px, 1fr)) !important;
        gap: 4rem !important;
    }
    
    .product-grid .card-img-top {
        height: 620px !important;
    }
    
    .product-grid .card-body {
        padding: 3rem !important;
    }
    
    /* Lookbook page 4K adjustments */
    #gallery-grid.row {
        grid-template-columns: repeat(auto-fit, minmax(520px, 1fr)) !important;
        gap: 4rem !important;
    }
    
    .gallery-item .card-img-top {
        height: 600px !important;
    }
    
    .gallery-item .position-relative {
        height: 600px !important;
    }
    
    /* Featured looks 4K adjustments */
    .featured-looks .card-img-top {
        height: 620px !important;
    }
    
    /* Typography scaling for 4K */
    .display-4 {
        font-size: 4rem !important;
    }
    
    .lead {
        font-size: 1.4rem !important;
    }
    
    .btn-lg {
        padding: 1rem 2rem !important;
        font-size: 1.2rem !important;
    }
}

/* === ULTRA-WIDE AND 8K DISPLAY SUPPORT === */
@media (min-width: 3440px) {
    .container-fluid {
        width: 75% !important;
        max-width: 3000px !important;
        padding-left: 6rem;
        padding-right: 6rem;
    }
    
    .product-grid.row,
    #gallery-grid.row {
        grid-template-columns: repeat(auto-fit, minmax(600px, 1fr)) !important;
        gap: 5rem !important;
    }
    
    .product-grid .card-img-top,
    .gallery-item .card-img-top,
    .gallery-item .position-relative {
        height: 720px !important;
    }
    
    .featured-looks .card-img-top {
        height: 700px !important;
    }
}

/* === GENERAL IMAGE ASPECT RATIO FIXES === */
.card-img-top {
    aspect-ratio: 3/4; /* Consistent aspect ratio for all product/lookbook images */
    object-fit: contain; /* Show full image without cropping */
    object-position: center;
    width: 100%;
    background-color: #f8f9fa; /* Light background in case image doesn't fill container */
}

/* Override for shop page specifically to show full model pictures */
.product-grid .card-img-top,
.product-grid .product-main-image {
    object-fit: contain !important; /* Ensure full model is visible */
    background-color: #fff !important; /* Clean white background */
    padding: 0.5rem !important; /* Small padding around image */
    height: 280px !important; /* Fixed height for consistency */
}

/* Ensure product image container has proper sizing for Bootstrap cards */
.product-grid .product-image-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Bootstrap card image hover effects for shop page */
.product-grid .card .product-main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
}

.product-grid .card .product-main-image.primary-view {
    opacity: 1;
    z-index: 1;
}

.product-grid .card .product-main-image.hover-view {
    opacity: 0;
    z-index: 2;
}

/* Ensure images never appear narrow by setting minimum widths */
@media (min-width: 768px) {
    .card {
        min-width: 250px;
    }
}

@media (min-width: 992px) {
    .card {
        min-width: 300px;
    }
}

@media (min-width: 1200px) {
    .card {
        min-width: 350px;
    }
}

@media (min-width: 1600px) {
    .card {
        min-width: 400px;
    }
}

/* === ENHANCED HOVER EFFECTS FOR LARGE SCREENS === */
@media (min-width: 1200px) {
    .card {
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    }
    
    .card:hover {
        transform: translateY(-8px) scale(1.02) !important;
        box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
    }
    
    .card-img-top {
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    }
    
    .card:hover .card-img-top {
        transform: scale(1.08) !important;
    }
}

/* === RESPONSIVE TYPOGRAPHY SCALING === */
@media (min-width: 1600px) {
    .card-title {
        font-size: 1.4rem !important;
    }
    
    .card-text {
        font-size: 1.1rem !important;
    }
    
    .btn {
        font-size: 1.05rem !important;
        padding: 0.6rem 1.4rem !important;
    }
}

@media (min-width: 1920px) {
    .card-title {
        font-size: 1.5rem !important;
    }
    
    .card-text {
        font-size: 1.15rem !important;
    }
    
    .btn {
        font-size: 1.1rem !important;
        padding: 0.7rem 1.6rem !important;
    }
}

/* === GALLERY OVERLAY FIXES === */
.gallery-overlay {
    background: linear-gradient(transparent, rgba(0,0,0,0.8)) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    pointer-events: none;
}

.gallery-item .card:hover .gallery-overlay {
    opacity: 1 !important;
    pointer-events: auto;
}

/* Ensure all gallery images have consistent behavior */
.gallery-image {
    transition: transform 0.3s ease !important;
    object-fit: cover !important;
    object-position: center !important;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05) !important;
}

/* === MOBILE-FIRST RESPONSIVE FIXES === */
/* Mobile (default) */
.gallery-item .card-img-top,
.featured-looks .card-img-top,
.gallery-image {
    height: 250px;
    object-fit: cover;
    object-position: center;
}

/* Tablet */
@media (min-width: 576px) {
    .gallery-item .card-img-top,
    .featured-looks .card-img-top,
    .gallery-image {
        height: 280px;
    }
}

@media (min-width: 768px) {
    .gallery-item .card-img-top,
    .featured-looks .card-img-top,
    .gallery-image {
        height: 320px;
    }
}

/* Override any inline styles in lookbook that might conflict */
.gallery-item img[style*="height"] {
    height: unset !important;
}

.gallery-item .position-relative[style*="height"] {
    height: unset !important;
}

/* Ensure gallery overlays work on all devices */
@media (max-width: 991px) {
    .gallery-overlay {
        opacity: 0.8 !important; /* Show overlay on mobile/tablet for better UX */
    }
    
    .gallery-item .card:hover .gallery-overlay {
        opacity: 1 !important;
    }
}

/* === FEATURED LOOKS OVERLAY STYLING === */
.featured-overlay {
    background: linear-gradient(transparent, rgba(0,0,0,0.7)) !important;
    opacity: 0.8 !important;
    transition: opacity 0.3s ease !important;
}

.featured-looks .card:hover .featured-overlay {
    opacity: 1 !important;
}

/* === CART ITEM IMAGE STYLING === */
.cart-item-image {
    border: 2px solid #e9ecef !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.cart-item-image:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Cart item row styling */
.cart-item-row {
    transition: background-color 0.2s ease;
    padding: 1.5rem !important;
}

.cart-item-row:hover {
    background-color: rgba(0, 123, 255, 0.03);
}

/* Enhanced cart item layout */
.cart-item-row .row {
    min-height: 180px;
    align-items: center;
}

/* Larger quantity controls for bigger cart items */
.cart-item-row .input-group {
    max-width: 140px !important;
}

.cart-item-row .quantity-decrease,
.cart-item-row .quantity-increase {
    padding: 0.5rem 0.75rem !important;
    font-size: 1rem !important;
}

.cart-item-row .item-quantity-input {
    padding: 0.5rem 0.25rem !important;
    font-size: 1rem !important;
    min-width: 55px !important;
}

/* Remove button styling */
.cart-item-row .remove-from-cart-btn {
    padding: 0.5rem 1.5rem !important;
    font-size: 0.95rem !important;
}

/* Responsive adjustments for cart items */
@media (max-width: 768px) {
    .cart-item-image {
        width: 130px !important;
        height: 130px !important;
    }
    
    .cart-item-row {
        padding: 1rem !important;
    }
    
    .cart-item-row .d-flex {
        gap: 1rem !important;
    }
}

@media (max-width: 576px) {
    .cart-item-image {
        width: 110px !important;
        height: 110px !important;
    }
    
    .cart-item-row .row {
        min-height: 150px;
    }
}

/* === LOOKBOOK GALLERY ALIGNMENT FIXES === */
/* Fix lookbook gallery grid alignment for all devices */
#gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 575.98px) {
    /* For phones - single column layout */
    #gallery-grid {
        grid-template-columns: 1fr;
        padding: 0 0.5rem;
    }
    
    .gallery-item {
        margin-bottom: 1rem;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    /* For larger phones and small tablets */
    #gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    /* For tablets */
    #gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    /* For desktop and larger */
    #gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Ensure consistent image heights */
.gallery-item .card-img-top {
    height: 360px;
    object-fit: cover;
    object-position: center;
}

/* Ensure card has consistent height */
.gallery-item .card {
    height: 100%;
}

/* Fix spacing on gallery items */
.gallery-item {
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
}

.gallery-item.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure gallery overlays have correct positioning */
.gallery-overlay {
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%) !important;
}

/* Lookbook Load More Button Container */
.load-more-container {
    grid-column: 1 / -1;
    padding: 2rem 0;
    margin-top: 1.5rem;
}

#load-more-btn {
    transition: all 0.3s ease;
}

#load-more-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}