/* TOMIKE COUTURE Design System
Modern African Fashion Brand - Sophisticated African-inspired palette
All colors MUST be HSL.
*/

:root {
    --background: 35 20% 98%;
    --foreground: 20 10% 15%;
    --card: 0 0% 100%;
    --card-foreground: 20 10% 15%;
    --popover: 0 0% 100%;
    --popover-foreground: 20 10% 15%;
    --primary: 15 25% 25%;
    --primary-foreground: 35 20% 98%;
    --secondary: 25 85% 55%;
    --secondary-foreground: 20 10% 15%;
    --muted: 35 15% 93%;
    --muted-foreground: 25 10% 45%;
    --accent: 35 15% 93%;
    --accent-foreground: 20 10% 15%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 35 20% 98%;
    --border: 35 12% 88%;
    --input: 35 12% 88%;
    --ring: 15 25% 25%;
    --radius: 0.75rem;
    
    /* Sophisticated African-inspired palette */
    --warm-cream: 35 25% 96%;
    --sand: 35 20% 90%;
    --terracotta: 15 75% 45%;
    --burnt-orange: 25 85% 55%;
    --deep-brown: 15 25% 25%;
    --gold: 45 90% 60%;
    --forest: 120 25% 30%;
    
    /* Design tokens */
    --gradient-primary: linear-gradient(135deg, hsl(var(--terracotta)), hsl(var(--burnt-orange)));
    --gradient-warm: linear-gradient(135deg, hsl(var(--burnt-orange)), hsl(var(--gold)));
    --gradient-subtle: linear-gradient(180deg, hsl(var(--warm-cream)), hsl(var(--sand)));
    --gradient-earth: linear-gradient(45deg, hsl(var(--deep-brown)), hsl(var(--terracotta)));
    --shadow-elegant: 0 10px 30px -10px hsl(var(--deep-brown) / 0.15);
    --shadow-hover: 0 20px 40px -10px hsl(var(--deep-brown) / 0.2);
    --shadow-soft: 0 4px 20px -5px hsl(var(--burnt-orange) / 0.1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-color: hsl(var(--border));
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Typography */
.font-display {
    font-family: 'Playfair Display', serif;
}

.font-body {
    font-family: 'Inter', sans-serif;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: hsl(var(--foreground));
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 32rem;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
    .section-subtitle {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3.75rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-earth {
    background: var(--gradient-earth);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-warm {
    background: var(--gradient-warm);
}

.bg-gradient-subtle {
    background: var(--gradient-subtle);
}

.bg-gradient-earth {
    background: var(--gradient-earth);
}

.bg-background-blur {
    background: hsl(var(--background) / 0.95);
}

.shadow-elegant {
    box-shadow: var(--shadow-elegant);
}

.shadow-hover {
    box-shadow: var(--shadow-hover);
}

.shadow-soft {
    box-shadow: var(--shadow-soft);
}

.transition-smooth {
    transition: var(--transition-smooth);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.min-h-screen {
    min-height: 100vh;
}

/* Grid System */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .md\:flex {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

/* Flexbox */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.space-x-3 > * + * {
    margin-left: 0.75rem;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.space-x-6 > * + * {
    margin-left: 1.5rem;
}

.space-x-8 > * + * {
    margin-left: 2rem;
}

.space-y-1 > * + * {
    margin-top: 0.25rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

/* Spacing */
.p-0 { padding: 0; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.pb-3 { padding-bottom: 0.75rem; }

.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }

/* Positioning */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.inset-x-4 {
    left: 1rem;
    right: 1rem;
}

.top-0 { top: 0; }
.top-4 { top: 1rem; }
.bottom-4 { bottom: 1rem; }
.bottom-8 { bottom: 2rem; }
.left-4 { left: 1rem; }
.right-4 { right: 1rem; }
.left-1\/2 { left: 50%; }

.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* Transforms */
.transform {
    transform: var(--tw-transform);
}

.-translate-x-1\/2 {
    transform: translateX(-50%);
}

.translate-y-2 {
    transform: translateY(0.5rem);
}

.translate-y-4 {
    transform: translateY(1rem);
}

/* Display */
.hidden {
    display: none;
}

.block {
    display: block;
}

.inline-flex {
    display: inline-flex;
}

@media (min-width: 768px) {
    .md\:hidden {
        display: none;
    }
    .md\:flex {
        display: flex;
    }
    .md\:text-7xl {
        font-size: 4.5rem;
    }
    .md\:text-5xl {
        font-size: 3rem;
    }
    .md\:text-xl {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .lg\:text-8xl {
        font-size: 6rem;
    }
}

/* Sizing */
.w-2 { width: 0.5rem; }
.w-full { width: 100%; }
.h-2 { height: 0.5rem; }
.h-4 { width: 1rem; height: 1rem; }
.h-5 { width: 1.25rem; height: 1.25rem; }
.h-6 { width: 1.5rem; height: 1.5rem; }
.h-8 { width: 2rem; height: 2rem; }
.h-12 { width: 3rem; height: 3rem; }
.h-16 { height: 4rem; }
.h-32 { height: 8rem; }
.h-80 { height: 20rem; }
.h-full { height: 100%; }

.w-16 { width: 4rem; }
.w-32 { width: 8rem; }

.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-width-5xl { max-width: 64rem; }

/* Aspect Ratio */
.aspect-square {
    aspect-ratio: 1 / 1;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

/* Border */
.border {
    border-width: 1px;
}

.border-0 {
    border-width: 0;
}

.border-2 {
    border-width: 2px;
}

.border-t {
    border-top-width: 1px;
}

.border-b {
    border-bottom-width: 1px;
}

.border-dashed {
    border-style: dashed;
}

.border-border {
    border-color: hsl(var(--border));
}

.border-foreground {
    border-color: hsl(var(--foreground));
}

.border-secondary {
    border-color: hsl(var(--secondary));
}

.border-secondary-30 {
    border-color: hsl(var(--secondary) / 0.3);
}

.border-white-20 {
    border-color: hsl(0 0% 100% / 0.2);
}

.border-white-30 {
    border-color: hsl(0 0% 100% / 0.3);
}

.border-gray-700 {
    border-color: hsl(0 0% 26%);
}

/* Border Radius */
.rounded-full {
    border-radius: 9999px;
}

.rounded-lg {
    border-radius: var(--radius);
}

.rounded-t-lg {
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

/* Colors */
.text-white { color: white; }
.text-white-60 { color: hsl(0 0% 100% / 0.6); }
.text-white-80 { color: hsl(0 0% 100% / 0.8); }
.text-white-90 { color: hsl(0 0% 100% / 0.9); }
.text-foreground { color: hsl(var(--foreground)); }
.text-secondary { color: hsl(var(--secondary)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-background { color: hsl(var(--background)); }
.text-secondary-foreground { color: hsl(var(--secondary-foreground)); }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }

.bg-background { background-color: hsl(var(--background)); }
.bg-foreground { background-color: hsl(var(--foreground)); }
.bg-card { background-color: hsl(var(--card)); }
.bg-card-50 { background-color: hsl(var(--card) / 0.5); }
.bg-card-80 { background-color: hsl(var(--card) / 0.8); }
.bg-secondary { background-color: hsl(var(--secondary)); }
.bg-white { background-color: white; }
.bg-white-10 { background-color: hsl(0 0% 100% / 0.1); }
.bg-white-80 { background-color: hsl(0 0% 100% / 0.8); }
.bg-black-20 { background-color: hsl(0 0% 0% / 0.2); }
.bg-black-80 { background-color: hsl(0 0% 0% / 0.8); }

.hover\:bg-white:hover { background-color: white; }
.hover\:bg-secondary:hover { background-color: hsl(var(--secondary)); }
.hover\:text-white:hover { color: white; }
.hover\:text-secondary:hover { color: hsl(var(--secondary)); }
.hover\:text-background:hover { color: hsl(var(--background)); }
.hover\:border-secondary:hover { border-color: hsl(var(--secondary)); }
.hover\:border-secondary-60:hover { border-color: hsl(var(--secondary) / 0.6); }

/* Font Weight */
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Text Alignment */
.text-center { text-align: center; }

/* Letter Spacing */
.tracking-wider { letter-spacing: 0.05em; }

/* Text Transform */
.uppercase { text-transform: uppercase; }

/* Line Height */
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

/* Object Fit */
.object-cover {
    object-fit: cover;
}

/* Opacity */
.opacity-0 { opacity: 0; }
.opacity-40 { opacity: 0.4; }
.opacity-80 { opacity: 0.8; }

/* Backdrop Filter */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

/* Navigation Styles */
.nav-link {
    font-family: 'Inter', sans-serif;
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link:hover {
    color: hsl(var(--secondary));
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 0.125rem;
    background: hsl(var(--secondary));
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-icon-button {
    background: none;
    border: none;
    color: hsl(var(--foreground));
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: var(--transition-smooth);
}

.nav-icon-button:hover {
    color: hsl(var(--secondary));
}

.mobile-nav-link {
    display: block;
    padding: 0.5rem 0.75rem;
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: var(--transition-smooth);
}

.mobile-nav-link:hover {
    color: hsl(var(--secondary));
}

/* Button Styles */
.hero-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.hero-button:hover {
    background: var(--gradient-warm);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.hero-button-outline {
    background: transparent;
    color: rgb(201, 117, 6);
    border: 2px solid hsla(31, 87%, 79%, 0.8);
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.hero-button-outline:hover {
    background: hsl(0 0% 100% / 0.95);
    color: hsl(var(--deep-brown));
    border-color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-elegant);
}

.button-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.button-primary:hover {
    background: var(--gradient-warm);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.upload-btn {
    background: transparent;
    border: 1px solid hsl(var(--border));
    color: hsl(var(--foreground));
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.upload-btn:hover {
    background: hsl(var(--muted));
}

.wishlist-btn {
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

/* Card Styles */
.product-card {
    background: hsl(var(--card));
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.upload-card {
    background: hsl(var(--card) / 0.5);
    border-radius: var(--radius);
    transition: var(--transition-smooth);
}

.newsletter-card {
    background: hsl(0 0% 100% / 0.1);
    border: 1px solid hsl(0 0% 100% / 0.2);
    border-radius: var(--radius);
    box-shadow: var(--shadow-elegant);
}

/* Input Styles */
.newsletter-input {
    background: hsl(0 0% 100% / 0.2);
    border: 1px solid hsl(0 0% 100% / 0.3);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    width: 100%;
    transition: var(--transition-smooth);
}

.newsletter-input::placeholder {
    color: hsl(0 0% 100% / 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: hsl(var(--secondary));
    box-shadow: 0 0 0 2px hsl(var(--secondary) / 0.2);
}

/* Footer Styles */
.footer-link {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: hsl(var(--secondary));
}

.social-link {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition-smooth);
    padding: 0.5rem;
    border-radius: 0.375rem;
}

.social-link:hover {
    color: hsl(var(--secondary));
    background: hsl(0 0% 100% / 0.1);
}

/* Carousel Styles */
.carousel-container {
    position: relative;
}

.carousel-track {
    will-change: transform;
}

.carousel-btn {
    width: 3rem;
    height: 3rem;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
    color: hsl(var(--foreground));
}

.carousel-btn:hover {
    transform: scale(1.1);
    color: hsl(var(--secondary));
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Animation Styles */
.hover-lift {
    transition: var(--transition-smooth);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.stagger-children > * {
    animation: fadeInUp 0.8s ease-out backwards;
}

.stagger-children > *:nth-child(2) {
    animation-delay: 0.1s;
}

.stagger-children > *:nth-child(3) {
    animation-delay: 0.2s;
}

.stagger-children > *:nth-child(4) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Instagram grid hover effect */
.instagram-grid-item {
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    background: hsl(var(--card));
    border-radius: var(--radius);
}

.instagram-grid-item:hover {
    transform: scale(1.02);
}

/* Product hover effects */
.product-image {
    transition: transform 0.5s ease;
}

.group:hover .product-image {
    transform: scale(1.05);
}

.group:hover .product-image-hover {
    opacity: 1;
}

/* Bounce animation */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

/* Responsive Design */
@media (max-width: 767px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero-button,
    .hero-button-outline {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

/* Transitions for interactive elements */
.group .transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.group:hover .group-hover\:translate-x-1 {
    transform: translateX(0.25rem);
}

.group:hover .group-hover\:translate-y-0 {
    transform: translateY(0);
}

.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Additional utility classes for color variations */
.text-secondary-60 {
    color: hsl(var(--secondary) / 0.6);
}

.bg-secondary-foreground {
    background-color: hsl(var(--secondary-foreground));
}

.bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.from-black-80 {
    --tw-gradient-from: hsl(0 0% 0% / 0.8);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent);
}

.via-black-20 {
    --tw-gradient-via: hsl(0 0% 0% / 0.2);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-via), var(--tw-gradient-to, transparent);
}

.to-transparent {
    --tw-gradient-to: transparent;
}

.shadow-orange {
    box-shadow: 0 0 20px hsl(var(--burnt-orange) / 0.3);
}