:root {
    /* Nouvelle Palette - Plus chaude et vibrante */
    --primary: #8B4513;
    /* SaddleBrown - Bois riche */
    --primary-dark: #5D2906;
    /* Bois très foncé */
    --secondary: #D2691E;
    /* Chocolate - Bois roux/acajou */
    --accent: #cd7f32;
    /* Bronze/Cuivre pour les détails */
    --gold: #DAA520;
    /* Or vieilli pour les ferrures */

    --dark: #2C1810;
    /* Marron très foncé (presque noir) */
    --light: #FFF8F0;
    /* Crème très clair (FloralWhite) */
    --warm-gray: #F5E6D3;
    /* Beige clair pour lesfonds alternés */

    --white: #ffffff;
    --gray: #5a4a42;
    /* Gris chaud */
    --border: #e6d0b3;
    /* Bordure beige */

    --shadow: 0 10px 30px rgba(44, 24, 16, 0.15);
    /* Ombre chaude */
    --shadow-hover: 0 15px 40px rgba(210, 105, 30, 0.2);
    /* Ombre colorée au survol */

    /* Gradients */
    --gradient-wood: linear-gradient(135deg, #8B4513 0%, #5D2906 100%);
    --gradient-copper: linear-gradient(135deg, #D2691E 0%, #A0522D 100%);
    --gradient-gold: linear-gradient(135deg, #DAA520 0%, #B8860B 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark);
}

h1 .subtitle {
    font-size: 1rem;
    color: var(--secondary);
    font-style: italic;
    font-weight: 400;
    margin-left: 10px;
}

/* Utilities */
.text-gradient {
    background: var(--gradient-copper);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Header Logo */
.header-logo {
    max-height: 80px;
    width: auto;
    display: block;
}

/* Adjust navigation to align with taller logo */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    display: flex;
    align-items: center;
}

/* Gallery Styles */
/* Guitar Gallery Styles */
.gallery {
    padding: 80px 0;
    background-color: var(--warm-gray);
    /* Darker cream for contrast */
}

.guitar-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.guitar-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1;
    position: relative;
    /* Robustness */
}

.guitar-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.guitar-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    /* Robustness */
    top: 0;
    left: 0;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    margin-left: 30px;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--secondary);
}

/* Hero */
.hero {
    background: linear-gradient(rgba(44, 24, 16, 0.7), rgba(44, 24, 16, 0.7)), url('images/guitarenoyer.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 120px 0;
    margin-bottom: 0;
    /* Remove margin to flush with next section */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    opacity: 0.95;
    font-weight: 300;
}

/* About Section for Index */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.about-block {
    margin-bottom: 30px;
}

.lead {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 40px;
    font-style: italic;
}

/* Button Variants */
.btn-outline {
    background: transparent;
    border: 2px solid var(--dark);
    color: var(--dark);
    display: inline-block;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--dark);
    color: var(--white);
}

/* Filters */
.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    padding: 10px 25px;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s;
    color: var(--gray);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

/* Gallery Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    padding-bottom: 80px;
}

.card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid rgba(139, 69, 19, 0.1);
    /* Subtle wood border */
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(210, 105, 30, 0.3);
}

.card-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--dark);
}

.card-content {
    padding: 25px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.wood-info {
    font-size: 0.9rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 500;
}

.description {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 25px;
    min-height: 3em;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 15px;
}

.price {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark);
}

.detail {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Contact */
.contact {
    background: var(--light);
    padding: 80px 0;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Button Variants */
.btn {
    display: inline-block;
    background: var(--gradient-copper);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.3);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 105, 30, 0.5);
    background: linear-gradient(135deg, #E9967A 0%, #D2691E 100%);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    display: inline-block;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.2);
}


/* --- New CSS for Additional Pages --- */

/* Page Headers */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/selmer.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    margin-bottom: 60px;
}

.badge-header {
    background: var(--secondary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    display: inline-block;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Atelier Content */
.atelier-content {
    padding: 60px 0;
}

.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.grid-2-cols img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.text-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 1.5rem;
}

.text-content p {
    margin-bottom: 20px;
    color: var(--gray);
}

/* Expertise Cards */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.expertise-card {
    background: var(--white);
    padding: 30px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.expertise-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.expertise-card p {
    font-weight: 500;
    color: var(--dark);
}

/* Services */
.bg-light {
    background-color: #fffaf5;
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.icon-lg {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Workshop Gallery */
.workshop-gallery {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.02);
}

/* Videos */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    padding-bottom: 80px;
}

.video-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 25px;
}

.video-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.video-info p {
    color: var(--gray);
}

/* Legal Page */
.legal-content {
    background: var(--white);
    padding: 60px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin: 60px auto;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark);
    border-bottom: 2px solid var(--light);
    padding-bottom: 10px;
}

.legal-section p {
    margin-bottom: 15px;
    color: var(--gray);
}

/* Guitar Detail Page */
.guitar-detail-header {
    background-color: var(--dark);
    color: var(--white);
    padding: 120px 0 60px;
}

.guitar-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 40px;
    margin-top: -50px;
    margin-bottom: 80px;
    position: relative;
}

.guitar-main-image img {
    width: 100%;
    border-radius: 12px;
}

.guitar-info h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.guitar-category {
    display: inline-block;
    background: var(--light);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}

.guitar-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 20px 0;
    display: block;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.specs-table td {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.specs-table td:first-child {
    font-weight: 600;
    width: 40%;
    color: var(--dark);
}

.specs-table td:last-child {
    color: var(--gray);
}

.guitar-gallery-section {
    padding: 80px 0;
    margin-top: 40px;
}

/* Contact Page */
.contact-page-content {
    padding: 60px 0 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.contact-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.contact-card p {
    color: var(--gray);
    margin-bottom: 25px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}


/* Enhanced Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
    text-align: left;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
    margin-left: 15px;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 900px) {

    .grid-2-cols,
    .guitar-detail-grid {
        grid-template-columns: 1fr;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .videos-grid,
    .contact-grid,
    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        text-align: center;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

/* Mobile Navigation */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    header .container nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        padding: 20px;
        z-index: 100;
        display: flex;
        /* Ensure flex is active for vertical layout */
    }

    header .container nav.active {
        right: 0;
    }

    header .container nav a {
        margin: 15px 0;
        font-size: 1.2rem;
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}