* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

:root {
    /* Computed height: 48px (logo) + 32px (1rem top/bottom padding) + 1px (border) */
    --nav-height: 81px; 
}

body { 
    font-family: 'Times New Roman', serif; 
    line-height: 1.6; 
    color: #333; 
    background: #fff; 
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}
.navbar {
    position: fixed; 
    top: 0; 
    left: 0;
    width: 100%;
    height: var(--nav-height); /* Rigorous 81px box height */
    background: rgba(255, 255, 255, 0.9); 
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e5e5; 
    z-index: 1000; 
    transition: all 0.3s;
}

.navbar.scrolled { background: rgba(255,255,255,0.95); }
.navbar .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 100%;
    padding: 0 20px;
    }
    
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #b91c1c; font-weight: bold; }
.logo img { height: 48px; width: 48px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: #666; text-transform: uppercase; font-size: 14px; letter-spacing: 0.1em; transition: color 0.3s; cursor: pointer; }
.nav-links a.active, .nav-links a:hover { color: #b91c1c; }
.mobile-menu { display: none; cursor: pointer; font-size: 24px; }
.hero {
    position: relative;
    margin-top: var(--nav-height);
    height: calc(100vh - var(--nav-height)); 
    
    display: flex;
    align-items: center; 
    justify-content: center; 
    overflow: hidden;
    background: url('../images/hero-bg.png') center/cover;
}

.hero::before {
    content: ''; position: absolute; top: 0px; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.5); z-index: 1;
}
.hero-content { position: relative; z-index: 2; text-align: center; color: #333; max-width: 800px; }
.hero-logo { height: 144px; width: 144px; margin: 0 auto 32px; filter: drop-shadow(0 0 20px rgba(0,0,0,0.3)); }
.hero-subtitle { font-size: 16px; letter-spacing: 0.4em; text-transform: uppercase; color: #b91c1c; margin-bottom: 24px; }
.hero-title { font-size: 72px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 24px; font-weight: bold; }
.hero-text { font-size: 20px; color: #666; margin-bottom: 48px; max-width: 600px; margin-left: auto; margin-right: auto; }
.btn {
    display: inline-block; padding: 16px 32px; text-transform: uppercase; font-size: 14px;
    letter-spacing: 0.1em; text-decoration: none; border: 1px solid #b91c1c;
    color: #b91c1c; background: transparent; transition: all 0.3s; margin: 0 10px; cursor: pointer;
}
.btn.primary { background: #b91c1c; color: white; }
.btn:hover { background: #b91c1c; color: white; }
.editorial { padding: 160px 0; background: #fff; }
.editorial .container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.editorial img { width: 100%; height: 600px; object-fit: cover; }
.editorial h2 { font-size: 48px; margin-bottom: 32px; }
.editorial p { font-size: 18px; color: #666; margin-bottom: 16px; line-height: 1.8; }
.editorial a { color: #b91c1c; text-decoration: none; border-bottom: 1px solid #b91c1c; padding-bottom: 4px; text-transform: uppercase; font-size: 14px; letter-spacing: 0.1em; cursor: pointer; }
.masterworks { padding: 100px 0; background: #f9f9f9; }
.masterworks h2 { font-size: 48px; text-align: center; margin-bottom: 20px; }
.masterworks .divider { width: 48px; height: 1px; background: #b91c1c; margin: 0 auto 80px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.grid-item { position: relative; height: 500px; overflow: hidden; cursor: pointer; text-decoration: none; display: block; }
.grid-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.grid-item:hover img { transform: scale(1.05); }
.grid-item .overlay { position: absolute; bottom: 32px; left: 32px; color: white; }
.grid-item h3 { font-size: 24px; margin-bottom: 8px; }
.grid-item span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: #b91c1c; }
.atelier {
    position: relative; height: 60vh; display: flex;
    align-items: center; justify-content: center;
    background: url('../images/atelier.png') center/cover;
}
.atelier::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6); z-index: 1;
}
.atelier-content { position: relative; z-index: 2; text-align: center; color: white; }
.atelier h2 { font-size: 48px; margin-bottom: 24px; }
.gallery-section { padding: 160px 0 100px; }
.gallery-section h2.section-heading { font-size: 60px; text-align: center; margin-bottom: 20px; font-weight: normal; }
.gallery-section .divider { width: 48px; height: 1px; background: #b91c1c; margin: 0 auto 24px; }
.gallery-section > .container > p { text-align: center; color: #666; max-width: 600px; margin: 0 auto 48px; }
.filters { display: flex; justify-content: center; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.filter-btn { background: none; border: none; text-transform: uppercase; font-size: 14px; letter-spacing: 0.1em; color: #666; cursor: pointer; padding-bottom: 4px; transition: color 0.3s; font-family: 'Times New Roman', serif; }
.filter-btn.active { color: #b91c1c; border-bottom: 1px solid #b91c1c; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.gallery-item { position: relative; aspect-ratio: 3/4; overflow: hidden; background: #f0f0f0; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .badge { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,0.7); padding: 4px 12px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: #333; }
.gallery-item .hover-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.85), transparent); padding: 28px; color: white; opacity: 0; transition: opacity 1s; }
.gallery-item:hover .hover-overlay { opacity: 1; }
.hover-overlay .category { font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: #b91c1c; margin-bottom: 4px; }
.hover-overlay h3 { font-size: 20px; margin-bottom: 4px; }
.hover-overlay p { font-size: 12px; color: rgba(255,255,255,0.7); text-align: left; margin: 0; }
.order-section { padding: 160px 0 100px; position: relative; overflow: hidden; }
.order-section::before { content: ''; position: absolute; top: -10%; right: -5%; width: 50%; height: 50%; background: rgba(185,28,28,0.05); border-radius: 50%; filter: blur(120px); }
.order-form { max-width: 600px; margin: 0 auto; background: white; padding: 40px; border: 1px solid #e5e5e5; position: relative; z-index: 1; }
.order-form h2.section-heading { font-size: 48px; text-align: center; margin-bottom: 20px; font-weight: normal; }
.order-form .divider { width: 48px; height: 1px; background: #b91c1c; margin: 0 auto 40px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; color: #666; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #e5e5e5; font-family: inherit; font-size: 16px; }
.form-group textarea { height: 120px; resize: vertical; }
.submit-btn { width: 100%; padding: 16px; background: #b91c1c; color: white; border: none; text-transform: uppercase; font-size: 14px; letter-spacing: 0.1em; cursor: pointer; transition: background 0.3s; font-family: 'Times New Roman', serif; }
.submit-btn:hover { background: #a01717; }
.whatsapp-btn { display: block; text-align: center; margin-top: 20px; padding: 16px; background: #25d366; color: white; text-decoration: none; text-transform: uppercase; font-size: 14px; letter-spacing: 0.1em; transition: background 0.3s; }
.whatsapp-btn:hover { background: #1ebe59; }
.contact-section { padding: 160px 0 100px; }
.contact-section h2.section-heading { font-size: 60px; text-align: center; margin-bottom: 20px; font-weight: normal; }
.contact-section .divider { width: 48px; height: 1px; background: #b91c1c; margin: 0 auto 24px; }
.contact-section > .container > p { text-align: center; color: #666; max-width: 600px; margin: 0 auto 80px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-card { background: white; padding: 40px; border: 1px solid #e5e5e5; position: relative; }
.contact-card::before, .contact-card::after { content: ''; position: absolute; width: 16px; height: 16px; border: 1px solid #b91c1c; }
.contact-card::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.contact-card::after { bottom: 0; right: 0; border-left: none; border-top: none; }
.contact-item { margin-bottom: 40px; }
.contact-item h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: #b91c1c; margin-bottom: 16px; }
.contact-item p { color: #666; margin-bottom: 8px; }
.contact-link { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; margin-bottom: 12px; transition: color 0.3s; }
.contact-link:hover { color: #b91c1c; }
.contact-link svg { color: #666; flex-shrink: 0; }
.footer { background: #f9f9f9; border-top: 1px solid #e5e5e5; padding: 80px 0 40px; }
.footer .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 48px; margin-bottom: 32px; }
.footer-brand { text-align: center; }
.footer-brand img { height: 56px; width: 56px; margin-bottom: 24px; }
.footer-brand h3 { font-size: 20px; color: #b91c1c; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-brand p { color: #666; max-width: 300px; }
.footer-section h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 24px; color: #333; }
.footer-links { display: flex; flex-direction: column; gap: 16px; }
.footer-links a { color: #666; text-decoration: none; transition: color 0.3s; cursor: pointer; }
.footer-links a:hover { color: #b91c1c; }
.footer-atelier span { display: flex; align-items: center; gap: 12px; color: #666; margin-bottom: 16px; }
.footer-atelier svg { color: #b91c1c; }
.footer-atelier a { text-decoration: none; color: inherit; }
.footer-bottom { border-top: 1px solid #e5e5e5; padding-top: 32px; display: flex; justify-content: center; font-size: 12px; color: #666; text-transform: uppercase; letter-spacing: 0.1em; text-align: center; }
.whatsapp-float { position: fixed; bottom: 32px; right: 32px; background: #25d366; color: white; width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: transform 0.3s; z-index: 999; }
.whatsapp-float:hover { transform: scale(1.1); }
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu { display: block; }
    .hero-title { font-size: 40px; }
    .hero-text { font-size: 16px; }
    .editorial .container { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .filters { gap: 16px; }
    .gallery-section h2.section-heading { font-size: 40px; }
    .contact-section h2.section-heading { font-size: 40px; }
}