/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color palette inspired by rust and metal - Improved contrast */
    --rust-primary: #8b4513;           /* Darker for better contrast */
    --rust-secondary: #654321;
    --rust-light: #cd853f;
    --rust-dark: #4a3219;             /* Even darker for strong contrast */
    --metal-gray: #5a5a5a;            /* Darker for better readability */
    --metal-light: #9a9a9a;           /* Slightly darker */
    --metal-dark: #2f2f2f;
    --copper: #a0651f;                /* Darker copper for better contrast */
    --iron: #3a3a3a;                  /* Darker iron */
    --white: #ffffff;
    --cream: #f8f5f0;                 /* Slightly warmer cream */
    --cream-light: #fefcf9;           /* Very light cream for backgrounds */
    --black: #1a1a1a;
    --text-primary: #2d2d2d;          /* Dark text for maximum readability */
    --text-secondary: #4a4a4a;        /* Secondary text color */
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Shadows and effects */
    --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 16px rgba(0,0,0,0.2);
    --rust-gradient: linear-gradient(135deg, var(--rust-primary) 0%, var(--copper) 100%);
    --metal-gradient: linear-gradient(135deg, var(--metal-light) 0%, var(--metal-gray) 100%);
    --soft-gradient: linear-gradient(135deg, rgba(139, 69, 19, 0.05) 0%, rgba(184, 115, 51, 0.05) 100%);
    
    /* Layout - Modern spacing */
    --container-max-width: 1200px;
    --section-padding: 6rem 0;
    --section-padding-small: 4rem 0;
    --content-spacing: 3rem;
    --element-spacing: 2rem;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography - Improved hierarchy and readability */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Better size progression and contrast */
h1 { 
    font-size: 2.25rem; 
    color: var(--rust-dark);
    font-weight: 700;
}

h2 { 
    font-size: 1.875rem; 
    color: var(--rust-primary);
}

h3 { 
    font-size: 1.5rem; 
    color: var(--rust-primary);
    font-weight: 600;
}

h4 { 
    font-size: 1.25rem; 
    color: var(--text-primary);
    font-weight: 600;
}

h5 { 
    font-size: 1.125rem; 
    color: var(--text-primary);
}

h6 { 
    font-size: 1rem; 
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Improved paragraph styling */
p {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Large text paragraphs */
.lead-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Small text */
.small-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.section-title {
    text-align: center;
    color: var(--rust-primary);
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--rust-gradient);
    border-radius: 3px;
}

.accent {
    color: var(--rust-primary);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
    font-size: clamp(1.5rem, 8vw, 2.5rem);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--rust-gradient);
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(139, 69, 19, 0.3);
    background: var(--rust-gradient);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: var(--rust-primary);
    border: 2px solid var(--rust-primary);
}

.btn-secondary:hover {
    background: var(--rust-primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(139, 69, 19, 0.25);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(245, 245, 220, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(245, 245, 220, 0.98);
    box-shadow: var(--shadow-medium);
}

.navbar {
    padding: 0.5rem 0;
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h1 {
    font-size: 1.5rem;
    color: var(--rust-primary);
    margin: 0;
}

.nav-logo i {
    color: var(--copper);
    margin-right: 0.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--metal-dark);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rust-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--rust-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--cream) 0%, #e6d7c3 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="rust" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><rect fill="%23a0522d" width="20" height="20"/><circle fill="%23654321" cx="10" cy="10" r="3"/></pattern></defs><rect fill="url(%23rust)" width="100" height="100" opacity="0.1"/></svg>') repeat;
    z-index: 1;
}

.hero-content {
    flex: 1;
    padding: 3rem 2rem;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--metal-dark);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--metal-gray);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rust-texture {
    width: 400px;
    height: 600px;
    position: relative;
    background-image: url('../photos/le coq qui rouille.jpg');
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    overflow: hidden;
}

.rust-texture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139, 69, 19, 0.1) 0%, rgba(184, 115, 51, 0.1) 100%);
    border-radius: var(--border-radius);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Introduction Section */
.intro {
    padding: 3rem;
    background: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.intro .container {
    padding: var(--section-padding) 2rem;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--content-spacing);
    align-items: center;
    margin: 0;
    width: 100%;
    min-height: 80vh;
}

.intro-text h3 {
    color: var(--rust-primary);
    margin-bottom: 1.5rem;
}

.intro-text p {
    font-size: 1.1rem;
    color: var(--metal-dark);
}

.intro-features {
    display: grid;
    gap: var(--element-spacing);
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--cream);
    border-radius: var(--border-radius);
    border-left: 5px solid var(--rust-primary);
    transition: var(--transition);
    margin: 1rem 0;
}

.feature:hover {
    transform: translateX(12px);
    box-shadow: 0 8px 24px rgba(139, 69, 19, 0.15);
    background: linear-gradient(135deg, var(--cream), #f5f2ed);
}

.feature i {
    font-size: 2rem;
    color: var(--copper);
    margin-top: 0.25rem;
}

.feature h4 {
    color: var(--rust-primary);
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--metal-gray);
    margin: 0;
}

