@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* General Styles */

nav {
    display: flex; 
    justify-content: space-between;  
    align-items: center;
    background-color: #f0f0f0;
    padding: 15px 20px;
    position: fixed; 
    top: 0; 
    width: 100%; 
    box-sizing: border-box;
    font-weight: bolder; 
    font-size: 13px;    
}

.navbar-left {
  margin-right: auto; /* Pushes the right navbar to the far end */
}

.navbar-right {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none; /* Hidden on desktop */
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
}

.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu li {
  margin: 0 10px;
}

.navbar-left,
.navbar-right {
    list-style: none;
    display: flex;
    padding: 0;
    margin:0;
}

.navbar-left li,
.navbar-right li {
    margin: 0 15 px;
}

/* Increase font size for the left navbar items */
.navbar-left .nav-link {
  font-size: 20px; /* Adjust the size as needed */
}

.nav-link {
    display: flex;
    color: #333;
    padding: 14px 8px;
    text-decoration: none;
}

/* Ensure only links on the right are underlined when active */
  .nav-link.active {
    text-decoration: underline; 
    background-color: #f0f0f0;
}

/* Exclude 'Frederic Duhamel' from being underlined when active */
.navbar-left .nav-link.active {
  text-decoration: none;
  background-color: transparent; /* Ensures background is transparent */
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block; /* Show on mobile */
  }

  .menu {
    display: none; /* Hidden by default */
    flex-direction: column;
    width: 100%;
    background-color: #f0f0f0;
  }

  .menu.active {
    display: flex; /* Show menu when active */
  }

  .navbar-right {
    flex-direction: column; /* Stack nav items vertically */
    align-items: flex-end; /* Align items to the right */
  }

  .menu li {
    width: 100%;
    text-align: right;
    margin: 0;
    padding: 10px 20px;
  }
}


body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f0f0f0;
    color: #333;
}
h1 {
    color: #ff6347;
    font-size: 80px; 
    font-weight: bold;
    margin-bottom: 100px; 
    margin-top: 70px;
}

h2 {
  color: #333;
  font-size: 17px; 
  margin-bottom: 30px; 
  margin-top: 30px;
}

p1 {
  color: #333;
  font-size: 13px; 
  margin-bottom: 70px; 
  margin-top: 30px;
}

.extra-space {
    margin-bottom: 100px; 
}

.extra-space1 {
    margin-bottom: 50px; 
    font-size: 20px; 
}

/* Make homepage .gallery-image images leaner (portrait ratio) */
.banner-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.gallery-image {
  max-width: 260px;
  width: 100%;
  height: 390px;
  object-fit: cover;
  display: inline-block;
  margin: 10px;
  border-radius: 8px;
  background: #eaeaea;
}

.button-container {
    width: 100%;
    text-align: center;
}

.view-gallery {
    display: inline-block;
    padding: 15px 32px;
    margin-top: 30px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 35px;
    cursor: pointer;
    font-size: 12px;
    margin: 20px auto; /* This centers the button */
    font-family: 'Open Sans', sans-serif;
    font-weight: bold; 
}


.view-gallery:hover {
    background-color: #333;
}

.container {
    width: 100%; 
    margin: 0 auto; 
    text-align: center; 
    max-width: 1500px; 
    padding: 20px; 
    box-sizing: border-box;
}



body {
    padding-top: 100px; 
}

h3 {
    color: #333;
    font-size: 30px; 
    font-weight: bold;
    margin-bottom: 70px; 
    margin-top: 100px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Adjust to 5 columns */
    gap: 6px; /* Adjust the spacing between the images */
    padding: 20px; 
    box-sizing: border-box;
  }
  
  .image-grid img {
    margin-top: 30px;
    width: 300px; /* Make images take up the full width of each grid cell */
    height: 300px; /* Maintain the aspect ratio */
    object-fit: cover; /* Crop the images to fit into the squares */
  }

  .button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-family: 'Open Sans';
    margin-top: 60px;
    margin-bottom: 60px;
  }
  
  button {
    border: none;
    background-color: #333;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 35px;
    font-family: 'Open Sans';
    font-weight: bold; /* Makes the text bold */
  }
  
  /* Contact Section Styles */
  #contact {
  padding: 30px;
  background-color: #f9f9f9;
  display: flex;
  justify-content: normal;
  align-items: center;
  flex-direction: column;
}

