/*
Theme Name: Vibe Guitars
Description: Custom WordPress theme for Vibe Guitars - handcrafted custom guitar company
Version: 1.0
Author: Dan LeBlanc Design
*/

/* CSS Variables for consistent theming */
:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #cccccc;
    --dark-gray: #333333;
    
    /* Guitar model colors */
    --purple: #663399;
    --teal: #339999;
    --red: #cc3333;
    --orange: #ff6633;
    --blue: #3366cc;
    --green: #33cc66;
    
    /* Typography */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Source Sans Pro', sans-serif;
    --script-font: 'Dancing Script', cursive;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

/* Header Styles */
.site-header {
    background: var(--primary-black);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    min-height: 170px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    width: 100%;
}

.logo {
    color: var(--primary-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-image {
    height: 100px;
    width: auto;
}

/* Navigation Styles */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.main-navigation a {
    color: var(--primary-white);
    text-decoration: none;
    font-family: 'Arial Black', 'Arial Bold', Gadget, sans-serif;
    font-weight: 900;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.main-navigation a:hover {
    color: var(--medium-gray);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.has-dropdown > a::after {
    display: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-black);
    min-width: 160px;
    padding: 0.5rem 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(255,255,255,0.1);
}

.dropdown-menu a::after {
    display: none;
}

/* Gallery navigation with subtitle */
.gallery-nav {
    position: relative;
    text-align: center;
}

.gallery-nav .nav-subtitle {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    margin-top: 2px;
}

.nav-subtitle {
    color: var(--primary-white);
    font-family: var(--body-font);
    font-size: 0.7rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    color: var(--primary-white);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--teal);
}

/* Main Content */
.site-main {
    margin-top: 170px;
}

/* Models Section */
/* Models Section */
.front-page {
    background: #ffffff url('images/guitar-pattern-bg.png') center -68px no-repeat;
    background-size: 2600px auto;
}

.models-section {
    padding: 2rem 0 4rem 0;
    text-align: center;
    position: relative;
}

.models-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.0); /* Light overlay so text is readable */
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.models-section h2 {
    font-family: 'Arial Black', 'Arial Bold', Gadget, sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 3rem;
    color: var(--primary-black);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

a.model-card {
    text-decoration: none;
    display: block;
}

.model-card {
    background: transparent;
    border-radius: 0;
    padding: 1rem;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
    border: none;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

.model-card:hover {
    transform: translateY(-12px);
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.25)) brightness(1.03);
}

.model-card img {
    width: 100%;
    height: 550px;
    object-fit: contain;
    margin-bottom: 0;
}

.model-card h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: var(--primary-black);
}

/* Simple Slider CSS - Same technique as header */
.my-simple-slider-group {
    width: 100%;
    height: 100vh;
    position: relative;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #222;
}

