/* font sizes (px 10px = 1rem)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 /44 / 52 / 62 / 74 / 86 / 98 

line Height: 1

Colours:
primary colour: #405C68;
new primary for header: #1d3c4c;
tint_40% x lighter: #798d95;
tint_80% x lighter: #d9dee1;
tint_70% x darker: #131c1f;
font colour: #FCD7A1
tint_20% x darker: #caac81;
tint_30% x darker: #b09771;

secondary colour: #121A25;

*/

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.25%;
}

/*Navabar & Header section*/

.main-header {
  background-color: #1d3c4c;
  max-width: 100%;
  border-bottom: 2px solid #fcd7a1;
}

.navbar-container {
  background-color: #1d3c4c;
  max-width: 110rem;
  margin: 0 auto;
  padding: 2rem 3rem;
}

.navbar-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%; /* Add this */
}

.navlink:link,
.navlink:visited {
  display: inline-block;
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 2.4rem;
  color: #fcd7a1;
  transition: all 0.3s;
}

.navlink:hover,
.navlink:active {
  color: #f1c73d;
}

.AW-Logo {
  max-width: 30rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath stroke='%23fcd7a1' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Carousel Section */

.carousel {
  width: 100%;
  height: 760px;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid #fcd7a1;
}

#carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mini-Gallery */

.mini-gallery-heading {
  background-color: #405c68;
  padding-left: 5rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 3.6rem;
  text-align: center;
  color: #fcd7a1;
}

.gallery-width {
  max-width: 160rem;
  margin: 0 auto;
}

.background-gallery {
  background-color: #405c68;
  padding: 6.2rem 0 9.8rem;
}

.mini-gallery-container {
  max-width: 100%;
  margin: 0 auto;
  background-color: #405c68;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 2rem;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Aligns content to the bottom */
  padding: 4rem;
}

.gallery-item img {
  max-width: 100%;
  max-height: 30rem;
  object-fit: contain;
}

.gallery-img {
  transition: transform 0.3s ease-in-out;
}

.gallery-img:hover {
  transform: scale(1.1);
}

.text-container {
  text-align: left;
}

.gallery-heading {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 2.8rem;
  text-align: center;
  margin-top: 3rem;
  color: #fcd7a1;
}

.gallery-text {
  font-family: "Open Sans display", sans-serif;
  font-weight: 300;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  line-height: 2;
  text-align: left;

  padding: 2rem;
  color: #fcd7a1;
  border-left: 1px solid #fcd7a1;
}

/*Modal window*/

/* Modal Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.7); /* Black w/ opacity */
}

.modal-content {
  background-color: #fefefec0;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  position: relative;
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#modalImg {
  width: 100%;
  max-height: 80vh; /* adjust as needed */
  object-fit: contain;
}

/*footer*/

footer {
  background-color: #1d3c4c;
  border-top: 2px solid #fcd7a1;
  font-family: "Cormorant Garamond", serif;
  color: #fcd7a1;
  text-align: center;
  padding: 2rem;
  font-size: 1.5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 120rem;
  margin: auto;
}

.footer-nav,
.social-media {
  display: flex;
  gap: 2rem; /* adjust as needed */
}

.footer-nav a,
.social-media a {
  font-family: "Cormorant Garamond", serif;
  color: #fcd7a1;
  text-decoration: none;
  font-size: 1.5rem;
}

.social-media img {
  width: 3rem; /* adjust as needed */
  height: auto;
}

.size-sale-info {
  font-size: 1.5rem;
  font-weight: 600;
  color: #798d95;
  text-align: center;
}
/* main gallery */

.background-main-gallery {
  background-color: #405c68;
}

.main-gallery-container {
  max-width: 100%;
  margin: 0 auto;
  background-color: #405c68;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 2rem;
}

.main-gallery-heading {
  background-color: #405c68;
  padding: 4.4rem 4.4rem 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 1.6rem;
  color: #fcd7a1;
  margin-top: 0;
}

/* PROFILE SECTION */

/* Container for the entire profile */

.background-about-container {
  background-color: #405c68;
}
.profile-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  width: 1200px;
  max-width: 100%;
  padding: 9.8rem 2rem;
  box-sizing: border-box;
}

/* Section 1 */
.section1 {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-bottom: 2em;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.artist-photo {
  width: 50%;
  max-width: 600px;
  height: auto;
  border-right: 1px solid #fcd7a1;
  padding-right: 20px;
  box-sizing: border-box;
}

.artist-biography {
  text-align: left;
  margin-left: 1em;
  width: 50%;
  max-width: 600px;
  padding-left: 20px;
  box-sizing: border-box;
}

.artist-name,
.contact-heading {
  font-family: "Garamond", serif;
  margin: 0 0 10px 0;
  color: #fcd7a1;
}

.biography-text,
.commission-text {
  margin: 0;
  color: #fcd7a1;
  font-size: 1.4rem;
  line-height: 2; /* Increased line spacing */
}

.quote-style {
  margin: 6.2rem;
  font-size: 3rem;
  text-align: center;
  color: #fcd7a1;
}
/* Section 2 */
.section2 {
  display: flex;
  text-align: center;
  width: 100%;
  padding: 6.2rem 0 3.2rem;
  box-sizing: border-box;
}

.final-pic-container {
  border-left: 1px solid #fcd7a1;
}
.painting-turtle {
  width: 70%;
}

.contact-details {
  padding: 2rem;
}

.contact-heading {
  font-size: 4rem;
  margin: 4rem 0 4rem;
}

.email-icon {
  max-width: 3.5rem;
}
.contact-text,
.commission-text {
  color: #fcd7a1;
}

.contact-text {
  margin-bottom: 4rem;
  font-size: 1.6rem;
}

.commission-text {
  font-size: 2rem;
}

.signature {
  margin-top: 4rem;
  width: 40%;
}
