/* 
 * Maison Threadz - Main Stylesheet
 * Imports: Tailwind and FontAwesome are loaded via CDN in HTML head.
 * Fonts: Playfair Display (Serif) & Inter (Sans)
 */

/* ==============================================
   Global & Utility
   ============================================== */
:root {
    --color-primary: #1a1a1a;
    --color-secondary: #8b7355;
    --color-accent: #c19a6b;
    --color-light: #f5f3ef;
    --color-dark: #0a0a0a;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

.font-sans {
    font-family: 'Inter', sans-serif;
}

/* ==============================================
   Components
   ============================================== */

/* Logo */
.brand-logo .threadz {
    color: var(--color-secondary);
}

/* Buttons */
.btn-primary {
    background-color: var(--color-primary);
    color: white;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: var(--color-dark);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: white;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background-color: var(--color-accent);
}

/* Product Card */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.product-image {
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Category Tabs */
.category-tab {
    border: 1px solid transparent;
}
.category-tab:hover:not(.active) {
    background-color: #f3f4f6;
}

/* Form Elements */
input:focus, textarea:focus, select:focus {
    border-color: var(--color-secondary) !important;
    outline: none;
    box-shadow: 0 0 0 1px var(--color-secondary);
}

/* Contact Cards */
.contact-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* ==============================================
   Animations & Transitions
   ============================================== */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Load Spinner */
.fa-spin {
    animation: fa-spin 2s infinite linear;
}
@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}