#contact h4 {
  text-align: left;
  font-size: 36px;
  margin-bottom: 20px;
}

.contact-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between; /*Ensures both sides are spaced out */
  gap: 20px;
  max-width: 1000px; /* Limit the width */
  width: 100%;
  margin: 0 auto; /* Center align the container */
  margin-top: 70px;
  margin-bottom: 50px;
}

.contact-text {
  flex: 1;
  margin-right: 20px;
  font-size: 15px;
  max-width: 1200px; 
  font-family: 'Open Sans';
  text-align: left;
  line-height: 1.5;
}

.contact-form {
  flex: 1;
  margin-left: 90px;
  max-width: 1000px; /* Limit the width */
  font-family: 'Open Sans';
  font-size: 13px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}


input, textarea {
  padding: 13px;
  border: 2px solid #ccc;
  border-radius: 20px;
  font-family: 'Open Sans';
  background-color: #f9f9f9
}

.contact-button {
  background-color: #333;
  color: white;
  padding: 15px 32px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  margin: 4px 2px;
  font-family: 'Open Sans';
  font-weight: bold; /* Makes the text bold */
}

.contact-button:hover {
  background-color: #333;
}


  
/* Base styles for desktop */
body {
    font-family: 'Open Sans';
    margin: 0;
    padding: 0;
  }
  
  .container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Responsive styles for mobile */
  @media (max-width: 1024px) { 
    .shop-item { 
      width: calc(50% - 30px); /* Two items per row */ 
    } 
  }
  
  @media (max-width: 768px) { 
    h2, h3, h4, p1 {
      text-align: left;
      margin-left: 20px; /* Add some left margin if needed */
      margin-right: 20px; /* Add some right margin if needed */
    }
  
    .container {
      text-align: left;
      padding-left: 20px; /* Adjust padding for left alignment */
      padding-right: 20px; /* Adjust padding for right alignment */
    }
    
    .shop-item { 
      width: calc(50% - 20px); /* Two items per row */ 
    }

    .contact-container {
      flex-direction: column;
      align-items: center;
    }
  
    .contact-text, .contact-form {
      max-width: 100%;
      margin: 10px 0;
    }
  
    footer {
      flex-direction: column;
      text-align: center;
    }
  
  }
  @media (max-width: 480px) { 
    .shop-item { 
      width: calc(100% - 20px); /* One item per row */ 
    } 
  }

  /* Shop Page Styles */

  .shop-container { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 20px; 
    margin-bottom: 100px; 
    margin-top: 70px;
    width: 100%;
  } 
  
  .shop-item { 
    background-color: #f0f0f0; 
    padding: 20px; 
    border: 1px solid #f0f0f0; 
    border-radius: 10px; 
    flex: 0 1 calc(33.333% - 40px); /* Three items per row */
    box-sizing: border-box; 
    text-align: center; 
    display: flex;
    flex-direction: column; /* Ensure children stack vertically */
    align-items: center; /* Center items horizontally */
    min-width: 260px;
    max-width: 350px;
    margin: 10px;
  } 
  
  .shop-item img { 
    width: 100%; 
    max-width: 320px; /* Consistent max width for all images */
    height: 320px;    /* Consistent height for all images */
    object-fit: cover; /* Crop to fill box, keep aspect ratio */
    display: block;
    margin-bottom: 10px;
    border-radius: 8px;
    background: #eaeaea; /* fallback background for non-square images */
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  }

  .shop-item h2 { 
    margin: 10px 0; 
    font-size: 17px; 
    color: #333; 
    margin-bottom: 15px; 
    margin-top: 30px;
  } 
  
  .shop-item p1 { 
    margin: 10px 0; 
    font-size: 12px; 
    color: #333;
    margin-bottom: 5px; 
    margin-top: 5px; 
  }

  .shop-button {
    background-color: #333;
    color: white;
    padding: 15px 32px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-family: 'Open Sans';
    margin-top: 10px;
    align-self: center;
  }
  
  .shop-button:hover { 
    background-color: #333; 
  }

  /* About Page Styles */

  .about-container {
    display: flex;
    align-items: center; /* Vertically align items */
    justify-content: space-between; /* Space items evenly */
    padding: 25px; /* Add padding around the container */
    margin-bottom: 20px;
  }
  
  .about-text {
    flex: 1;
    margin-right: 20px; /* Space between text and image */
    text-align: left;
  }

  .about-text h1 {
    font-size: 45px; /* Adjust the size as needed */
    margin-bottom: 10px; /* Reduce bottom margin */
  }
  
   
  .about-text p {
    margin-top: 0; /* Remove top margin */
    max-width: 650px; /* Slim paragraph box */
    line-height: 1.6; /* Optional: Improve readability */
    font-size: 14px;
  }

  .about-image {
    padding-top: 50px;
    flex: 1;
    display: flex;
    justify-content: center; /* Center image horizontally */
  }
  
  .about-image img {
    
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
    max-height: 600px;
    object-fit: contain;
     }
  

  /* Responsive Styles */
  @media (max-width: 768px) {
    .about-container {
      flex-direction: column; /* Stack items vertically on mobile */
      text-align: center; /* Center align text on mobile */
    }
  
    .about-text {
      margin-right: 0; /* Remove margin on mobile */
      margin-bottom: 20px; /* Add space below text on mobile */
    }
  
    .about-image {
      justify-content: center; /* Center image on mobile */
    }
  }
 
  /* General Styles Product Page */

