/* =========================================
   VINTAEDGE STUDIOS - DESIGN SYSTEM
   ========================================= */

:root {
    /* Color Palette Extracted from Ad Creative */
    --color-orange: #D98A59;     /* Sunset Orange */
    --color-red: #A25B45;        /* Faded Brick Red */
    --color-denim: #4A607A;      /* Vintage Denim Blue */
    --color-cream: #F5EFEB;      /* Warm Sand/Cream */
    --color-charcoal: #1A1A1A;   /* Deep Dark Grey */
    --color-charcoal-light: #2C2C2C;
    --color-white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Caveat Brush', cursive; /* Brush Script */
    --font-body: 'Outfit', sans-serif;
    
    /* Variables */
    --transition-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =========================================
   GLOBAL STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-cream);
    color: var(--color-charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.brush-title {
    font-family: var(--font-heading);
    color: var(--color-charcoal);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 1px;
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-charcoal);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--color-orange);
    color: var(--color-charcoal);
    box-shadow: 4px 4px 0px var(--color-charcoal);
}

.btn-primary:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--color-charcoal);
}

.btn-secondary {
    background-color: var(--color-charcoal);
    color: var(--color-cream);
}

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

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

.btn-outline:hover {
    background-color: var(--color-charcoal);
    color: var(--color-cream);
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    z-index: 1000;
    transition: all var(--transition-fast);
}

.navbar.scrolled {
    background-color: rgba(245, 239, 235, 0.95); /* Cream with opacity */
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo img {
    height: 60px;
    width: auto;
    border-radius: 0;
}

.edge-text {
    color: var(--color-orange);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links li a {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

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

.nav-links li a:hover::after {
    width: 100%;
}

.cart-icon {
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.cart-icon:hover {
    transform: scale(1.1);
    color: var(--color-orange);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-charcoal);
    transition: all var(--transition-fast);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('assets/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26,26,26,0.3) 0%, rgba(245, 239, 235, 1) 100%);
    z-index: 1;
}

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

.hero .brush-title {
    font-size: clamp(4rem, 8vw, 8rem);
    color: var(--color-charcoal);
    margin-bottom: 1rem;
    transform: rotate(-2deg);
    text-shadow: 2px 2px 0px var(--color-white);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-charcoal-light);
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-section {
    padding: 6rem 0;
    background-color: var(--color-cream);
    text-align: center;
}

.about-text {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-charcoal-light);
}

/* =========================================
   PRODUCTS SECTION 
   ========================================= */
.products-section {
    padding: 4rem 5%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.product-card {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.product-image-wrapper {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

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

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

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

.product-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.1rem;
    color: var(--color-red);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.view-all-wrapper {
    text-align: center;
}

/* =========================================
   LOOKBOOK SECTION 
   ========================================= */
.lookbook-section {
    padding: 6rem 0;
    background-color: var(--color-charcoal);
    color: var(--color-cream);
    overflow: hidden;
}

.lookbook-section .section-title {
    color: var(--color-cream);
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.marquee {
    display: flex;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    gap: 20px;
    animation: marquee 30s linear infinite;
    min-width: 200%; /* Ensures smooth looping */
}

.marquee-content img {
    height: 400px;
    width: auto;
    object-fit: cover;
    border-radius: 8px;
    filter: grayscale(20%);
    transition: filter var(--transition-fast), transform var(--transition-fast);
}

.marquee-content img:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Scrolls precisely half its double width */
}

/* =========================================
   FOOTER 
   ========================================= */
.footer {
    background-color: var(--color-charcoal-light);
    color: var(--color-white);
    padding: 5rem 5% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .logo span {
    color: var(--color-white);
    font-size: 2rem;
}

.footer-brand .edge-text {
    color: var(--color-orange);
}

.footer-brand p {
    color: #aaaaaa;
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: #dddddd;
}

.footer-links a:hover {
    color: var(--color-orange);
}

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

/* =========================================
   ANIMATIONS & RESPONSIVE
   ========================================= */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

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

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Add JS hamburger menu for mobile if needed */
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero .brush-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-text {
        font-size: 1.2rem;
    }
    
    .marquee-content img {
        height: 250px;
    }
}
