/* ===== LAYERS COLLECTION - MAIN STYLESHEET ===== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #8b7355;
    --accent-color: #c9a88b;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --bg-light: #f8f8f8;
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    font-weight: 300; /* Make all text thinner */
    font-size: 0.9rem; /* Make all text slightly smaller */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500; /* Slightly thinner headers */
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== HEADER ===== */
.header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-top {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.8rem; /* Smaller text */
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact a {
    color: var(--white);
    margin-right: 1.5rem;
}

.header-contact a:hover {
    color: var(--accent-color);
}

.header-main {
    padding: 1.5rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 400; /* Thinner nav text */
    font-size: 0.85rem; /* Smaller nav text */
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.header-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.header-icons a {
    font-size: 1.1rem; /* Slightly smaller icons */
    color: var(--text-color);
    position: relative;
}

.header-icons a:hover {
    color: var(--secondary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 0.65rem; /* Smaller badge text */
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* ===== HERO SECTION WITH ZOOM ANIMATION ===== */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('../images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    /* Start with zoomed-in state */
    animation: heroZoomOut 8s ease-in-out forwards;
}

/* Hero zoom animation - starts zoomed in, then zooms out to normal */
@keyframes heroZoomOut {
    0% {
        background-size: 115% auto; /* Start slightly zoomed in (reduced from 120%) */
    }
    100% {
        background-size: cover; /* End at normal size */
    }
}

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

.hero-title {
    font-size: 4rem; /* Slightly smaller */
    margin-bottom: 1rem;
    letter-spacing: 3px;
    animation: fadeInUp 1s ease;
    font-weight: 500; /* Thinner */
}

.hero-subtitle {
    font-size: 1.3rem; /* Slightly smaller */
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem; /* Slightly smaller padding */
    font-weight: 400; /* Thinner */
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem; /* Smaller text */
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* ===== SECTIONS ===== */
.section-title {
    font-size: 2.2rem; /* Slightly smaller */
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 1px;
    color: var(--primary-color);
    font-weight: 500; /* Thinner */
}

.categories-section,
.featured-section,
.about-section {
    padding: 5rem 0;
}

.categories-section {
    background-color: var(--bg-light);
}

/* ===== CATEGORIES GRID ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.category-card {
    background-color: var(--white);
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.category-image {
    height: 400px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 1.6rem; /* Slightly smaller */
    margin: 1.5rem 0 0.5rem;
    color: var(--primary-color);
    font-weight: 500; /* Thinner */
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.85rem; /* Smaller */
}

.category-card .btn {
    margin-bottom: 2rem;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

/* Tablet - 3 columns */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Mobile & iPhone - ALWAYS 2 columns */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Smaller gap and text for better mobile fit */
    .product-card {
        font-size: 0.85rem;
    }
    
    .product-image {
        height: 280px;
    }
}

.product-card {
    background-color: var(--white);
    transition: var(--transition);
    overflow: hidden;
}

.product-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-image {
    height: 450px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-info h3 {
    font-size: 1.1rem; /* Slightly smaller */
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500; /* Thinner */
}

.product-price {
    font-size: 1rem; /* Slightly smaller */
    font-weight: 500; /* Thinner */
    color: var(--secondary-color);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background-color: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem; /* Slightly smaller */
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 500; /* Thinner */
}

.about-text p {
    font-size: 1rem; /* Slightly smaller */
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    font-weight: 500;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-links a:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
}

/* ===== UTILITIES ===== */
.text-center {
    text-align: center;
}

.no-products {
    text-align: center;
    font-size: 1.1rem; /* Slightly smaller */
    color: var(--text-light);
    padding: 3rem 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 968px) {
    .header-main {
        padding: 1rem 0;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .hero {
        height: 70vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .product-image,
    .category-image {
        height: 350px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .product-image,
    .category-image {
        height: 300px;
    }
    
    .categories-section,
    .featured-section,
    .about-section {
        padding: 3rem 0;
    }
}

/* Logo Image Styles - Fixed Height for Image Logo */
.logo-image {
    height: 50px;
    width: auto;
    max-height: 50px;
    object-fit: contain;
    display: block;
}

/* Logo Video Styles - SAME SIZE AS IMAGE */
.logo-video {
    height: 50px;
    width: auto;
    max-height: 50px;
    object-fit: contain;
    display: block;
    pointer-events: none; /* Prevent video controls */
}

@media (min-width: 768px) {
    .logo-image,
    .logo-video {
        height: 60px;
        max-height: 60px;
    }
}

@media (max-width: 767px) {
    .logo-image,
    .logo-video {
        height: 40px;
        max-height: 40px;
    }
}

/* Discount Ribbon Styles */
.discount-ribbon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #4ade80 0%, #16a34a 100%);
    color: white;
    padding: 8px 16px;
    font-weight: 600; /* Thinner */
    font-size: 0.85rem; /* Smaller */
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
    z-index: 5;
    transform: rotate(0deg);
    animation: pulse 2s ease-in-out infinite;
    letter-spacing: 0.5px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Price Styles with Discount */
.price-original {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.85rem; /* Smaller */
    margin-right: 0.5rem;
}

.price-discounted {
    color: #16a34a;
    font-weight: 600; /* Thinner */
    font-size: 1rem; /* Slightly smaller */
}

.price-original-large {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.1rem; /* Slightly smaller */
    margin-right: 1rem;
}

.price-discounted-large {
    color: #16a34a;
    font-weight: 600; /* Thinner */
    font-size: 1.6rem; /* Slightly smaller */
}

.product-price-section {
    margin-bottom: 1.5rem;
}

.price-savings {
    color: #16a34a;
    font-size: 0.95rem; /* Slightly smaller */
    font-weight: 500; /* Thinner */
    margin: 0.5rem 0;
}

.discount-expiry {
    color: var(--text-muted);
    font-size: 0.85rem; /* Smaller */
    font-style: italic;
}

.discount-expiry i {
    margin-right: 0.5rem;
}

/* Product Navigation Arrows */
.product-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem; /* Slightly smaller */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
    text-decoration: none;
}

.product-nav-arrow:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.product-nav-arrow.prev-product {
    left: -25px;
}

.product-nav-arrow.next-product {
    right: -25px;
}

/* Mobile Responsive for Navigation Arrows */
@media (max-width: 768px) {
    .product-nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
    
    .product-nav-arrow.prev-product {
        left: 10px;
    }
    
    .product-nav-arrow.next-product {
        right: 10px;
    }
}

/* Product Gallery Position Relative for Arrows */
.product-gallery {
    position: relative;
}

/* ===== SHIPPING COST HIGHLIGHT ===== */
.shipping-cost-highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    font-weight: 500;
}

.shipping-cost-highlight i {
    color: #f59e0b;
    margin-right: 0.5rem;
}