.product-page {
  display: flex;
  align-items: flex-start; /* Align items to the top */
  justify-content: flex-start; /* Space items evenly */
  padding: 20px; /* Add padding around the container */
  padding-top: 30px; /* Adjust this value based on your nav bar height */
}

.gallery {
  display: flex;
  flex-direction: column; /* Stack images vertically */
}

.gallery img {
max-width: 700px;
height: auto; /* Maintain aspect ratio */
object-fit: cover;
padding-top: 70px; 
}

.product-details {
  flex: 1; /* Adjust to fit new layout */
  display: flex;
  flex-direction: column; /* Stack elements vertically */
  align-items: flex-start; /* Align items to the left */
  gap: 8px; /* Space between elements */
  max-width: 600px; /* Adjust max-width as needed to fit layout */
  margin-left: 20px
}

.product-details h1 {
  font-size: 55px; /* Adjust the size as needed */
  margin-bottom: 1px; /* Space below the title */
  color: #333;
  font-weight: bold; /* Makes the text bold */
}

.product-details p1 {
  font-size: 15px; /* Adjust the size as needed */
  margin-bottom: 20px; /* Space below the title */
  margin-top: 1px;
  color: #333;
}

.product-details p {
  font-size: 15px; /* Adjust the size as needed */
  margin-bottom: 10px; /* Space below the title */
  color: #333;
}

.product-details label {
  font-size: 12px; /* Adjust the size as needed */
  margin-bottom: 5px; /* Space below the title */
  margin-top: 15px; /* Space below the title */
  color: #333;
}

.product-details select {
  font-size: 15px; /* Adjust the size as needed */
  margin-bottom: 20px; /* Space below the title */
  color: #333;
  font-family: 'Open Sans';
  background-color: #f0f0f0;
  width: 600px;  /* Adjust this value to make the box wider */
  height: 50px;  /* Adjust this value to make the box taller */
}

.quantity-input {
  width: 100px;  /* Adjust this value to set the width of the quantity input */
  height: 50px;  /* Adjust this value to set the height of the quantity input */
  border-radius: 0;
  color: #333;
  font-family: 'Open Sans';
  background-color: #f0f0f0;
  border: 1px solid #333; 
}


.product-details .product-description,
.product-details .product-price,
.product-details label,
.product-details select,
.product-details .purchase-button {
  margin-bottom: 10px; /* Space below each element */
}

.quantity-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.selection-box:disabled,
.quantity-input:disabled {
    background-color: #e0e0e0;  /* Gray out the background */
    cursor: not-allowed;  /* Change cursor to not-allowed */
}



/* Privacy Page Styles */
.privacy-container {
    max-width: 800px;
    margin: auto;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 10px;
}
h1, h2 {
    font-family: 'Open Sans', sans-serif;
    color: #ff6347;
}
p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
}
section {
    margin-bottom: 20px;
}


/* Terms Page Styles */
.terms-container {
    max-width: 800px;
    margin: auto;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 10px;
}
h1, h2 {
    font-family: 'Open Sans', sans-serif;
    color: #ff6347;
}
p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
}
section {
    margin-bottom: 20px;
}



