/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
    background-color: #fcfcfc;
    color: #333;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Playfair Display', serif;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: rgb(221, 221, 221);
    color: #000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    font-weight: 900;
    font-size: 24px;
    color: #111;
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 50px;
}

.menu-toggle {
    display: none;
    /* Hide on desktop by default */
}

nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 3%;
    background: #d4af37;
    transition: width 0.3s ease;
}

nav ul li a.active::after,
nav ul li a:hover::after {
    width: 100%;
}

nav a {
    color: #000;
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
    position: relative;
    padding-bottom: 5px;
}

.btn-contact-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 25px;
    background: transparent;
    border: 2px solid #111;
    color: #111;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-contact-nav:hover {
    background: #111;
    color: #d4af37;
    border-color: #111;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.icon img {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    margin: auto;
    align-items: center;
}

/* HERO */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 100px;
    text-align: center;
    color: white;
}

.avatar {
    background-image: url('../images/salon1.jpg');
    background-size: cover;
    background-position: center;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    /* Darkens the image */
    z-index: 2;
}

.hero-content {
    position: relative;
    max-width: 600px;
    z-index: 10;
    color: white;
    padding: 50px 50px 50px 50px;
}

.hero h1 {
    font-size: 55px;
    color: white;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.hero h1 span {
    color: #d4af37;
    font-style: italic;
}

.hero h2 {
    font-size: 30px;
    margin-bottom: 30px;
    font-weight: 400;
    padding-left: 30px;
    line-height: 1.2;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.5);
    font-family: 'Montserrat', sans-serif;
}

.hero h1+h2 {
    margin-top: -10px;
}

.hero-button {
    display: flex;
    gap: 20px;
    margin-top: 100px;
    justify-content: center;
}

.btn-primary {
    background: #d4af37;
    padding: 12px 28px;
    color: black;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    border: 2px solid white;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-secondary:hover {
    background: white;
    color: black;
}

/* LOGO */
.hero-logo {
    position: absolute;
    right: 80px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: black;
    border: 6px solid #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo img {
    width: 70%;
}

/* ABOUT */
.contener {
    display: flex;
    padding: 0px 60px 80px 80px;
    gap: 50px;
    align-items: center;
}

.about img {
    width: 448px;
    border-radius: 10px;
}

.about h2 {
    color: black;
    text-align: center;
    padding: 30px 0;
    font-size: 45px;
    font-weight: 900;
    margin-bottom: 20px;
}

.about h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #d4af37;
    margin: 15px auto 0;
}

.about-text {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;
    color: #444;
}

.about-text p:first-child {
    font-size: 22px;
    font-weight: 600;
    color: #111;
    margin-bottom: 20px;
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

/* COLLECTION */
.collection {
    padding: 60px 60px;
    text-align: left;
    background: #fff;
}

.collection h2 {
    margin-bottom: 15px;
    color: black;
    text-align: center;
    font-size: 45px;
    font-weight: 900;
}

.collection h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #d4af37;
    margin: 15px auto 0;
}

.section-desc {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

.link-catalogue {
    color: #d4af37;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.link-catalogue:hover {
    color: #b5952f;
    text-decoration: underline;
}

/* ABOUT PAGE */
.about-page {
    padding-top: 60px;
    /* Space for fixed header */
    background: #fff;
}

.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/cathalogue102.jpg') center/cover;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.about-hero-content h1 {
    font-size: 50px;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.about-hero-content p {
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
}

.about-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text-block {
    flex: 1;
}

.about-text-block h2 {
    font-size: 38px;
    margin-bottom: 25px;
    color: #111;
}

.about-text-block h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #d4af37;
    margin-top: 15px;
}