.slider-item {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slider-item.active {
    opacity: 1;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Slider Arrow Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.slider-arrow:hover {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.slider-arrow svg {
    color: #333;
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

@media (max-width: 768px) {
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .slider-prev {
        left: 1rem;
    }
    
    .slider-next {
        right: 1rem;
    }
}


/* Footer */
.site-footer {
    background: var(--primary-black);
    color: var(--primary-white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
}

/* Two-column footer: content left, color strip right */
.footer-inner {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 160px;
}

.footer-left {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 2.5rem 2.25rem;
}

.footer-logo img {
    width: 110px;
    height: 110px;
    display: block;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-title {
    font-family: var(--body-font);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.75rem;
    opacity: 0.95;
}

.footer-contact-line {
    font-family: var(--body-font);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
    line-height: 1.35;
}

.footer-contact-line a {
    color: inherit;
    text-decoration: none;
}

.footer-contact-line a:hover {
    text-decoration: underline;
}

.footer-copyright {
    font-family: var(--body-font);
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.65;
    margin-top: 0.5rem;
}

/* Social icons in a white chip */
.footer-social {
    position: absolute;
    left: 56%;
    bottom: 18px;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 3px;
    padding: 8px 16px;
    display: flex;
    gap: 16px;
    align-items: center;
    z-index: 5;
}

.footer-social a {
    color: #000000;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1;
}

.footer-right {
    width: 520px;
    min-width: 320px;
}

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

/* Responsive */
@media (max-width: 900px) {
    .footer-inner {
        flex-direction: column;
        min-height: 0;
    }
    .footer-right {
        width: 100%;
        min-width: 0;
        height: 90px;
    }
    .footer-social {
        left: 50%;
    }
}

/* Hamburger Menu - Hidden on desktop */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hamburger animation when open */
.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .site-header {
        min-height: auto;
        padding: 0.75rem 0;
    }
    
    .header-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }
    
    .hamburger-btn {
        display: block;
        order: 3;
    }
    
    .logo {
        order: 1;
    }
    
    .logo-image {
        height: 60px;
    }
    
    .social-icons {
        display: none;
    }
    
    .main-navigation {
        display: none;
        width: 100%;
        order: 4;
        padding-top: 1rem;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .main-navigation a {
        font-size: 1.1rem;
    }
    
    .gallery-nav .nav-subtitle {
        position: static;
        display: block;
        transform: none;
        margin-top: 2px;
    }
    
    /* Mobile Dropdown */
    .has-dropdown {
        text-align: center;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        padding: 0.5rem 0 0;
        margin-top: 0;
        min-width: auto;
        max-height: 300px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .has-dropdown > a::after {
        display: none;
    }
    
    .dropdown-menu li {
        text-align: center;
        width: 100%;
    }
    
    .dropdown-menu a {
        padding: 0.4rem 0;
        font-size: 0.95rem;
        color: var(--medium-gray);
        display: block;
        text-align: center;
    }
    
    .dropdown-menu a:hover {
        background: transparent;
        color: var(--primary-white);
    }
    
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .models-section {
        padding-top: 5rem;
        margin-top: 0;
    }
    
    .slide-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .slide-text h2 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .site-main {
        margin-top: 80px;
    }
}

@media (max-width: 480px) {
    .models-section h2 {
        font-size: 2rem;
    }
    
    .slide-text h2 {
        font-size: 2rem;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Animation utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-up.delay-1 { animation-delay: 0.15s; }
.fade-in-up.delay-2 { animation-delay: 0.3s; }
.fade-in-up.delay-3 { animation-delay: 0.45s; }


/* === Hero Slider Full Width === */
.hero-slider {
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero-slider img,
.hero-slider .slide {
  width: 100%;
  height: auto;
  display: block;
}

/* Prevent horizontal overflow */
html, body {
  width: 100%;
  overflow-x: hidden;
}

/* === Mobile Layout Fixes === */
@media (max-width: 768px) {
  .models-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .model-card {
    padding: 0.5rem;
  }

  .model-card img {
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
  }

  .hero-slider {
    max-height: 70vh;
  }
}


/* ==========================================================================
   PRODUCT PAGE STYLES
   ========================================================================== */

/* Product Page Body */
body.page-template-page-vibrobass30 .site-main,
body.page-template-page-offset6 .site-main,
body.page-template-page-chambered12 .site-main,
body.page-template-page-vibro6 .site-main {
    margin-top: 170px;
}

@media (max-width: 900px) {
    body.page-template-page-vibrobass30 .site-main,
    body.page-template-page-offset6 .site-main,
    body.page-template-page-chambered12 .site-main,
    body.page-template-page-vibro6 .site-main {
        margin-top: 0;
    }
}

/* Color Picker Section */
.color-picker-section {
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
    padding: 1.5rem 0 1rem;
    border-bottom: 1px solid #ddd;
}

.color-picker-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.color-picker-title {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #333;
    margin: 0;
    text-align: center;
}

.color-nav {
    background: #fff;
    border: 2px solid #333;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.color-nav:hover {
    background: #333;
    color: #fff;
}

.color-nav svg {
    width: 20px;
    height: 20px;
}

.color-picker-track-wrapper {
    overflow-x: clip;
    overflow-y: visible;
    max-width: 100%;
}

.color-picker-track {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.color-picker-track::-webkit-scrollbar {
    display: none;
}

.color-circle {
    flex-shrink: 0;
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    padding: 0;
    overflow: hidden;
    background: transparent;
}

.color-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.color-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.color-circle-inner {
    display: none;
}

/* Product Title Section */
.product-title-section {
    text-align: center !important;
    padding: 3rem 2rem 2rem;
    background: #fff;
}

.product-model {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: #000;
    margin: 0 0 0.25rem;
}

.product-subtitle {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: #333;
    margin: 0 0 1rem;
    text-transform: uppercase;
}

.product-divider {
    width: 200px;
    height: 1px;
    background: #333;
    margin: 0 0 1rem;
}

.product-color {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #333;
    margin: 0;
    text-transform: uppercase;
}

/* Product Content Section - Main Grid */
.product-content-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem 0;
    position: relative;
}

.product-content-grid {
    display: grid !important;
    grid-template-columns: 253fr 504fr !important;
    grid-template-rows: auto 1fr;
    gap: 1rem;
    align-items: start;
}

/* Title Area - right column, first row */
.product-title-area {
    grid-column: 2;
    grid-row: 1;
    padding: 1rem 0;
    width: fit-content;
}

.product-title-area .product-model {
    text-align: left;
}

.product-title-area .product-subtitle {
    text-align: center;
}

.product-title-area .product-divider {
    margin: 0 auto 1rem;
}

.product-title-area .product-color {
    text-align: center;
}

/* Left Column - Vertical Guitar (spans both rows) */
.product-image-vertical {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-image-vertical img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Right Column - Images (second row) */
.product-right-column {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Featured Image */
.product-image-featured img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Details Row - pickups/bridge on left, neck on right */
.product-image-details {
    display: grid !important;
    grid-template-columns: 245fr 253fr !important;
    gap: 1rem;
    align-items: start;
}

.product-details-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-image-pickups img,
.product-image-bridge img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.product-image-neck {
    align-self: start;
}

.product-image-neck img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Product Note Badge */
.product-note {
    display: inline-block;
    background: #663399;
    color: #fff;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    margin-top: 1rem;
}

body.page-template-page-offset6 .product-note {
    background: #8b6176;
}

body.page-template-page-chambered12 .product-note,
body.page-template-page-vibro6 .product-note {
    background: #000000;
}

body.page-template-page-vibro6 .product-note {
    margin-top: 3rem;
}

/* Vibro-6 setneck image */
.product-image-setneck img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Desktop/Mobile neck visibility */
.mobile-neck {
    display: none;
}

.desktop-neck {
    display: block;
}

/* ==========================================================================
   COLOR LIGHTBOX STYLES
   ========================================================================== */

.color-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.color-lightbox.active {
    display: flex !important;
}

.color-lightbox-content {
    background: #fff;
    border-radius: 10px;
    max-width: 1100px;
    width: 95%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

.color-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.9);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
    z-index: 10;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.color-lightbox-close:hover {
    background: #fff;
    color: #000;
}

.color-lightbox-image {
    width: 100%;
    height: auto;
    display: block;
}

.lightbox-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: #000;
    color: #fff;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: background 0.2s ease;
    width: 100%;
}

.lightbox-add-btn:hover {
    background: #333;
}

.lightbox-add-btn strong {
    color: #cc3333;
}

/* ==========================================================================
   PRODUCT PAGE RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
    .color-picker-section {
        padding-top: 80px;
    }
    
    body.page-template-page-offset6 .color-picker-section,
    body.page-template-page-chambered12 .color-picker-section,
    body.page-template-page-vibro6 .color-picker-section {
        padding-top: 160px;
    }
    
    .product-content-grid {
        display: flex !important;
        flex-direction: column;
    }
    
    .product-title-area,
    .product-image-vertical,
    .product-right-column,
    .mobile-neck {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
    }
    
    .product-title-area {
        order: 0;
    }
    
    .product-right-column {
        order: 1;
    }
    
    .product-image-vertical {
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .product-image-vertical img {
        width: auto !important;
        max-width: 100%;
    }
    
    .product-image-vertical .product-note {
        text-align: center;
    }
    
    .product-content-section {
        text-align: center;
    }
    
    .product-content-grid {
        text-align: left;
    }
    
    .product-title-area {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .product-title-area .product-model,
    .product-title-area .product-subtitle,
    .product-title-area .product-color {
        text-align: center;
    }
    
    .product-title-area .product-divider {
        margin: 0 auto 1rem;
    }
    
    .product-image-details {
        display: grid !important;
        grid-template-columns: 1fr !important;
        margin-top: 1rem;
    }
    
    .product-details-left {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Hide desktop neck, show mobile neck */
    .desktop-neck {
        display: none !important;
    }
    
    .mobile-neck {
        display: flex !important;
        justify-content: center;
        order: 3;
        margin-top: 1rem;
    }
    
    .mobile-neck img {
        max-width: 70%;
        height: auto;
    }
    
    .product-note {
        text-align: center;
    }
    
    .product-image-featured {
        margin-bottom: 1rem;
    }
}

@media (max-width: 600px) {
    .product-model {
        font-size: 2rem;
    }
    
    .color-circle {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
    }
    
    .color-picker-container {
        flex-wrap: nowrap;
        gap: 0.75rem;
        padding: 0 1rem;
    }
    
    .color-picker-title {
        font-size: 1rem;
    }
    
    .color-nav {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
    
    .color-lightbox-content {
        width: 100%;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .color-lightbox-close {
        top: 0.5rem;
        right: 0.5rem;
        background: rgba(0,0,0,0.6);
        color: #fff;
        font-size: 1.75rem;
        padding: 0.15rem 0.5rem;
    }
    
    .product-image-details {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================================
   CONTACT PAGE STYLES
   ========================================================================== */

.contact-page {
    background: #ffffff url('images/guitar-pattern-bg.png') center -68px no-repeat;
    background-size: 2600px auto;
    min-height: 100vh;
}

.contact-section {
    padding: 2rem 0 4rem;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Social Follow Section */
.contact-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.social-icon-large {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.social-icon-large:nth-child(1) {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.social-icon-large:nth-child(2) {
    background: #1877F2;
}

.social-icon-large:nth-child(3) {
    background: #FF0000;
}

.social-icon-large i {
    color: #fff;
    font-size: 1.5rem;
}

.social-icon-large:hover {
    transform: scale(1.1);
}

.follow-text {
    font-family: var(--body-font);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-left: 0.5rem;
}

/* Contact Intro */
.contact-intro {
    margin-bottom: 2rem;
}

.contact-intro h2 {
    font-family: var(--body-font);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.contact-intro p {
    font-family: var(--body-font);
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
}

/* Selection Confirmation */
.selection-confirmation {
    background: #e8f5e9;
    border: 1px solid #4caf50;
    border-radius: 5px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.confirmation-icon {
    color: #4caf50;
    font-size: 1.25rem;
    font-weight: bold;
}

.confirmation-text {
    font-family: var(--body-font);
    font-size: 1rem;
    color: #2e7d32;
}

/* Contact Form Styles */
.contact-form-wrapper {
    background: transparent;
}

.contact-form-wrapper .form-section {
    margin-bottom: 1.5rem;
}

.contact-form-wrapper h4 {
    font-family: var(--body-font);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.contact-form-wrapper .form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.contact-form-wrapper .form-field {
    flex: 1;
}

.contact-form-wrapper .form-field-full {
    flex: 1 1 100%;
}

.contact-form-wrapper .form-field-small {
    flex: 0 0 150px;
}

.contact-form-wrapper label {
    font-family: var(--body-font);
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    display: block;
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper select,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-family: var(--body-font);
    font-size: 0.95rem;
    border: none;
    border-bottom: 1px solid #ccc;
    background: #f5f5f5;
    margin-top: 0.25rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper select:focus,
.contact-form-wrapper textarea:focus {
    outline: none;
    border-bottom-color: #663399;
    background: #fff;
}

.contact-form-wrapper textarea {
    min-height: 120px;
    resize: vertical;
    border: 1px solid #ccc;
}

.contact-form-wrapper .form-note {
    font-family: var(--body-font);
    font-size: 0.85rem;
    color: #666;
    margin: 0.5rem 0;
}

/* Submit Button */
.contact-form-wrapper .form-submit {
    text-align: center;
    margin-top: 2rem;
}

.contact-form-wrapper input[type="submit"] {
    background: #000;
    color: #fff;
    border: 2px solid #000;
    padding: 0.75rem 3rem;
    font-family: var(--body-font);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form-wrapper input[type="submit"]:hover {
    background: #fff;
    color: #000;
}

/* CF7 Response Messages */
.wpcf7-response-output {
    margin: 1rem 0 !important;
    padding: 1rem !important;
    border-radius: 5px;
}

.wpcf7-mail-sent-ok {
    background: #e8f5e9;
    border-color: #4caf50 !important;
    color: #2e7d32;
}

.wpcf7-validation-errors {
    background: #ffebee;
    border-color: #f44336 !important;
    color: #c62828;
}

/* Contact Page Responsive */
@media (max-width: 768px) {
    .contact-form-wrapper .form-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-form-wrapper .form-field-small {
        flex: 1;
    }
    
    .contact-social {
        flex-wrap: wrap;
    }
}


/* ==========================================================================
   GALLERY / IN STOCK PAGE STYLES
   ========================================================================== */

.gallery-page {
    background: #ffffff url('images/guitar-pattern-bg.png') center -68px no-repeat;
    background-size: 2600px auto;
    min-height: 100vh;
}

.gallery-section {
    padding: 2rem 0 4rem;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-header h1 {
    font-family: var(--body-font);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: #000;
    margin: 0 0 0.5rem;
}

.gallery-header p {
    font-family: var(--body-font);
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.gallery-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: #f5f5f5;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
}

.gallery-info {
    padding: 1.25rem;
}

.gallery-info h3 {
    font-family: var(--body-font);
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin: 0 0 0.5rem;
}

.gallery-info p {
    font-family: var(--body-font);
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.no-guitars {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

/* Pagination */
.navigation.pagination {
    margin-top: 3rem;
    text-align: center;
}

.navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.navigation.pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.navigation.pagination .page-numbers:hover,
.navigation.pagination .page-numbers.current {
    background: #000;
    border-color: #000;
    color: #fff;
}

/* Gallery Responsive */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-header h1 {
        font-size: 2rem;
    }
}

/* Gallery Lightbox */
.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.gallery-lightbox.active {
    display: flex !important;
}

.gallery-lightbox-content {
    background: #fff;
    border-radius: 10px;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.gallery-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.9);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
    z-index: 10;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.gallery-lightbox-close:hover {
    background: #fff;
    color: #000;
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 1rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
    background: rgba(0,0,0,0.9);
}

.gallery-lightbox-prev {
    left: 1rem;
}

.gallery-lightbox-next {
    right: 1rem;
}

.gallery-lightbox-counter {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

/* Desktop: arrows on sides */
.gallery-lightbox-nav {
    display: contents;
}

/* Mobile gallery arrows - below image, above title */
@media (max-width: 768px) {
    .gallery-lightbox-nav {
        display: flex;
        justify-content: center;
        gap: 1rem;
        padding: 0.75rem;
        background: #f0f0f0;
    }
    
    .gallery-lightbox-prev,
    .gallery-lightbox-next {
        position: static;
        transform: none;
    }
}

.gallery-lightbox-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    background: #f5f5f5;
}

.gallery-lightbox-info {
    padding: 1.5rem;
    background: #fff;
}

.gallery-lightbox-info h3 {
    font-family: var(--body-font);
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin: 0 0 0.5rem;
}

.gallery-lightbox-info p {
    font-family: var(--body-font);
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .gallery-lightbox-content {
        width: 100%;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .gallery-lightbox-image {
        max-height: 60vh;
    }
}

/* Mobile background position fix for all pages */
@media (max-width: 768px) {
    .front-page,
    .gallery-page,
    .contact-page,
    .videos-page,
    .story-page {
        padding-top: 80px;
        background-position: center 40px;
    }
}

/* ==========================================================================
   VIDEOS PAGE STYLES
   ========================================================================== */

.videos-page {
    background: #ffffff url('images/guitar-pattern-bg.png') center -68px no-repeat;
    background-size: 2600px auto;
    min-height: 100vh;
}

.videos-section {
    padding: 2rem 0 4rem;
}

.videos-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.videos-header {
    text-align: center;
    margin-bottom: 3rem;
}

.videos-title {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: #333;
    margin: 0 0 0.5rem;
}

.videos-subtitle {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.video-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.video-item:hover .video-thumbnail img {
    opacity: 0.8;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.video-item:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn svg {
    display: block;
}

.video-no-thumbnail {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    background: #f0f0f0;
}

.video-info {
    padding: 1rem 0;
}

.video-name {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.25rem;
}

.video-description {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.no-videos {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

/* Video Lightbox */
.video-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.video-lightbox.active {
    display: flex !important;
}

.video-lightbox-content {
    width: 100%;
    max-width: 1000px;
    position: relative;
}

.video-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
    z-index: 10;
    line-height: 1;
    padding: 0.25rem 0.5rem;
}

.video-lightbox-close:hover {
    color: #ccc;
}

.video-lightbox-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-lightbox-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-lightbox-info {
    padding: 1rem 0;
    text-align: center;
}

.video-lightbox-title {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.5rem;
}

.video-lightbox-description {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    color: #ccc;
    margin: 0;
}

/* Videos Page Responsive */
@media (max-width: 900px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .videos-page {
        padding-top: 80px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .videos-title {
        font-size: 2rem;
    }
    
    .video-lightbox {
        padding: 0;
    }
    
    .video-lightbox-content {
        max-width: 100%;
    }
    
    .video-lightbox-wrapper {
        border-radius: 0;
    }
    
    .video-lightbox-close {
        top: 10px;
        right: 10px;
        background: rgba(0,0,0,0.5);
        border-radius: 4px;
    }
}

/* ==========================================================================
   STORY PAGE STYLES
   ========================================================================== */

.story-page {
    background: #ffffff url('images/guitar-pattern-bg.png') center -68px no-repeat;
    background-size: 2600px auto;
    min-height: 100vh;
}

.story-section {
    padding: 3rem 0 4rem;
}

.story-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.story-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Left Column */
.story-left {
    position: sticky;
    top: 110px;
}

.story-title {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: #333;
    margin: 0 0 1.5rem;
}

.story-portrait {
    margin-bottom: 1.5rem;
}

.story-portrait img {
    width: 100%;
    height: auto;
    display: block;
}

.story-quote {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    color: #333;
    margin: 0 0 1rem;
    padding: 0;
    border: none;
}

.story-byline {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.85rem;
    color: #333;
    line-height: 1.4;
}

.story-byline strong {
    font-weight: 600;
}

/* Right Column */
.story-right {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

.story-right p {
    margin: 0 0 1.25rem;
}

.story-float-right {
    float: right;
    width: 180px;
    height: auto;
    margin: 0.25rem 0 1rem 1.5rem;
}

.story-float-left {
    float: left;
    width: 180px;
    height: auto;
    margin: 0.25rem 1.5rem 1rem 0;
}

.story-cad-image {
    text-align: center;
    margin: 2rem 0;
    clear: both;
}

.story-cad-image img {
    max-width: 100%;
    height: auto;
}

/* Full Width Hero Image */
.story-hero-image {
    width: 100%;
    margin-top: 2rem;
}

.story-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Story Page Responsive */
@media (max-width: 900px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-left {
        position: static;
        text-align: center;
    }
    
    .story-title {
        font-size: 2rem;
    }
    
    .story-portrait {
        max-width: 280px;
        margin: 0 auto 1.5rem;
    }
    
    .story-quote {
        max-width: 400px;
        margin: 0 auto 1rem;
    }
    
    .story-byline {
        margin-bottom: 1rem;
    }
}

@media (max-width: 600px) {
    .story-page {
        padding-top: 80px;
    }
    
    .story-float-right,
    .story-float-left {
        float: none;
        display: block;
        width: 100%;
        max-width: 250px;
        margin: 1rem auto;
    }
    
    .story-right {
        font-size: 0.95rem;
    }
}


/* ==================================================================
   COLOR PICKER MOBILE FIX - Added Jan 12, 2026
   Fixes issue where leftmost swatches were cut off on mobile
   ================================================================== */

/* Force color picker to start from left on mobile */
@media (max-width: 768px) {
    .color-picker-track-wrapper {
        /* Remove any centering */
        display: block;
    }
    
    .color-picker-track {
        /* Ensure track aligns to start (left) */
        justify-content: flex-start !important;
        padding: 1rem 1rem 1rem 1rem;
    }
}
