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

body {
    font-family: Arial, sans-serif;
    background: white;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 3px solid black;
    background: #f2f2f2;
    position: relative;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr auto 1fr 1fr;
    width: 100%;
    align-items: center;
    text-align: center;
}

.nav-item {
    font-size: 40px;
    font-weight: bold;
    text-decoration: none;
    color:black;
    transition: 0.3s;
}


.nav-item:hover {
    transform: scale(1.1);
    color:dimgray;
}

.nav-item:active {
    transform: scale(0.95);
    opacity: 0.7;
}


.logo img {
    width: 200px;
}


.logo img {
    transition: 0.3s ease;
    cursor: pointer;
}

.logo img:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.logo img:active {
    transform: scale(0.95);
    opacity: 0.7;
}


.mobile-only {
    display: none;
}


.burger {
    font-size: 40px;
    cursor: pointer;
    display: none;
}


.collections {
    display: flex;
    width: 100%;
}


.block {
    width: 100%;
    padding: 100px;
    position: relative;
}

.homme {
    background: #9a6a00;
}

.femme {
    background: #2d2f87;
}

.title {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 10px 30px;
    font-size: 40px;
    font-weight: bold;
    border-radius: 4px;
    font-family: "mapolice", sans-serif;

    display: inline-block;
    text-decoration: none;
    color: black;

    cursor: pointer;
    transition: 0.3s ease;
}

.title:hover {
    transform: translateX(-50%) scale(1.08);
}

.title:active {
    transform: translateX(-50%) scale(0.9);
    opacity: 0.7;
}



.photos {
    margin-top: 120px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.photos img {
    width: 230px;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    transition: 0.3s ease;
    cursor: pointer;
}


.photos img:hover {
    transform: scale(1.08);
}

.photos img:active {
    transform: scale(0.95);
    opacity: 0.8;
}


.footer-pattern {
    width: 100%;
    height: 300px;
    background-image: url("media/Logo%20footer.png");
    background-size: cover;
}

@font-face{
    font-family:"mapolice";
    src:url("fonts/mapolice.ttf") format("truetype");
    font-weight:normal;
    font-style:normal; 
}

.nav-item{
    font-family: "mapolice", sans-serif;
}

.title{
    font-family:"mapolice",sans-serif;
}


.newsletter-popup {
    position: fixed;
    top: 50%;
    right: -520px;
    transform: translateY(-50%);
    width: 500px;
    height: 85vh;
    background: white;
    box-shadow: -20px 0 60px rgba(0,0,0,0.25);
    border-radius: 20px 0 0 20px;
    transition: right 0.6s ease;
    z-index: 9999;
}

.newsletter-popup.active {
    right: 0;
}

.newsletter-popup iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.popup-close {
    position: absolute;
    top: 20px;
    left: -50px;
    width: 40px;
    height: 40px;
    background: black;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.newsletter-popup.active .popup-close {
    opacity: 1;
    pointer-events: auto;
}


