/* Sidebar submenu: indented left, stays open after click */
.has-submenu {
    position: relative;
}
    .has-submenu > .submenu {
        display: block;
        position: static;
        background: none;
        margin: 0;
        padding: 0 0 0 24px;
        list-style: none;
        border-left: 2px solid var(--border-color);
    }
.submenu li a {
    padding: 12px 30px;
    font-size: 0.9rem;
    color: var(--text-color);
    background: none;
    border: none;
    font-weight: 400;
    transition: background 0.2s, color 0.2s, font-weight 0.2s;
}
.submenu li a:hover {
    background: var(--secondary-color);
    color: #000;
    font-weight: 400;
}
.submenu li a.active {
    background: var(--secondary-color);
    color: #000;
    font-weight: bold;
}
/* Submenu Styles */
.has-submenu {
    position: relative;
}


.submenu {
    display: none;
    position: static;
    background: var(--secondary-color);
    margin: 0;
    padding: 0 0 0 20px;
    list-style: none;
    border-left: 2px solid var(--border-color);
}

.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu {
    display: block;
}

.submenu li a {
    padding: 12px 30px;
    font-size: 0.9rem;
    color: var(--text-color);
    background: none;
    border: none;
    transition: background 0.2s, color 0.2s;
}

/* Ezh Clay - Main Stylesheet */
/* Sidebar Navigation Layout */

/* Import Inter font - consistent across all browsers and devices */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap');

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Remove borders and outlines from images */
img {
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

a, button {
    -webkit-tap-highlight-color: transparent;
}

/* Root Variables */
:root {
    --primary-color: #2c2c2c;
    --secondary-color: #f5f5f5;
    --accent-color: #8b7355;
    --text-color: #333;
    --light-text: #666;
    --border-color: #ddd;
    --background: #ffffff;
    --sidebar-width: 200px;
}

/* Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: 0.02em;
}

h2 {
    font-size: 2rem;
    letter-spacing: 0.01em;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.video-links {
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.video-link {
    margin-bottom: 0;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* Special styling for external/content links */
.about-preview a:not(.btn),
.about-section a:not(.btn),
.page-section a:not(.btn),
.contact-intro a:not(.btn) {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.about-preview a:not(.btn):hover,
.about-section a:not(.btn):hover,
.page-section a:not(.btn):hover,
.contact-intro a:not(.btn):hover {
    text-decoration: underline;
    color: #5568d3;
}

.about-preview a.etsy-link,
.about-section a.etsy-link,
.page-section a.etsy-link {
    font-weight: 700;
    font-style: italic;
}

/* Hamburger Menu (Mobile Only) */
.hamburger {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1000;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 4px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-4px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-4px, -5px);
}

/* Left Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background-color: var(--background);
    border-right: 1px solid var(--border-color);
    padding: 40px 0 40px 0;
    z-index: 100;
}

/* Logo container - hidden in sidebar on desktop, shown at top center */
.sidebar .logo-container {
    display: none;
}

/* Desktop: Logo and title at top center */
.desktop-header {
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    right: 0;
    background-color: var(--background);
    border-bottom: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: 99;
    padding-top: 20px;
    padding-bottom: 0;
}

.desktop-header .logo {
    height: 60px;
    width: auto;
    margin-bottom: 10px;
    margin-top: 0;
    border: none;
    outline: none;
}

.desktop-header .site-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0;
    color: var(--primary-color);
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    margin: 0;
}

.sidebar a {
    display: block;
    padding: 15px 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 400;
    color: var(--text-color);
    background: none;
    transition: all 0.3s ease;
}

.sidebar a:hover,
.sidebar a.active {
    background-color: var(--secondary-color);
    color: var(--text-color);
    font-weight: bold;
}

.sidebar .nav-menu {
    list-style: none;
    padding: 0;
}

/* Main Content Area */
.main-content {
    margin-left: var(--sidebar-width);
    padding-top: 120px;
    min-height: 100vh;
}

/* Header with Centered Logo */
.site-header {
    text-align: center;
    padding: 60px 20px 40px;
    border-bottom: 1px solid var(--border-color);
}

.logo-container {
    display: inline-block;
}

.logo-container img {
    height: 120px;
    width: auto;
    margin: 0 auto 20px;
    display: block;
}

.logo-container h1 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Hero/Slideshow Section */
.hero {
    padding: 0;
    text-align: center;
    max-width: 100%;
    margin: 20px 0 0 0;
}

.slideshow {
    margin: 0;
    position: relative;
    overflow: hidden;
}

.slideshow img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

