@import 'fonts.css';

/** {*/
/*    box-sizing: border-box;*/
/*    font-family: 'Roboto', sans-serif;*/
/*    font-size: 10px;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*}*/

:root {
    --black: #000000;
    --fondu: rgba(249, 249, 249, 0.95);
    --light-gray: rgba(248, 248, 248, 0);
    --grey: #595959;
    --red: #ff0000;
    --red_arrow: #e31b22;
    --white: #FFFFFF;
    --primary: #040625;
    --accent: #998476;
    --text: #040625;
    --bg: #ffffff;
    --light-grey: #f5f5f5;
    --font-light: "font-light", sans-serif;
    --font-medium: "font-medium", sans-serif;
    --font-heavy: "font-heavy", sans-serif;
}

/*.container {*/
/*    margin: 0 auto;*/
/*    max-width: 1470px;*/
/*}*/

/*!*----------HEADER----------*!*/

.nav-one {
    background-color: #040625;
    font-size: 16px;
    margin: 0 auto;
    width: 100%;
}

.nav {
    align-items: center;
    background-color: #040625;
    display: flex;
    height: 70px;
    justify-content: flex-start;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.nav-content {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    list-style-type: none;
    padding: 20px;
}

.navbar{
    align-items: center;
    color: var(--grey);
    display: flex;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    margin-left: 20px;
    text-decoration: none;
    text-transform: uppercase;
}

.nav img {
    display: flex;
    align-items: center;
    height: 120px;
    margin-left: 10px;
    width: auto;
}

.nav-content .navbar:hover, .nav-content p:hover{
    text-decoration: underline;
    text-decoration-color: #998476;
    text-decoration-thickness: 4px;
    text-underline-offset: 2rem;
    vertical-align: bottom;
}

.nav-content--acces:hover .navbar{
    text-decoration: underline;
    text-decoration-color: #998476;
    text-decoration-thickness: 4px;
    text-underline-offset: 2rem;
    vertical-align: bottom;
}

.nav-content--acces {
    display: block;
    position: relative;
}

.carre {
    background-color: var(--light-gray);
    border-bottom: 2px solid var(--grey);
    border-right: 2px solid var(--grey);
    height: 10px;
    margin-left: 10px;
    rotate: 45deg;
    transition-duration: 0.3s;
    width: 10px;
}

.carre.rotated {
    transform: rotate(-180deg);
}

.up {
    margin-bottom: 7px;
}

.dropdown {
    background-color: var(--white);
    border: 0;
    border-radius: 0 0 20px 20px;
    display: none;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
    height: auto;
    left: 20px;
    list-style-type: none;
    padding: 20px 30px;
    position: absolute;
    top: 80px;
    width: 329px;
}

.dropdown.active {
    display: block;
}

.dropdown li {
    background-color: var(--white);
    display: flex;
    font-size: 18px;
    font-weight: 400;
    height: auto;
    padding: 12px 0;
    transition-duration: 0.6s;
}

.nav-one .dropdown-text {
    display: flex;
    font-size: 18px;
    font-weight: 400;
    height: auto;
}

.dropdown li:hover {
    background-color: rgba(236, 236, 236, 0.53);
    padding-left: 10px;
    transition-duration: 0.6s;
}

.internet-acces {
    display: flex;
    flex-direction: row;
}

.moov {
    flex-direction: column-reverse;
}

.nav-content {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    list-style-type: none;
    padding: 20px;
    gap : 10px;
}

.navbar{
    align-items: center;
    color: #998476;
    display: flex;
    font-family: 'Roboto', sans-serif;
    font-size: 8px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
}

.nav img {
    display: flex;
    align-items: center;
    height: 55px;
    margin-left: 10px;
    width: auto;
}

.nav-content .navbar:hover, .nav-content p:hover{
    text-decoration: underline;
    text-decoration-color: #998476;
    text-decoration-thickness: 4px;
    text-underline-offset: 2rem;
    vertical-align: bottom;
}

.nav-content li {
    display: block;
    list-style-type: none;
}

@media screen and (min-width: 768px) {
    .nav-content li a{
        font-size: 14px;
    }

    .navbar {
        font-size: 14px;
    }
}

@media screen and (min-width: 1440px) {
    .nav-content li a{
        font-size: 16px;
    }

    .navbar {
        font-size: 16px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: var(--font-light);
    color: var(--text);
    background-color: var(--light-gray);
    line-height: 1.6;
}
img {
    max-width: 100%;
    display: block;
}
a {
    text-decoration: none;
    color: inherit;
}

/* ====================
   3. GLOBAL
==================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}
h1, h2 {
    font-family: var(--font-heavy);
}
.cta {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.8rem 1.5rem;
    margin-top: 1rem;
    border-radius: 6px;
    font-family: var(--font-medium);
    transition: background 0.3s ease;
}
.cta:hover {
    background: #7d6d5e;
}

/* ====================
   5. HERO
==================== */
.hero {
    text-align: center;
    padding: 4rem 0;
}

.two {
    padding: 0;
}

.hero h1 {
    font-size: 1.8rem;
    text-transform: uppercase;
}

.hero h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.hero p {
    margin: 1rem;
    font-size: 1rem;
    font-family: var(--font-medium);
    line-height: 1.5;
}

.hero ul {
    list-style: none;
    padding: 0;
    margin: 2rem auto;
    max-width: 600px;
    text-align: left;
}

.hero li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-family: var(--font-medium);
    line-height: 1.6;
}

.hero li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.2rem;
    line-height: 1;
}