/* Gallery Section */
.gallery {
    padding: var(--section-padding) 2rem;
    background: var(--cream-light);
    min-height: 100vh;
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--soft-gradient);
    z-index: 1;
}

.gallery .container {
    position: relative;
    z-index: 2;
}

.gallery-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: var(--content-spacing);
    padding: var(--element-spacing) 0;
}

.gallery-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--rust-primary);
    background: transparent;
    color: var(--rust-primary);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    font-weight: 500;
}

.gallery-btn:hover,
.gallery-btn.active {
    background: var(--rust-primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(139, 69, 19, 0.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--element-spacing);
    margin: var(--content-spacing) 0;
    padding: var(--element-spacing) 0;
}

.gallery-item {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(20px);
    position: relative;
}

.gallery-item.show {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 25px 50px rgba(139, 69, 19, 0.2),
        0 10px 20px rgba(139, 69, 19, 0.15),
        0 4px 8px rgba(139, 69, 19, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) contrast(1) saturate(1);
}

.gallery-item:hover img {
    transform: scale(1.04);
    filter: brightness(1.08) contrast(1.15) saturate(1.12);
}

/* Overlay moderne et subtil */
.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at center,
        rgba(139, 69, 19, 0.03) 0%,
        rgba(184, 115, 51, 0.06) 50%,
        rgba(139, 69, 19, 0.08) 100%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Suppression de l'ancien overlay moche */
.gallery-item::before {
    display: none;
}

.gallery-item-info {
    padding: 2rem;
}

.gallery-item h3 {
    color: var(--rust-primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.gallery-item p {
    color: var(--metal-gray);
    margin: 0;
}

.gallery-item .category-tag {
    display: inline-block;
    background: var(--rust-light);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Gallery category sections */
.gallery-categories {
    display: none; /* Hidden by default, shown when filtering */
    margin: var(--content-spacing) 0;
    padding: var(--element-spacing) 0;
}

.category-section {
    text-align: center;
    margin-bottom: var(--element-spacing);
    padding: 1.5rem 0;
}

.category-title {
    color: var(--rust-primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.category-subtitle {
    color: var(--metal-gray);
    font-style: italic;
    margin: 0;
    font-size: 1rem;
}

/* Gallery actions */
.gallery-actions {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn,
.view-all-btn {
    display: inline-block;
    margin: 0 0.5rem 1rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
}

.load-more-btn {
    background: var(--metal-gradient);
    color: var(--white);
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.view-all-btn {
    background: var(--rust-gradient);
    color: var(--white);
    border: 2px solid transparent;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    background: var(--rust-dark);
}

.gallery-note {
    color: var(--metal-gray);
    font-style: italic;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Process Section */
.process {
    padding: var(--section-padding) 2rem;
    background: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--element-spacing);
    margin: var(--content-spacing) 0;
}

.process-card {
    text-align: center;
    padding: 2rem;
    background: var(--cream);
    border-radius: var(--border-radius);
    border: 3px solid var(--rust-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(160, 82, 45, 0.1), transparent);
    transition: var(--transition);
}

.process-card:hover::before {
    left: 100%;
}

.process-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 32px rgba(139, 69, 19, 0.2);
    border-color: var(--rust-primary);
}

.process-card i {
    font-size: 3rem;
    color: var(--copper);
    margin-bottom: 1rem;
}

.process-card h3 {
    color: var(--rust-primary);
    margin-bottom: 1.5rem;
}

.process-card ul {
    list-style: none;
    text-align: left;
}

.process-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(160, 82, 45, 0.2);
    color: var(--metal-dark);
}

.process-card li:last-child {
    border-bottom: none;
}

.materials-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--element-spacing);
    margin-top: var(--content-spacing);
}

.material-detail {
    padding: 2rem;
    background: linear-gradient(135deg, var(--cream), #f0e6d6);
    border-radius: var(--border-radius);
    border-left: 5px solid var(--copper);
}

.material-detail h4 {
    color: var(--rust-primary);
    margin-bottom: 1rem;
}

.material-detail p {
    color: var(--metal-dark);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* About Section */
.about {
    padding: 0;
    background: var(--cream);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.about .container {
    padding: var(--section-padding) 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--content-spacing);
    align-items: center;
    width: 100%;
    min-height: 80vh;
}

.about-text h2 {
    color: var(--rust-primary);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--metal-dark);
    margin-bottom: 1.5rem;
}

.occasions {
    margin-top: 2rem;
}

.occasions h4 {
    color: var(--rust-primary);
    margin-bottom: 1rem;
}

.occasion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--rust-gradient);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.workshop-preview {
    text-align: center;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: 3px solid var(--rust-primary);
}

.workshop-preview i {
    font-size: 4rem;
    color: var(--copper);
    margin-bottom: 1rem;
}

.workshop-preview img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.workshop-preview p {
    color: var(--rust-primary);
    font-weight: 600;
    margin: 0;
}

/* Contact Section */
.contact {
    padding: var(--section-padding) 2rem;
    background: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--content-spacing);
    margin: var(--element-spacing) 0;
}

.contact-info {
    display: grid;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--cream);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--rust-primary);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateX(12px);
    box-shadow: 0 8px 24px rgba(139, 69, 19, 0.15);
}

.contact-card i {
    font-size: 1.5rem;
    color: var(--copper);
    margin-top: 0.25rem;
}

.contact-card h3 {
    color: var(--rust-primary);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--metal-dark);
    margin: 0;
}

