/* ================================
   PALETTE BWAYL
================================ */
:root {
    --blue-main: #1f4e79;
    --blue-secondary: #4fa3e3;
    --blue-dark: #0f2a44;

    --bg-main: #f9f7f4;
    --bg-card: #ffffff;

    --text-main: #111111;
    --text-secondary: #555555;
    --text-light: #ffffff;

    --border-light: #e6e6e6;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
}

/* TOP BAR */
.top-bar {
    background-color: var(--blue-dark);
    color: var(--text-light);
    text-align: center;
    font-size: 14px;
    padding: 10px;
}

/* HEADER */
.header {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
}

.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    color: var(--blue-main);
}

.nav a {
    margin-left: 25px;
    text-decoration: none;
    color: var(--text-main);
}

/* HERO */
.hero {
    position: relative;
    height: 80vh;
    background: url("../images/hero.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(31,78,121,0.75),
        rgba(15,42,68,0.85)
    );
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 46px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* BUTTONS */

.catalogue-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
}

.btn-primary {
    background-color: var(--blue-secondary);
    color: var(--text-light);
    padding: 14px 34px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
}

.btn-secondary {
    background-color: var(--blue-secondary);
    color: var(--text-light);
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
}

/* CATALOGUE */
.catalogue-section {
    padding: 100px 20px;
    background-color: var(--bg-main);
}

.catalogue-section h2 {
    text-align: center;
    font-size: 34px;
    margin-bottom: 60px;
}

.catalogue-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.product-card img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 15px;
}

.product-card h3 {
    margin-bottom: 10px;
}

.product-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

.product-price {
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 25px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-light);
}

/* ================================
   PAGE PRODUIT
================================ */
.product-page {
    padding: 80px 20px;
}

.product-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.product-image img {
    width: 100%;
    border-radius: 20px;
    background-color: white;
}

.product-info h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.product-desc {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.product-price {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
}

.product-details {
    margin-top: 30px;
    padding-left: 20px;
}

.product-details li {
    margin-bottom: 10px;
}
