/* 
 * Harrow Fresh Market - Premium Design System
 * Redesigned from scratch for a modern, artisan grocery experience.
 */

:root {
    /* Color Palette - Sophisticated Organic */
    --color-primary: #3d634d;
    /* Deep Sage */
    --color-primary-light: #f1f4f2;
    --color-accent: #d97706;
    /* Warm Amber */
    --color-bg: #fdfbf7;
    /* Soft Cream */
    --color-text: #1a1a1a;
    --color-text-light: #6b7280;
    --color-white: #ffffff;

    /* Spacing System */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3.5rem;
    --space-2xl: 5rem;

    /* Visual Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 50px rgba(61, 99, 77, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* --- Base Styles --- */
body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --- Premium Layout Utilities --- */
.section-padding {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.container-custom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* --- Glassmorphism --- */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* --- Typography System --- */
h1,
h2,
h3,
h4 {
    font-family: 'Nunito', sans-serif;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary), #2d4d3c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Card Styles --- */
.premium-card {
    background: var(--color-white);
    border-radius: 2rem;
    padding: var(--space-lg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--shadow-sm);
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(61, 99, 77, 0.1);
}

/* --- Hero Specifics --- */
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(61, 99, 77, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

/* --- Interactive Elements --- */
.btn-premium {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-premium:hover::before {
    left: 100%;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
    border: 3px solid var(--color-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* --- Navigation & Placement Improvements --- */
.nav-link {
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* --- Floating Image Effect --- */
.float-img {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* --- Image Overlays --- */
.img-overlay {
    position: relative;
}

.img-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2) 0%, transparent 50%);
    pointer-events: none;
}