.hero p .bold {
    font-size: 1.2rem;
}

.bold {
    font-family: var(--font-heavy);
}

.gold {
    background: var(--accent);
    color: var(--light-grey);
}

.container.narrow {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.hero h3 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.hero .highlight {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--light-grey);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 1rem;
        text-align: left;
    }

    .hero h1,
    .hero h2,
    .hero h3 {
        font-size: 1.3rem;
        text-align: left;
    }

    .hero p {
        font-size: 0.95rem;
        margin: 1rem 0;
        line-height: 1.6;
    }

    .hero p .bold {
        font-size: 1rem;
    }

    .hero ul {
        padding-left: 1.2rem;
        margin: 1.5rem 0;
    }

    .hero li {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }

    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
}

/* ====================
   6. SERVICES
==================== */
.services .grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.service {
    background: var(--light-grey);
    padding: 1rem;
    border-radius: 8px;
    font-family: var(--font-medium);
    text-align: center;
}

/* ====================
   7. DÉPANNAGE
==================== */
.help {
    background: var(--accent);
    color: white;
    text-align: center;
    padding: 2rem 0;
}
.help .cta {
    background: #ffffff;
    color: var(--accent);
}
.help .cta:hover {
    background: #e5e5e5;
}

/* ====================
   8. ALBUMS
==================== */
.albums .gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: space-between;
}

.albums .gallery img {
    width: calc(33.333% - 0.67rem);
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}


    @media screen and (max-width: 768px) {
    .albums .gallery img {
        flex: 0 0 calc(50% - 0.5rem); /* 2 par ligne */
    }
}

@media screen and (max-width: 480px) {
    .albums .gallery img {
        flex: 0 0 100%; /* 1 par ligne */
    }
}

/* ====================
   9. CONTACT
==================== */
.contact a {
    color: var(--accent);
}

/* ====================
   10. FOOTER
==================== */
footer {
    background: var(--primary);
    color: var(--accent);
    text-align: center;
    padding: 2rem 0;
}
.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}
.footer-links a:hover {
    text-decoration: underline;
}

/* ====================
   11. RESPONSIVE
==================== */

/* TABLET */
@media (min-width: 768px) {
    nav.desktop-nav {
        display: block;
    }
    .burger-menu {
        display: none;
    }
    .services .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero h3 {
        font-size: 1.4rem;
    }
}

/* Card produit optimisée : image à gauche, texte à droite */
.product-card {
    display: flex;
    flex-wrap: nowrap; /* on garde image et texte sur la même ligne */
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    max-width: 800px; /* réduit la largeur globale */
    margin: 0 auto 3rem;
}

/* Image réduite */
.product-image {
    flex: 0 0 150px; /* largeur fixe plus petite */
    text-align: center;
}

.product-image img {
    max-width: 100%;
    border-radius: 10px;
}

/* Infos produit */
.product-info {
    flex: 1;
}

.product-info h3 {
    font-size: 1.5rem; /* un peu plus petit pour compacter */
    color: var(--accent);
    margin-top: 0;
}

.product-description {
    margin: 0.5rem 0;
    line-height: 1.4;
    color: #333;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.product-features li {
    margin-bottom: 0.3rem;
    position: relative;
    padding-left: 1rem;
    color: #555;
}

.product-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Bouton CTA */
.product-card .cta {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.6rem 1.2rem;
    background-color: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.product-card .cta:hover {
    background-color: #a347ff;
}

/* Responsive */
@media (max-width: 768px) {
    .product-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .product-image {
        flex: 1 1 50%;
        margin-bottom: 1rem;
    }

    .product-info {
        flex: 1 1 100%;
    }

    .product-features li {
        text-align: left;
        padding-left: 1rem;
    }
}


/* DESKTOP */
@media (min-width: 1024px) {
    .services .grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero h3 {
        font-size: 1.6rem;
    }
}

.albums {
    padding: 4rem 0;
    text-align: center;
}

.albums h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.albums p {
    margin-bottom: 2rem;
    color: #555;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.03);
}

/* Lightbox */
.lightbox {
    display: none; /* masqué par défaut */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.lightbox .close:hover {
    color: var(--accent, #f39c12);
}

/* Animation d’apparition */
@keyframes zoomIn {
    from {transform: scale(0.7);}
    to {transform: scale(1);}
}

