/* =============================================================================
   NOISETTE PÂTISSERIE - MINIMALIST & ARTISANAL DESIGN
   ============================================================================= */

/* CSS Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fefefe;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =============================================================================
   TYPOGRAPHY
   ============================================================================= */

h1, h2, h3, h4 {
    font-family: 'EB Garamond', serif;
    font-weight: 500;
    line-height: 1.2;
    color: #1a1a1a;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #333;
    font-weight: 300;
}

/* =============================================================================
   LAYOUT UTILITIES
   ============================================================================= */

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

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

/* =============================================================================
   NAVIGATION
   ============================================================================= */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 254, 254, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #1a1a1a;
}

.logo-mark {
    width: 32px;
    height: 32px;
    background: #d4a574;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'EB Garamond', serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: white;
}

.logo-text {
    font-family: 'EB Garamond', serif;
    font-size: 1.1rem;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: #666;
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #d4a574;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #d4a574;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 20px;
    height: 1px;
    background: #1a1a1a;
    transition: all 0.3s ease;
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 2rem 60px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-intro {
    max-width: 500px;
}

.hero-subtitle {
    font-size: 0.9rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-family: 'EB Garamond', serif;
    font-weight: 400;
    line-height: 0.9;
    margin-bottom: 0;
}

.hero-highlight {
    font-style: italic;
    color: #d4a574;
    position: relative;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #d4a574, transparent);
    opacity: 0.3;
}

.hero-image {
    position: relative;
    height: 500px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(212, 165, 116, 0.05) 50%,
        transparent 60%
    );
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-scroll span {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #d4a574, transparent);
}

/* =============================================================================
   SECTIONS COMMON
   ============================================================================= */

section {
    padding: 6rem 0;
}

.section-intro {
    display: flex;
    align-items: baseline;
    gap: 2rem;
    margin-bottom: 4rem;
}

.section-number {
    font-family: 'EB Garamond', serif;
    font-size: 1.2rem;
    color: #d4a574;
    font-weight: 500;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: #1a1a1a;
}

/* =============================================================================
   PHILOSOPHY SECTION
   ============================================================================= */

.philosophy {
    background: #fafafa;
}

.philosophy-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 6rem;
    align-items: start;
}

.philosophy-image {
    margin-bottom: 2rem;
    border-radius: 2px;
    overflow: hidden;
}

.philosophy-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.philosophy-text .lead-text {
    margin-bottom: 4rem;
    max-width: 600px;
}

.philosophy-principles {
    display: grid;
    gap: 3rem;
}

.principle h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.principle p {
    color: #666;
    line-height: 1.7;
    max-width: 400px;
}

.philosophy-visual {
    position: sticky;
    top: 120px;
    background: white;
    padding: 3rem;
    border-radius: 2px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.philosophy-quote {
    font-family: 'EB Garamond', serif;
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
    color: #333;
    margin-bottom: 2rem;
}

.philosophy-quote::before,
.philosophy-quote::after {
    content: '"';
    color: #d4a574;
    font-size: 2rem;
}

cite {
    font-size: 0.9rem;
    color: #999;
    font-style: normal;
}

/* =============================================================================
   WORKSHOPS SECTION
   ============================================================================= */

.workshops-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.workshop-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.workshop-image {
    overflow: hidden;
}

.workshop-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.workshop-card:hover .workshop-image img {
    transform: scale(1.05);
}

.workshop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.workshop-card--primary {
    border-color: #d4a574;
}

.workshop-header {
    padding: 2rem 2rem 0;
}

.workshop-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 1rem;
}

.workshop-badge--new {
    background: #d4a574;
    color: white;
}

.workshop-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

.workshop-details {
    padding: 2rem;
}