.about-text-block p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.about-text-block .intro-p {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

.about-img-block {
    flex: 1;
}

.rounded-img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mt-50 {
    margin-top: 80px;
}

/* LEGAL PAGE */
.legal-page {
    padding: 120px 40px 80px;
    background: #fdfdfd;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.legal-content h1 {
    font-size: 45px;
    text-align: center;
    margin-bottom: 40px;
    color: #111;
}

.legal-section {
    margin-bottom: 35px;
}

.legal-section h2 {
    font-size: 22px;
    color: #d4af37;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.legal-section p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 10px;
}

.collection-footer {
    text-align: center;
    margin-top: 50px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 20px;
}


.product {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: #f5f5f5;
    border-radius: 10px;
}

.product-card h3 {
    font-size: 25px;
    font-weight: 800;
    padding: 0 0 0 10px;
}

.product-card p {
    font-size: 23px;
    font-weight: 200;
    padding: 0 0 0 10px;
}

.product-card img {
    width: 100%;
    height: 75%;
    border-radius: 10px;
}

.price {
    display: block;
    font-weight: 900;
    padding: 0 0 0 10px;
    font-size: 23px;
}

.product-card button {
    background: black;
    color: #d4af37;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

/* CONTACT */
.contact {
    padding: 80px 60px;
    background: #fdfdfd;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    font-size: 18px;
}

.contact-info p {
    margin-bottom: 15px;
    color: #555;
}

.contact h2 {
    margin-bottom: 15px;
    color: black;
    text-align: center;
    font-size: 45px;
    font-weight: 900;
}

.contact h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #d4af37;
    margin: 15px auto 60px;
}

.contact form {
    flex: 1;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.contact input:focus,
.contact textarea:focus {
    outline: none;
    border-color: #d4af37;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.contact textarea {
    min-height: 150px;
    resize: vertical;
}

.contact button {
    background: black;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.contact button:hover {
    background: #d4af37;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* FOOTER */
footer {
    background: #111;
    color: white;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    padding: 60px;
    gap: 40px;
}

.footer-col {
    flex: 1;
}

.footer-col h3 {
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li a {
    margin-bottom: 8px;
    color: white;
}

.footer-icons {
    width: 100%;
    flex-direction: row;
    display: inline-flex;
}

.footer-icons a {
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: #111;
    overflow: hidden;
    border-radius: 50%;
    margin-right: 10px;
    margin-top: 15px;
    transition: 0.3s ease;
}

.footer-icons a:hover {
    background: #d4af37;
    transform: translateY(-3px);
}

.footer-icons img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-end {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #333;
}

.hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* CATALOGUE PAGE STYLES */
.catalog-page {
    padding: 120px 60px 60px 60px;
    /* Top padding offsets fixed header */
    text-align: center;
    background: #fdfdfd;
    min-height: 80vh;
}

.catalog-page h2 {
    font-size: 45px;
    font-weight: 900;
    color: black;
    text-decoration: underline #d4af37 5px;
    margin-bottom: 10px;
}

.catalog-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

/* CATALOGUE FILTERS */
.catalog-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background: transparent;
    border: 2px solid #ddd;
    padding: 10px 25px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #555;
    border-radius: 30px;
    /* Pill shape */
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #d4af37;
    color: #d4af37;
}

.filter-btn.active {
    background: #d4af37;
    color: #fff;
    border-color: #d4af37;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.catalog-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.catalog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.catalog-img-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.catalog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.catalog-item:hover .catalog-img-wrapper img {
    transform: scale(1.1);
}

.catalog-hover-content {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    text-align: center;
    transition: bottom 0.3s ease;
    padding-bottom: 20px;
}

.catalog-item:hover .catalog-hover-content {
    bottom: 0;
}

.catalog-hover-content .btn-primary {
    font-size: 16px;
    padding: 8px 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.catalog-info {
    padding: 20px;
}

.catalog-info h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #000;
}

.catalog-info p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    min-height: 48px;
}

.catalog-info .price {
    display: block;
    font-size: 24px;
    font-weight: 900;
    color: #d4af37;
}

@media (max-width: 768px) {
    header {
        padding: 15px 30px;
    }

    .menu-toggle {
        display: block;
        font-size: 30px;
        cursor: pointer;
        z-index: 1001;
        /* Ensure it stays above the menu */
        position: relative;
    }

    .btn-decouvrir {
        display: none;
        /* Hide contact button on mobile header to save space */
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: rgb(221, 221, 221);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    /* Hero section fixes */
    .hero {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: 120px;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .hero h1 {
        font-size: 30px;
        line-height: 1.1;
    }

    .hero h2 {
        font-size: 22px;
        padding-left: 0;
        margin-top: 10px;
        line-height: 1.2;
    }

    .hero-button {
        flex-direction: column;
        gap: 15px;
        margin-top: 50px;
    }

    .hero-logo {
        position: relative;
        right: 0;
        width: 250px;
        height: 250px;
        margin-top: 20px;
    }

    /* About section fixes */
    .contener {
        flex-direction: column;
        padding: 0 30px 50px 30px;
        gap: 30px;
    }

    .about img {
        width: 100%;
        max-width: 400px;
    }

    .about h2 {
        font-size: 30px;
    }

    /* Collection & Catalog fixes */
    .collection {
        padding: 50px 30px 10px 30px;
    }

    .catalog-page {
        padding: 100px 20px 40px 20px;
    }

    .catalog-page h2 {
        font-size: 30px;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .collection h2 {
        font-size: 30px;
    }

    .product {
        grid-template-columns: 1fr;
    }

    /* Product Detail Page Mobile */
    .product-detail-page {
        padding: 100px 20px 60px;
    }

    .product-detail-container {
        flex-direction: column;
        gap: 30px;
    }

    /* About and Legal Mobile */
    .about-grid {
        flex-direction: column;
        gap: 40px;
    }

    .reverse-grid {
        flex-direction: column-reverse;
    }

    .about-hero {
        height: 30vh;
    }

    .about-hero-content h1 {
        font-size: 35px;
    }

    .mt-50 {
        margin-top: 40px;
    }

    .legal-page {
        padding: 100px 20px 60px;
    }

    .legal-content {
        padding: 30px 20px;
    }

    .legal-content h1 {
        font-size: 32px;
    }

    /* Contact fixes */
    .contact {
        padding: 10px 30px;
    }

    .contact h2 {
        font-size: 30px;
    }

    .contact-container {
        flex-direction: column;
        gap: 40px;
    }

    .contact form {
        width: 100%;
    }

    /* Footer fixes */
    .footer-container {
        flex-direction: column;
        padding: 40px 30px;
        text-align: center;
        gap: 30px;
    }

    .footer-icons {
        justify-content: center;
    }
}

/* ===============================
   MODAL APERCU RAPIDE
   =============================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    /* Dark overlay */
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 80%;
    max-height: 90vh;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2010;
    transition: 0.3s;
}

.modal-close:hover {
    color: #d4af37;
}

.carousel-container {
    display: flex;
    align-items: center;
    position: relative;
}

#carousel-main-img {
    max-height: 85vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}


@media (max-width: 768px) {

    .modal-close {
        top: -35px;
        right: 15px;
    }
}