:root {
    --primary-color: #000000;
    --secondary-color: #333333;
    --accent-color: #0056b3; /* A subtle blue for buttons/links */
    --bg-color: #ffffff;
    --light-gray: #f9f9f9;
    --border-color: #e0e0e0;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--secondary-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.site-header {
    padding: 2rem 0;
    background-color: var(--bg-color);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.site-header.scrolled {
    border-bottom-color: var(--border-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    text-align: center;
    background-image: url('assets/images/fond.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* Needed for the overlay */
    min-height: 500px; /* Ensure the background is visible */
    display: flex; /* To center content vertically */
    align-items: center; /* To center content vertically */
    justify-content: center; /* To center content horizontally */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Darker overlay for text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* Ensure content is above the overlay */
    color: #fff; /* Set default text color for hero content */
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: #fff; /* White color for better contrast */
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #eee; /* Lighter color for better contrast */
    margin-bottom: 3rem;
    font-style: italic;
    font-family: var(--font-serif);
}

.hero-text-small {
    font-size: 1rem; /* Smaller font size */
    color: #ccc; /* Slightly darker than #eee */
    margin-bottom: 1rem; /* Smaller margin */
    font-family: var(--font-sans); /* Use sans-serif for less prominence */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #004494;
}

.btn-outline {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Catalogues Section */
.catalogues-section {
    padding: 6rem 0;
    background-color: var(--light-gray);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 400;
}

.catalogues-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.catalogue-item {
    background: #fff;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

.catalogue-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.catalogue-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 3px;
}

.catalogue-info {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.catalogue-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 400;
}

.catalogue-desc {
    color: #666;
    font-size: 0.95rem;
}

/* Footer */
.site-footer {
    padding: 4rem 0;
    text-align: center;
    color: #888;
    font-size: 0.8rem;
    border-top: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .hero-details {
        display: flex;
        justify-content: center;
        gap: 4rem;
    }
}
