html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#n {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

/* Global Styles */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color:#2b2b2b;
    color: #eee;
    margin: 0;
    padding: 0;
}

/* Header Styles */
header {
    background-color: #151515;
    padding: 15px 20px;
    border-bottom: 1px solid #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Navigation Links */
.nav-links, .secondary-nav {
    display: flex;
    gap: 25px;
}

.nav-links a, .secondary-nav a {
    color: #bbb;
    text-decoration: none;
    font-size: 1.1em;
    padding: 5px 10px;
    border-radius: 5px;
    transition: color 0.3s, background-color 0.3s;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.nav-links a:hover, .secondary-nav a:hover {
    color: #fff;
    background-color: #fd00005d;
}


/*toast*/
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #fd00005d;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
}




/* Basket */
.basket {
    position: relative;
}

/* Style du nombre d’articles dans le panier */
#basket-count {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

/* Style du bouton icône panier */
.basket-icon {
    cursor: pointer;
    font-size: 1.3em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #bbb;
    padding: 5px 10px;
    background: none !important;
    border: none !important; /* ✅ Supprime toute bordure venant d’ailleurs */
    outline: none !important;
    transition: color 0.3s ease;
}


.basket-icon:hover {
    color: #fd00005d;
}

/* Détails du panier cachés par défaut */
.basket-details {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background: #2b2b2b;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
    z-index: 100;
}

/* Quand checkbox cochée => on affiche le panier */
#toggle-basket:checked + .basket-icon + .basket-details {
    display: block;
}

/* Bouton Command-Now */
.basket .pay-now {
    background-color: #777;
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 12px;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease;
}

.basket .pay-now:hover {
    background-color: #fd00005d;
}

/* ✅ Nouveau style pour le bouton Undo */
.undo-button {
    background-color: transparent;
    color: #bbb;
    border: 2px solid #bbb;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease;
}

.undo-button:hover {
    background-color: #bbb;
    color: #2b2b2b;
    border-color: #bbb;
}




/* Style for the customer details form */
#customer-details-form {
    margin: 15px 0;
}

#customer-details-form label {
    display: block;
    color: #fff; /* or the color that matches your theme */
    margin-bottom: 5px;
}

#customer-details-form input,
#customer-details-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #444; /* or a suitable color */
    border-radius: 4px;
    background-color: #333; /* or a suitable background color */
    color: #fff;
    font-size: 1em;
}

#customer-details-form input::placeholder,
#customer-details-form textarea::placeholder {
    color: #aaa;
}

#customer-details-form textarea {
    height: 80px;
    resize: none;
}




/* Secondary Navigation Bar */
.secondary-nav {
    background-color: #1f1f1f;
    padding: 15px;
    border-top: 1px solid #333;
    text-align: center;
}

.secondary-nav a {
    margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide the main nav links on smaller screens */
    }
    .secondary-nav {
        flex-direction: column;
        padding: 10px;
    }
}

/* OUTROOM Title */
h1 {
    margin: 0;
    font-size: 2em;
    color: #f4f4f4;
    letter-spacing: 1px;
    font-weight: 600;
    transition: color 0.3s;
}

h1:hover {
    color: #fd00005d;
}

/* hero */
.hero {
    text-align: center;
    padding: 50px 50px;
    background-color:#555
}

/* Home Section */


.home-section {
    position: relative;
    width: 100%;
    height: 700px; /* Adjust as needed */
    background-image: url('nextgen.png');
    background-size: contain; /* Ensures the whole image is visible */
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto; /* Centers the div horizontally */
}



.home-photo-overlay {
    background-color:#555; /* Semi-transparent overlay */
    /*padding: 50px;
    border-radius: 50px;*/
}

.home-photo-overlay h1 {
    color: #fff;
    font-size: 3em;
    margin: 0;
}

.home-photo-overlay p {
    color: #ccc;
    font-size: 1.5em;
    margin-top: 10px;
}


/* Product Section Styling */
.products {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px;
    justify-content: center;
    background-color: #2a2a2a;
}