.workshop-details address {
    font-style: normal;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.workshop-hours {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.workshop-hours strong {
    color: #1a1a1a;
}

.workshop-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.workshop-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.workshop-features span {
    padding: 0.3rem 0.8rem;
    background: #f8f8f8;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #666;
}

/* =============================================================================
   CREATIONS SECTION
   ============================================================================= */

.creations {
    background: white;
}

.creations-content {
    display: grid;
    gap: 6rem;
}

.signature-piece {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.signature-visual {
    position: relative;
}

.signature-image {
    position: relative;
    height: 400px;
}

.signature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.signature-image .image-placeholder {
    background: linear-gradient(135deg, #f8f6f3, #ebe6e0);
    border-radius: 2px;
}

.signature-label {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #d4a574;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.signature-description h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.signature-description p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.signature-notes {
    list-style: none;
}

.signature-notes li {
    padding: 0.5rem 0;
    color: #999;
    position: relative;
    padding-left: 1.5rem;
}

.signature-notes li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #d4a574;
}

.creations-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid #f0f0f0;
}

.category-image {
    margin-bottom: 1.5rem;
    border-radius: 2px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.creation-category:hover .category-image img {
    transform: scale(1.05);
}

.creation-category h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.creation-category ul {
    list-style: none;
}

.creation-category li {
    padding: 0.8rem 0;
    color: #666;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.95rem;
}

.creation-category li:last-child {
    border-bottom: none;
}

/* =============================================================================
   ORIGIN SECTION
   ============================================================================= */

.origin {
    background: #fafafa;
}

.origin-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.origin-visual {
    border-radius: 2px;
    overflow: hidden;
}

.origin-visual img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.origin-timeline {
    display: grid;
    gap: 3rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

.timeline-date {
    font-family: 'EB Garamond', serif;
    font-size: 1.5rem;
    color: #d4a574;
    font-weight: 500;
    position: sticky;
    top: 120px;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.timeline-content p {
    color: #666;
    line-height: 1.7;
}

.origin-text {
    position: sticky;
    top: 120px;
}

.origin-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.origin-text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* =============================================================================
   CONTACT SECTION
   ============================================================================= */

.contact {
    background: white;
    border-top: 1px solid #f0f0f0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.contact-locations {
    display: grid;
    gap: 3rem;
}

.location h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.location address {
    font-style: normal;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.location a {
    color: #d4a574;
    text-decoration: none;
}

.location a:hover {
    text-decoration: underline;
}

.contact-social {
    position: sticky;
    top: 120px;
}

.contact-social h3 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.social-links {
    display: grid;
    gap: 1.5rem;
}

.social-link {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    text-decoration: none;
    padding: 1rem;
    border: 1px solid #f0f0f0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: #d4a574;
    transform: translateX(4px);
}

.social-link span:first-child {
    color: #1a1a1a;
    font-weight: 500;
}

.social-handle {
    color: #999;
    font-size: 0.9rem;
}

/* =============================================================================
   FOOTER
   ============================================================================= */

.footer {
    background: #1a1a1a;
    color: #999;
    padding: 3rem 0;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

.footer-craft {
    font-style: italic;
    color: #666;
}

/* =============================================================================
   RESPONSIVE DESIGN
   ============================================================================= */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-image {
        height: 350px;
    }
    
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .philosophy-visual {
        position: static;
    }
    
    .workshops-grid {
        grid-template-columns: 1fr;
    }
    
    .signature-piece {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .signature-image {
        height: 300px;
    }
    
    .origin-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .origin-visual img {
        height: 300px;
    }
    
    .origin-text {
        position: static;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .contact-social {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 1rem 40px;
    }
    
    .hero-image {
        height: 250px;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .section-intro {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 3rem;
    }
    
    .philosophy-image img {
        height: 150px;
    }
    
    .workshop-image img {
        height: 150px;
    }
    
    .signature-image {
        height: 200px;
    }
    
    .category-image img {
        height: 120px;
    }
    
    .creations-gallery {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .timeline-date {
        position: static;
    }
    
    .origin-visual img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .signature-image {
        height: 250px;
    }
    
    .workshop-details {
        padding: 1.5rem;
    }
    
    .workshop-features {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .philosophy-visual {
        padding: 2rem;
    }
}

/* =============================================================================
   ANIMATIONS & INTERACTIONS
   ============================================================================= */

.hero-intro {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out 0.1s forwards;
}

.hero-image {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out 0.3s forwards;
}

.hero-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.5s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-line {
    animation: scroll-indicator 3s ease-in-out infinite;
}

@keyframes scroll-indicator {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

/* Smooth scrolling for internal links */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
*:focus {
    outline: 2px solid #d4a574;
    outline-offset: 2px;
}

/* Selection styling */
::selection {
    background: #d4a574;
    color: white;
}