.hero h2 {
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

/* Universal Page Section - Used by all content pages */
.page-section {
    padding: 0 40px 30px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Featured Products Section */
.featured-section {
    padding: 0 40px 30px 40px;
    background-color: var(--background);
}

.section-title {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 300;
    color: var(--primary-color);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.product-card {
    text-align: center;
    transition: none;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
}

.product-card:hover {
    transform: none !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.product-card:focus,
.product-card:active,
.product-card:focus-visible {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 12px;
    background-color: #fff;
    transition: none;
    outline: none !important;
    border: none !important;
}

.product-name {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 400;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
}

/* Product Card Button - Reasonable Width */
.product-card .btn-primary {
    width: auto;
    min-width: 140px;
    display: block;
    margin: 0 auto;
    align-self: end;
}

/* Sold Badge */
.product-image-container {
    position: relative;
    margin-bottom: 12px;
}

.product-card.sold .product-image {
    margin-bottom: 0;
}

.sold-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff6b35;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.product-card.sold .btn-primary {
    display: none;
}

.product-price {
    color: var(--light-text);
    font-size: 1rem;
}

/* About Preview Section */
.about-preview {
    padding: 10px 40px 15px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-preview p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-section {
    padding: 0 40px 60px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-section h3 {
    margin-top: 60px;
    margin-bottom: 30px;
    font-size: 1.3rem;
    font-weight: 400;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
}

.btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary {
        border-radius: 2px;
    background-color: #515151;
    color: white;
    width: auto;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #000000;
    border-color: #000000;
}

/* Footer */
footer {
    padding: 20px 40px 15px;
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
}

footer p {
    text-align: center;
    color: var(--light-text);
    font-size: 0.85rem;
}

.footer-bottom {
    text-align: center;
    color: var(--light-text);
    font-size: 0.85rem;
}

.copyright::after {
    content: "© 2026 EZH CLAY. All rights reserved.";
}

.footer p.copyright::after {
    content: "© 2026 EZH CLAY. All rights reserved.";
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide desktop header on mobile */
    .desktop-header {
        display: none;
    }
    
    /* Show hamburger menu on mobile */
    .hamburger {
        display: block;
    }
    
    /* Hide sidebar by default on mobile */
    .sidebar {
        left: -100%;
        right: auto;
        transition: left 0.3s ease;
        width: 250px;
    }
    
    /* Show sidebar when active */
    .sidebar.active {
        left: 0;
        right: auto;
    }
    
    /* Show logo in mobile sidebar menu */
    .sidebar .logo-container {
        display: block;
        text-align: center;
        padding: 0 20px 20px;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 20px;
    }
    
    .sidebar .logo {
        height: 60px;
        width: auto;
        display: block;
        margin: 0 auto 10px;
    }
    
    .sidebar .site-title {
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-size: 1.1rem;
        font-weight: 700;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        margin: 0;
    }
    
    /* Reduce menu item spacing on mobile */
    .sidebar a {
        padding: 8px 30px;
    }
    
    /* Mobile header - real HTML element */
    .mobile-header {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 120px;
        background-color: var(--background);
        border-bottom: none;
        z-index: 99;
        text-align: center;
        padding: 18px 20px 0 20px;
    }
    
    .mobile-logo {
        width: 55px;
        height: 55px;
        display: block;
        margin: 0 auto 10px;
        border: none;
        outline: none;
    }
    
    .mobile-title {
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-size: 1.25rem;
        font-weight: 700;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        margin: 0;
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    /* Main content starts at 120px */
    .main-content {
        margin-left: 0;
        margin-top: 120px;
        padding-top: 0;
    }
    
    /* Remove ALL padding and margin from hero section */
    .hero {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
    }
    
    .hero .slideshow {
        margin: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .hero .slideshow img {
        display: block;
        margin: 0;
        width: 100%;
    }
    
    /* Minimal top padding for shop pages */
    .featured-section {
        padding: 0 20px 40px 20px;
    }
    
    .about-preview {
        padding: 20px 20px 40px 20px;
    }
    
    /* Section title spacing for mobile */
    .section-title {
        margin-top: 0;
        margin-bottom: 20px;
        padding-top: 0;
        font-size: 1.8rem;
        line-height: 1.4;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 25px;
    }
    
    .product-image {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
        aspect-ratio: auto;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

@media (min-width: 769px) {
    /* Hide mobile header on desktop */
    .mobile-header {
        display: none;
    }
}

/* Contact Page Styles */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px 60px 40px;
}

.contact-intro {
    margin-bottom: 40px;
}

.contact-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: center;
}

@media (min-width: 769px) and (max-width: 1024px) {
    :root {
        --sidebar-width: 180px;
    }
    
    .sidebar a {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
}