.product {
    background-color: #333;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 30px;
    width: 420px;
    text-align: center;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product img {
    width: 100%;
    max-height: 420px; /* Set a max-height to keep images consistent */
    border-radius: 8px;
    object-fit: cover; /* Ensures the image covers the entire area without distortion */
    transition: transform 0.3s;
}

.product img:hover {
    transform: scale(1.05); /* Subtle hover effect */
}

.product h3 {
    font-size: 1.3em;
    margin: 15px 0;
    color: #e0e0e0;
}

.product p {
    color: #ccc;
    font-size: 1em;
    margin-bottom: 10px;
}

.product .sizes {
    margin: 10px 0;
}

.product .sizes label {
    margin-right: 5px;
    color: #fff;
}

.product .sizes select {
    padding: 6px;
    background-color: #444;
    border: none;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    transition: background-color 0.2s ease;
}

.product .quantity {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
}

.product .quantity button {
    background-color: #555;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product .quantity button:hover {
    background-color: #777;
}

.product .quantity .count {
    margin: 0 15px;
    font-size: 1.1em;
}

.product .add-to-cart {
    background-color: #777;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product .add-to-cart:hover {
    background-color: #fd00005d;
}

.product-images {
    position: relative;
    width: 100%;
}

.product-images img {
    display: none;
    max-width: 100%;
    border-radius: 8px;
}

.product-images img.active {
    display: block;
}
/*
.product-images .prev, .product-images .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 50%;
}

.product-images .prev {
    left: 5px;
}

.product-images .next {
    right: 5px;
}

.product-images .prev:hover, .product-images .next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
*/
/* Navigation Arrows */
.prev, .next {
    background-color: rgba(255, 255, 255, 0);
    border: none;
    color: #00000062;
    font-size: 2em;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.prev:hover, .next:hover {
    background-color: rgba(255, 255, 255, 0);
    transform: scale(1.1);
}

.prev {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
}

.next {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}

/* Hover Effects */
.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.product img:hover {
    transform: scale(1.07);
}

/* About Us Section */
.about-us {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px; /* Adjust height as needed */
    background-color: #2a2a2a;
}

.about-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text-overlay {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    /*background-color: rgba(0, 0, 0, 0.5); /* Adds a semi-transparent background */
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    max-width: 50%; /* Adjust to control text width */
}

.about-text-overlay p {
    font-size: 1.2em;
    line-height: 1.6;
}

/* Contact Form Section */
.contact-form {
    padding: 10px;
    background-color:#2a2a2a;
    color: #fff;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin: 10px 0 5px;
    text-align: center;
}

.contact-form input, .contact-form textarea {
    padding: 20px;
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;

    width: 100%; /* Réduction de la largeur */
    max-width: 300px; /* Taille maximale ajustée */
    padding: 8px; /* Réduction de l'espacement interne */
    margin: 3px auto; /* Espacement externe et centrage */
    display: block; /* Centrage en mode bloc */
    font-size: 16px; /* Taille de police réduite */
    border-radius: 4px; /* Coins légèrement arrondis */
    background-color: #484848;
    margin-bottom: 10px; /* plus d’espace entre les champs */
    box-shadow: 0 4px 8px #fd00005d; /* Ombre ajoutée */
}



.contact-form button {
    background-color: #777;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 5px;
    cursor: pointer;

    width: 80%; /* Réduction de la largeur */
    max-width: 300px; /* Taille maximale ajustée */
    padding: 8px; /* Réduction de l'espacement interne */
    margin: 3px auto; /* Espacement externe et centrage */
    display: block; /* Centrage en mode bloc */
    font-size: 15px; /* Taille de police réduite */
    border-radius: 4px; /* Coins légèrement arrondis */
}

.contact-form button:hover {
    background-color: #fd00005d;
}


/* Footer Styling */
footer {
    text-align: center;
    padding: 25px 0;
    background-color: #1f1f1f;
    color: #bbb;
    font-size: 0.9em;
}

footer a {
    color: #fd00005d;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    color: #fd00005d;
    text-decoration: underline;
}


.white-btn {
    background: none;
    border: 2px solid white;
    color: white;
    font-size: 1.4rem;
    font-family: 'Lato', sans-serif;
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px; /* espace entre l’emoji et le compteur */
  }
  
  #basket-count {
    background-color: transparent;
    color: white;
    font-size: 1rem;
  }

.stock-status{
    font-family: 'Lato', sans-serif;
}


.know-your-size {
    text-align: center;
    margin-top: 25px;
  }
  
  .know-your-size button {
    background-color: #505050;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .know-your-size button:hover {
    background-color: #a04e4e;
  }






.address-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

textarea {
  background-color: #111;
  color: #eee;
  border: 1px solid #444;
  padding: 10px;
  border-radius: 8px;
  resize: vertical;
  font-family: 'Segoe UI', sans-serif;
}

.map-button {
  background: linear-gradient(145deg, #444, #333);
  color: #f0f0f0;
  border: 1px solid #555;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

.map-button:hover {
  background: linear-gradient(145deg, #555, #2a2a2a);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
}


.product-images img {
    box-shadow: 0 10px 20px #fd00005d; /* black shadow, you can change the color */
    border-radius: 8px; /* optional: to smooth the corners */
    transition: box-shadow 0.3s ease;
}

/* Optional: Only apply to the active image */
.product-images img.active {
    box-shadow: 0 15px 25px #fd00005d; /* stronger shadow for active image */
}
