/* --- style.css --- */
html {
    font-size: 14px; 
}

@media (min-width: 1600px) {
    html {
        font-size: 14px;
    }
}

/* RESET & VARIABLES */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary-red: #E63946;
    --primary-black: #1a1a1a;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-family: 'Bebas Neue', cursive; letter-spacing: 2px; }

/* UTILITY */
.hidden { display: none !important; }

/* HEADER */
.header { position: sticky; top: 0; background: var(--bg-white); border-bottom: 4px solid var(--primary-red); z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.header-pattern { height: 4px; background: repeating-linear-gradient(90deg, var(--primary-red) 0px, var(--primary-red) 20px, var(--primary-black) 20px, var(--primary-black) 40px); }
.header-content { max-width: 1400px; margin: 0 auto; padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between; }

.logo-section { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.logo-section:hover { transform: scale(1.05); transition: transform 0.3s ease; }
.logo-circle { width: 50px; height: 50px; animation: rotate 20s linear infinite; }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.logo-text { font-size: 1.5rem; font-weight: 900; color: var(--primary-red); font-family: 'Bebas Neue', cursive; letter-spacing: -1px; }

.desktop-nav { display: flex; gap: 2rem; }
.desktop-nav a { text-decoration: none; font-size: 1rem; font-weight: 600; color: var(--text-dark); padding: 0.5rem 0; position: relative; transition: color 0.3s ease; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--primary-red); }
.desktop-nav a.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--primary-red); }

/* HERO SECTIONS */
.hero { 
    background: var(--primary-black); 
    min-height: 85vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: relative; 
    overflow: hidden; 
}

.hero-pattern { 
    position: absolute; 
    inset: 0; 
    background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(230, 57, 70, 0.1) 35px, rgba(230, 57, 70, 0.1) 70px); 
}

.hero-content { 
    max-width: 1200px; 
    width: 100%; 
    padding: 2rem; 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 2rem; 
    align-items: center; 
    justify-items: center; 
    position: relative; 
    z-index: 1; 
}

.hero-text { 
    color: var(--bg-white); 
    text-align: left; 
    width: 100%;
}

.hero-title { 
    font-size: clamp(2.5rem, 5vw, 4.5rem); 
    line-height: 1; 
    margin-bottom: 1.5rem; 
}

.hero-category { 
    display: inline-block; 
    background: var(--primary-red); 
    color: var(--bg-white); 
    padding: 0.5rem 1rem; 
    font-weight: 700; 
    font-size: 0.875rem; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    margin-bottom: 1rem; 
}

.hero-description { 
    font-size: 1.1rem; 
    margin-bottom: 2rem; 
    opacity: 0.9; 
    max-width: 500px; 
}

/* Updated Image Styling to Center it */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-image img { 
    width: 100%; 
    max-width: 450px; 
    height: auto;
    border: 8px solid var(--primary-red); 
    box-shadow: 20px 20px 0 rgba(230, 57, 70, 0.3); 
    margin-top: -20px; 
}

@media (max-width: 900px) {
    .hero-content { 
        grid-template-columns: 1fr; 
        text-align: center; 
        padding-top: 6rem; 
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .hero-description {
        margin: 0 auto 2rem auto;
    }
    
    .hero-image img {
        max-width: 350px; 
    }
}

/* BUTTONS */
.btn-hero { padding: 1.25rem 2.5rem; font-size: 1.125rem; display: inline-block; text-decoration: none; text-transform: uppercase; font-weight: bold; transition: all 0.3s ease; margin-right: 1rem;}
.btn-hero.primary { background: var(--primary-red); color: var(--bg-white); border: 3px solid var(--primary-red); }
.btn-hero.primary:hover { background: transparent; color: var(--primary-red); }
.btn-hero.secondary { background: transparent; color: var(--bg-white); border: 3px solid var(--bg-white); }
.btn-hero.secondary:hover { background: var(--bg-white); color: var(--primary-black); }

/* SHOP GRID (Container only) */
.shop-section { padding: 6rem 2rem; max-width: 1400px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title { font-size: 3rem; margin-bottom: 1rem; }

/* CONTACT FORM */
.contact-container { max-width: 1200px; margin: 0 auto; padding: 4rem 2rem; display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; }
.contact-form { background: var(--bg-white); padding: 3rem; border: 3px solid var(--primary-red); box-shadow: 10px 10px 0 rgba(0,0,0,0.1); }
.contact-form-title { font-size: 2rem; margin-bottom: 2rem; text-align: center;}
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 700; margin-bottom: 0.5rem; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }
.form-group input, .form-group textarea { width: 100%; padding: 1rem; border: 2px solid #ddd; font-size: 1rem; font-family: 'Montserrat', sans-serif; transition: border-color 0.3s ease; background: #fafafa; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-red); background: #fff; }
.form-submit { width: 100%; padding: 1.25rem; background: var(--primary-red); color: var(--bg-white); border: none; font-size: 1.125rem; font-weight: 700; cursor: pointer; text-transform: uppercase; letter-spacing: 2px; transition: all 0.3s ease; }
.form-submit:hover { background: var(--primary-black); }

/* FOOTER */
.footer { background: var(--primary-black); color: var(--bg-white); margin-top: auto; }
.footer-pattern { height: 4px; background: repeating-linear-gradient(90deg, var(--primary-red) 0px, var(--primary-red) 20px, var(--bg-white) 20px, var(--bg-white) 40px); }
.footer-content { max-width: 1400px; margin: 0 auto; padding: 4rem 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; }
.footer-section h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--primary-red); }
.footer-section a { color: #fff; text-decoration: none; display: block; margin-bottom: 0.5rem; opacity: 0.8; }
.footer-section a:hover { color: var(--primary-red); opacity: 1; }
.footer-bottom { text-align: center; padding: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }

/* ABOUT */
.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 6rem; align-items: center; }
.about-text p { margin-bottom: 1.5rem; color: var(--text-gray); }