/* Footer Styles */
footer {
    background-color: #f9f9f9;
    color: #333;
    padding: 20px 0;
    text-align: center;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: 'Open Sans';
    font-size: 14px;
  }
  
  .footer-left {
    flex: 1;
  }
  
  .footer-right {
    flex: 1;
    text-align: right;
  }
  
  .footer-right a {
    color: #333;
    text-decoration: none;
    margin-left: 10px;
  }
  
  .footer-right a:hover {
    text-decoration: underline;
  }

  /* --- IMPROVED RESPONSIVENESS AND MOBILE FRIENDLINESS --- */

  /* 1. Fix shop-item width and image scaling for all breakpoints */
.shop-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 100px;
  margin-top: 70px;
  width: 100%;
}
.shop-item {
  background-color: #f0f0f0;
  padding: 20px;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  flex: 0 1 calc(33.333% - 40px);
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 260px;
  max-width: 350px;
  margin: 10px;
}
.shop-item img {
  width: 100%;
  max-width: 320px; /* Consistent max width for all images */
  height: 320px;    /* Consistent height for all images */
  object-fit: cover; /* Crop to fill box, keep aspect ratio */
  display: block;
  margin-bottom: 10px;
  border-radius: 8px;
  background: #eaeaea; /* fallback background for non-square images */
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* 2. Responsive breakpoints for shop items */
@media (max-width: 1024px) {
  .shop-item {
    flex: 0 1 calc(50% - 40px);
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .shop-container {
    gap: 10px;
    margin-top: 90px;
  }
  .shop-item {
    flex: 0 1 calc(100% - 40px);
    max-width: 100%;
    min-width: 0;
    margin: 5px 0;
    padding: 12px;
  }
  .shop-item img {
    max-height: 700px;
  }
}
@media (max-width: 480px) {
  .shop-item {
    flex: 0 1 100%;
    max-width: 100%;
    padding: 8px;
  }
  .shop-item img {
    max-height: 450px;
  }
}

/* 3. Make nav bar and menu more mobile friendly */
@media (max-width: 768px) {
  nav {
    flex-direction: row;
    align-items: flex-start;
    padding: 10px 8px;
  }
  .navbar-left {
    margin-bottom: 8px;
  }
  .navbar-right {
    width: 100%;
    flex-direction: column;
    align-items: flex-end;
  }
  .menu {
    width: 100%;
    background: #f0f0f0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  }
  .menu li {
    width: 100%;
    text-align: right;
    margin: 0;
    padding: 10px 0;
  }
}

/* 4. Footer responsiveness */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
    padding: 0 8px;
  }
  .footer-right {
    text-align: left;
    margin-top: 8px;
  }
}
@media (max-width: 480px) {
  .footer-container {
    padding: 0 2px;
    font-size: 12px;
  }
}

/* 5. General improvements for mobile text and spacing */
@media (max-width: 480px) {
  h1 {
    font-size: 32px;
    margin-bottom: 30px;
    margin-top: 30px;
  }
  h2 {
    font-size: 16px;
    margin-bottom: 10px;
    margin-top: 10px;
  }
  p1, p, label, .nav-link {
    font-size: 12px;
  }
  body {
    padding-top: 60px;
  }
}

/* 6. Make image grids and about page responsive */
@media (max-width: 1024px) {
  .image-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .image-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }
  .about-image {
    padding-top: 10px;
  }
}

/* 7. Contact section mobile improvements */
@media (max-width: 768px) {
  #contact {
    padding: 10px;
  }
  .contact-container {
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .contact-form {
    margin-left: 0;
  }
}

/* 8. Product page responsiveness */
@media (max-width: 768px) {
  .product-page {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }
  .gallery img {
    max-width: 100%;
    padding-top: 20px;
  }
  .product-details {
    margin-left: 0;
    max-width: 100%;
    align-items: center;
  }
  .product-details select {
    width: 100%;
  }
}

/* 9. Remove horizontal scroll on mobile */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* --- END OF RESPONSIVE IMPROVEMENTS --- */

/* --- PAINTINGS PAGE: 4:3 RATIO FOR SHOP IMAGES --- */
.shop-item img {
  width: 100%;
  max-width: 350px;
  height: 420px; /* 4:3 ratio (width:height) */
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
  border-radius: 8px;
  background: #eaeaea;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
/* --- END PAINTINGS PAGE 4:3 RATIO --- */