.contact-card a {
    color: var(--rust-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--rust-dark);
}

.contact-form {
    background: linear-gradient(135deg, var(--cream), #f0e6d6);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--rust-light);
}

.contact-form h3 {
    color: var(--rust-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--rust-light);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--white);
    color: var(--metal-dark);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--rust-primary);
    box-shadow: 0 0 0 3px rgba(160, 82, 45, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Privacy notice and checkbox */
.privacy-notice {
    margin: 1.5rem 0;
}

.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    cursor: pointer;
}

.privacy-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 18px;
    height: 18px;
    margin: 0;
}

.privacy-checkbox .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--rust-primary);
    border-radius: 3px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    margin-top: 2px;
}

.privacy-checkbox input[type="checkbox"]:checked + .checkmark {
    background: var(--rust-primary);
    border-color: var(--rust-primary);
}

.privacy-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
}

.privacy-link {
    color: var(--rust-primary);
    text-decoration: underline;
    transition: var(--transition);
}

.privacy-link:hover {
    color: var(--rust-dark);
}

/* Privacy Modal */
.privacy-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.privacy-modal.show {
    display: block;
}

.privacy-modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-heavy);
}

.privacy-modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--rust-primary);
    transition: var(--transition);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--cream);
}

.privacy-modal-close:hover {
    background: var(--rust-primary);
    color: var(--white);
}

.privacy-content {
    margin-top: 1rem;
}

.privacy-content h3 {
    color: var(--rust-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.privacy-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.rgpd-notice {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background: var(--metal-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--rust-light);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--metal-light);
    margin: 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--metal-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--rust-light);
}

.footer-section i {
    margin-right: 0.5rem;
    color: var(--copper);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--metal-gray);
    color: var(--metal-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: var(--section-padding-small);
        --content-spacing: 2rem;
        --element-spacing: 1.5rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(245, 245, 220, 0.98);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 80px;
        background: var(--cream);
        background-size: 100% 100%;
        position: relative;
        height: auto;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Mobile hero unique background pattern */
    .hero::before {
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="mobileBg"><stop offset="0%" stop-color="%238b4513" stop-opacity="0.1"/><stop offset="100%" stop-color="%23cd853f" stop-opacity="0.05"/></radialGradient></defs><rect fill="url(%23mobileBg)" width="100" height="100"/></svg>') repeat;
        width: 100%;
        height: 100%;
    }

    .hero-content {
        padding: 2rem 1rem;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .hero-buttons {
        justify-content: center;
    }

    /* Mobile: Reduce min-height for better UX and add proper padding */
    .intro,
    .gallery,
    .process,
    .about,
    .contact {
        min-height: auto;
        padding: var(--section-padding) 1.5rem;
    }
    
    .intro .container,
    .about .container {
        padding: 4rem 1rem;
        max-width: 100vw;
        width: 100%;
        box-sizing: border-box;
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .intro-text,
    .intro-features {
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .intro-text h3,
    .intro-text p,
    .intro-features .feature {
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
        flex-direction: column;
        align-items: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .materials-info {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .accent {
        max-width: calc(100vw - 2rem);
        font-size: clamp(1.2rem, 7vw, 2rem);
    }

    .hero-image,
    .rust-texture {
        /* display: none; */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    :root {
        --section-padding: 3rem 0;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-content {
        padding: 2.5rem 1rem;
    }

    .gallery-nav {
        flex-direction: column;
        align-items: center;
    }

    .occasion-tags {
        justify-content: center;
    }

    .contact-form {
        padding: 1rem;
    }
}

/* Smooth scrolling et animations modernes */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset pour header fixe */
}




/* Amélioration des hover effects pour les autres éléments */
.feature:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(139, 69, 19, 0.12);
    background: linear-gradient(135deg, var(--cream), var(--cream-light));
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(139, 69, 19, 0.15);
    border-color: var(--rust-primary);
}

.contact-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(139, 69, 19, 0.12);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--rust-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--rust-dark);
}

/* FIB Support Section */
.fib-support {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-light) 100%);
    border-top: 1px solid rgba(139, 69, 19, 0.1);
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
}

.fib-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.fib-logo {
    width: 80px;
    height: auto;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.fib-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.fib-message {
    font-size: 1rem;
    color: var(--text-primary);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    flex: 1;
    max-width: 600px;
}

/* Mobile responsive for FIB section */
@media (max-width: 768px) {
    .fib-support {
        padding: 2rem 1rem;
    }

    .fib-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .fib-logo {
        width: 60px;
    }

    .fib-message {
        font-size: 0.9rem;
    }
}