@media (max-width: 768px) {
    .hero-content, .contact-container, .about-section { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .desktop-nav { display: none; }
}

/* CAROUSEL */
.carousel-frame {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 4/5; 
    border: 8px solid var(--primary-red);
    box-shadow: 20px 20px 0 rgba(230, 57, 70, 0.3);
    margin-top: -20px;
    overflow: hidden; 
    position: relative;
    background: #000; 
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); 
}

.carousel-slide {
    min-width: 100%; 
    height: 100%;
    display: block; 
    text-decoration: none;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

@media (max-width: 900px) {
    .carousel-frame {
        max-width: 350px;
    }
}

/* CONTACT PAGE HERO */
.hero.contact-hero {
    min-height: auto; 
    padding: 6rem 2rem; 
    display: block; 
    text-align: center;
}

.contact-dashboard {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    flex-wrap: wrap; 
    border-top: 1px solid rgba(255,255,255,0.2); 
    padding-top: 3rem;
}

.dashboard-item {
    color: var(--bg-white);
    text-align: left; 
    min-width: 200px;
}

.dashboard-item h3 {
    color: var(--primary-red);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 1px;
}

.dashboard-item p, .dashboard-item a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    display: block;
}

.dashboard-item a:hover {
    color: var(--primary-red);
    opacity: 1;
}

.contact-section-white {
    background: var(--bg-light);
    padding: 5rem 2rem;
}

.centered-form-wrapper {
    max-width: 800px; 
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-dashboard {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        text-align: center;
    }
    .dashboard-item {
        text-align: center;
    }
}

.hero.contact-hero .hero-title {
    color: #FFD700; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); 
}

.hero.contact-hero .hero-description {
    color: #FFFFFF;
}

/* ABOUT PAGE HERO */
.hero.about-hero {
    min-height: auto; 
    padding: 8rem 2rem 6rem; 
    display: flex; 
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero.about-hero .hero-title {
    color: #FFD700; 
    font-size: 5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero.about-hero .hero-description {
    color: #FFF;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* --- HIDE ECWID CATEGORY TILES --- */
.grid__categories {
    display: none !important;
}

/* --- SHOP FILTERS (Updated with Lines) --- */
.filter-container {
    display: flex;
    justify-content: flex-start; /* Aligns links to the left */
    align-items: center;
    
    /* THE SPACING */
    gap: 4rem; /* Large gap between "ALL", "LADIES", "ABSTRACT" */
    
    /* THE LINES */
    border-top: 1px solid #ddd;    /* Line above */
    border-bottom: 1px solid #ddd; /* Line below */
    
    /* THE LAYOUT */
    padding: 1.5rem 0; /* Space between the text and the lines */
    margin-bottom: 3rem; /* Space before the art grid starts */
    width: 100%;
}

/* Optional: Mobile adjustment so they don't squish */
@media (max-width: 768px) {
    .filter-container {
        justify-content: center; /* Center them on phones */
        gap: 2rem;
    }
}

/* --- ECWID BRANDING (The "Chic" Override) --- */

/* 1. Force Buttons to be Red */
.ec-size .ec-store .form-control--primary .form-control__button {
    background-color: #E63946 !important; /* Your Red */
    color: #FFFFFF !important;
    font-family: 'Bebas Neue', cursive !important;
    font-size: 1.2rem !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 2. Button Hover State */
.ec-size .ec-store .form-control--primary .form-control__button:hover {
    background-color: #1a1a1a !important; /* Black on hover */
}

/* 3. Price Text */
.ec-price-item {
    color: #E63946 !important;
    font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif !important;
}

/* FORCE ROBOT CHECKBOX VISIBILITY */
.ec-w-recaptcha, .g-recaptcha {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 9999 !important;
    margin: 20px 0 !important;
    clear: both !important;
}

/* Ensure the iframe itself isn't hidden */
iframe[title="reCAPTCHA"] {
    display: block !important;
    visibility: visible !important;
}

/* --- MOBILE MENU FIX --- */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    margin-left: 20px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: black;
    transition: 0.3s;
}

/* On Mobile Screens (Phones) */
@media (max-width: 768px) {
    /* Show the hamburger button */
    .mobile-toggle {
        display: flex;
    }

    /* Hide the normal menu by default */
    .desktop-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 1000;
        border-top: 1px solid #eee;
    }

    /* This class is added by the JS when you click */
    .desktop-nav.active {
        display: flex;
    }

    .desktop-nav a {
        padding: 15px;
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
    }
}