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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Libre Bodoni', -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
}

/* --- ADDED FOR MODAL UX --- */
/* Prevents background scrolling when modal is open */
body.no-scroll {
    overflow: hidden;
}
/* ------------------------- */

button {
    font-family: 'Libre Bodoni', -apple-system, sans-serif;
    cursor: pointer;
    border: none;
    background: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- ADDED FOR SECURITY --- */
/* Cache le champ honeypot tout en le gardant accessible au DOM pour les bots */
.visual-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
/* ------------------------- */

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #000000;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #666666;
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    list-style: none;
    gap: 3rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.nav-desktop button {
    color: #000000;
    transition: color 0.3s ease;
}

.nav-desktop button:hover {
    color: #666666;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: block;
    padding: 0.5rem;
    font-size: 1.5rem;
}

.menu-open .menu-icon {
    display: none;
}

.close-icon {
    display: none;
}

.menu-open .close-icon {
    display: block;
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    list-style: none;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile button {
    color: #000000;
    transition: color 0.3s ease;
}

.nav-mobile button:hover {
    color: #666666;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background-color: #ffffff;
}

.hero-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem; /* Space between logo and image */
}

.hero-content {
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-title {
    font-family: "DM Serif Text", -apple-system, sans-serif;
    font-weight: 400;
    font-size: 4rem;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    color: #000000;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1rem;
    color: #666666;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.hero-brand {
    width: 100%;
    max-width: 600px;
    padding: 0 1rem;
}

.hero-logo {
    width: 100%;
    height: auto;
}

/* HERO IMAGE LANDSCAPE STYLES */
.hero-visual {
    width: 100%;
    overflow: hidden;
    padding: 0 3rem;
}

.hero-image-landscape {
    width: 100%;
    height: auto;
    max-height: 60vh; /* Prevents image from being too tall on large screens */
    object-fit: cover;
    object-position: center;
}

/* Work Section */
.work-section {
    padding: 8rem 1.5rem;
    background-color: #ffffff;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 5rem;
    text-align: center;
    color: #000000;
    letter-spacing: -0.02em;
    font-weight: 400;
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.work-item {
    cursor: pointer;
}

.work-image {
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: #f5f5f5;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease-out;
}

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

/* Pricing Section */
.pricing-section {
    padding: 8rem 1.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.pricing-category-title {
    font-family: 'Libre Bodoni', serif;
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #000000;
    font-weight: 400;
}

.pricing-list {
    list-style: none;
    font-family: 'Lato', sans-serif;
    color: #333333;
    max-width: 100%;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.5rem;
}

.pricing-name {
    font-weight: 400;
    font-size: 1rem;
    color: #000000;
    position: relative;
    padding-right: 1rem;
    z-index: 2;
}

.pricing-name small {
    font-size: 0.85em;
    color: #777;
    font-style: italic;
}

.pricing-subtext {
    display: block;
    font-size: 0.85em;
    color: #777;
    margin-top: 0.2rem;
}

/* Dotted line leader */
.pricing-dots {
    flex-grow: 1;
    border-bottom: 1px dotted #ccc;
    margin: 0 0.5rem;
    position: relative;
    top: -5px; /* Adjust alignment */
    opacity: 0.6;
}

.pricing-price {
    font-weight: 700;
    color: #000000;
    white-space: nowrap;
    padding-left: 1rem;
    background-color: #fff;
    z-index: 2;
    font-family: 'Libre Bodoni', serif;
}

.pricing-footer {
    text-align: center;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    color: #666;
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
    line-height: 2;
}

@media (min-width: 1024px) {
    .pricing-grid {
        gap: 3rem;
        align-items: start;
    }
}

/* About Section */
.about-section {
    padding: 8rem 1.5rem;
    background-color: #ffffff;
}

.about-text {
    font-family: 'Lato', -apple-system, sans-serif;
    color: #555555;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 2rem;
}

/* Contact Section */
.contact-section {
    padding: 8rem 1.5rem;
    background-color: #ffffff;
}

.contact-info {
    font-family: 'Lato', -apple-system, sans-serif;
    margin-bottom: 4rem;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 1rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-link {
    color: #555555;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-link:hover {
    color: #000000;
}

.contact-form {
    font-family: 'Lato', -apple-system, sans-serif;
    max-width: 100%;
}

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

.form-input {
    width: 100%;
    padding: 1rem 0;
    border: none;
    border-bottom: 1px solid #cccccc;
    background-color: transparent;
    color: #000000;
    font-size: 1rem;
    font-family: inherit, -apple-system, sans-serif;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: #999999;
}

.form-input:focus {
    border-bottom-color: #000000;
}

textarea.form-input {
    resize: none;
}

.form-submit {
    text-align: center;
    padding-top: 1rem;
}

.submit-btn {
    padding: 1rem 3rem;
    background-color: #000000;
    color: #ffffff;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.submit-btn:hover:not(:disabled) {
    background-color: #333333;
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Footer */
.footer {
    padding: 3rem 1.5rem;
    background-color: #ffffff;
    border-top: 1px solid #e5e5e5;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-link {
    font-size: 0.75rem;
    color: #666666;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.footer-link:hover {
    color: #000000;
}

.footer-separator {
    color: #cccccc;
    font-size: 0.75rem;
}

.footer-text {
    text-align: center;
    font-size: 0.75rem;
    color: #666666;
    letter-spacing: 0.1em;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    overflow: auto;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background-color: #ffffff;
    margin: 2rem auto;
    max-width: 800px;
    width: calc(100% - 2rem);
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    animation: slideUp 0.4s ease;
    z-index: 2001;
    border-radius: 25px;
}

/* Hide scrollbar for modal content */
.modal-content::-webkit-scrollbar {
    display: none;
}

.modal-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 2rem 2rem;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    background-color: #ffffff;
    z-index: 10;
}

.modal-title {
    font-size: 2rem;
    color: #000000;
    letter-spacing: -0.02em;
    font-weight: 400;
}

.modal-close {
    font-size: 2.5rem;
    color: #666666;
    transition: color 0.3s ease;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #000000;
}

.modal-body {
    padding: 3rem 2rem;
    color: #555555;
    line-height: 1.8;
}

.modal-body p {
    font-family: 'Lato', -apple-system, sans-serif;
    margin-bottom: 1.5rem;
}

.modal-body h3 {
    font-size: 1.25rem;
    color: #000000;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.modal-date {
    font-family: 'Lato', -apple-system, sans-serif;
    font-size: 0.875rem;
    color: #999999;
    font-style: italic;
    margin-bottom: 2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .nav-mobile {
        display: none !important;
    }

    .hero-title {
        font-size: 6rem;
    }

    .hero-subtitle {
        font-size: 1.55rem;
    }

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

    .section-title {
        font-size: 4rem;
    }

    .contact-info { 
        flex-direction: row; 
        justify-content: center; 
        gap: 3rem; 
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }

    .container-narrow {
        padding: 0 3rem;
    }

    .nav-container {
        padding: 0 3rem;
    }

    .work-section {
        padding: 8rem 3rem;
    }

    .about-section {
        padding: 8rem 3rem;
    }

    .contact-section {
        padding: 8rem 3rem;
    }

    .work-grid {
        gap: 4rem;
    }
}