:root {
  --PRIMARY-COL: rgb(255, 208, 242); /* global scope */
  --SECONDARY-COL: rgb(34, 41, 48);
}

* {
  padding: 0;
  margin: 0;
  font-family: "Roboto Slab", serif;
  color: var(--SECONDARY-COL);
  text-align: center;
}

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 40px;

  /* border-bottom: solid 2px var(--PRIMARY-COL); */
}

.logo-main,
.logo-text {
  background-color: white;
  border-radius: 50px;
  padding: 10px;
  font-family: "Roboto Slab", serif;
  font-weight: 400;
  font-style: normal;
  /* letter-spacing: 2px; */
}

.header {
  background-color: var(--PRIMARY-COL);
}

.hero {
  background-color: var(--PRIMARY-COL);
}

.about-me {
  background-color: var(--PRIMARY-COL);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-img img {
  width: 100%;
  max-width: 200px;
  border-bottom: 10px solid var(--SECONDARY-COL);
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  /* box shadow looks good but has a faint shadow on all sides not just bottom */
  /* box-shadow: 0 25px 20px -20px var(--SECONDARY-COL); */
}

.button {
  color: black;
  text-decoration: none;
  background-color: rgb(255, 0, 0);
  background-color: var(--PRIMARY-COL);

  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
}

.hero-buttons .button {
  background-color: white;
  border-radius: 50px;
}

.hero-buttons .button:hover {
  color: var(--PRIMARY-COL);
  background-color: var(--SECONDARY-COL);
}

.button:hover {
  color: white;
}

.hero-img {
  display: flex;
  justify-content: center;
}

.hero-img img {
  width: 100%;
  max-width: 400px;
}

.services .button {
  background-color: var(--PRIMARY-COL);
  border-radius: 50px;
  color: var(--SECONDARY-COL);
}

.services .button:hover {
  background-color: var(--SECONDARY-COL);
  color: var(--PRIMARY-COL);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.faq-card {
  display: flex;
  padding: 15px;
  border: solid 2px var(--PRIMARY-COL);
  border-radius: 5px;
}

.faq-card-plus {
  margin-left: auto;
}

.testimonials {
  background-color: var(--PRIMARY-COL);
}

.testimonials .container {
  text-align: center;
}

.testimonial {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.testimonial.show {
  opacity: 1;
}

.start-buttons .button {
  background-color: var(--PRIMARY-COL);
  border-radius: 50px;
}

.start-buttons .button:hover {
  color: var(--PRIMARY-COL);
  background-color: var(--SECONDARY-COL);
}

.start-img img {
  width: 100%;
  max-width: 200px;
  border-bottom: 10px solid var(--SECONDARY-COL);
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  /* box shadow looks good but has a faint shadow on all sides not just bottom */
  /* box-shadow: 0 25px 20px -20px var(--SECONDARY-COL); */
}

.gallery {
  background-color: var(--PRIMARY-COL);
}

.gallery-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px; /* adjust as needed */
  margin: 0 auto;
  overflow: hidden;
}

.gallery-grid {
  display: flex;
  transition: transform 0.4s ease;
}

.gal-card {
  flex: 0 0 100%; /* one image per view */
}

.gal-img-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Arrow buttons */
.gallery-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  color: var(--PRIMARY-COL);
  border: none;
  font-size: 3rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 6px;
}

.gallery-btn.prev {
  left: 10px;
}

.gallery-btn.next {
  right: 10px;
}

.gallery-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.gallery-btn:hover {
  transform: translateY(-50%) scale(1.5);
}

.contact {
  /* background-color: var(--PRIMARY-COL); */
}

.contact .container ul li {
  list-style-position: inside;
}

.contact .container ul li::marker {
  color: var(--PRIMARY-COL);
}

.icon-list {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.icon-list li {
  display: flex;
  justify-content: center;
  gap: 8px;
}

/* Shared icon base */
.icon-list a::before {
  content: "";
  width: 24px;
  height: 24px;
  display: inline-block;

  background-color: var(
    --SECONDARY-COL
  ); /* <-- your variable now controls icon color */
  mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
}

/* Phone icon */
/* .icon-list li.phone::before {
  mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="black" d="M6.62 10.79C8.06 13.62 10.38 15.94 13.21 17.38L15.41 15.18C15.69 14.9 16.08 14.78 16.46 14.86C17.74 15.13 19.08 15.27 20.5 15.27C21.33 15.27 22 15.94 22 16.77V20.5C22 21.33 21.33 22 20.5 22C10.28 22 2 13.72 2 3.5C2 2.67 2.67 2 3.5 2H7.23C8.06 2 8.73 2.67 8.73 3.5C8.73 4.92 8.87 6.26 9.14 7.54C9.22 7.92 9.1 8.31 8.82 8.59L6.62 10.79Z"/></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="black" d="M6.62 10.79C8.06 13.62 10.38 15.94 13.21 17.38L15.41 15.18C15.69 14.9 16.08 14.78 16.46 14.86C17.74 15.13 19.08 15.27 20.5 15.27C21.33 15.27 22 15.94 22 16.77V20.5C22 21.33 21.33 22 20.5 22C10.28 22 2 13.72 2 3.5C2 2.67 2.67 2 3.5 2H7.23C8.06 2 8.73 2.67 8.73 3.5C8.73 4.92 8.87 6.26 9.14 7.54C9.22 7.92 9.1 8.31 8.82 8.59L6.62 10.79Z"/></svg>');
} */

/* Instagram icon */
.icon-list li.instagram a::before {
  mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="black" d="M7 2C4.24 2 2 4.24 2 7v10c0 2.76 2.24 5 5 5h10c2.76 0 5-2.24 5-5V7c0-2.76-2.24-5-5-5H7zm10 2c1.66 0 3 1.34 3 3v10c0 1.66-1.34 3-3 3H7c-1.66 0-3-1.34-3-3V7c0-1.66 1.34-3 3-3h10zm-5 3.5A4.5 4.5 0 1 0 16.5 12 4.5 4.5 0 0 0 12 7.5zm0 2A2.5 2.5 0 1 1 9.5 12 2.5 2.5 0 0 1 12 9.5zm4.75-3.75a1.25 1.25 0 1 1-1.25 1.25 1.25 1.25 0 0 1 1.25-1.25z"/></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="black" d="M7 2C4.24 2 2 4.24 2 7v10c0 2.76 2.24 5 5 5h10c2.76 0 5-2.24 5-5V7c0-2.76-2.24-5-5-5H7zm10 2c1.66 0 3 1.34 3 3v10c0 1.66-1.34 3-3 3H7c-1.66 0-3-1.34-3-3V7c0-1.66 1.34-3 3-3h10zm-5 3.5A4.5 4.5 0 1 0 16.5 12 4.5 4.5 0 0 0 12 7.5zm0 2A2.5 2.5 0 1 1 9.5 12 2.5 2.5 0 0 1 12 9.5zm4.75-3.75a1.25 1.25 0 1 1-1.25 1.25 1.25 1.25 0 0 1 1.25-1.25z"/></svg>');
  cursor: pointer;
}

/* Email icon */
.icon-list li.email a::before {
  mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="black" d="M20 4H4C2.9 4 2 4.9 2 6V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V6C22 4.9 21.1 4 20 4ZM20 8L12 13L4 8V6L12 11L20 6V8Z"/></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="black" d="M20 4H4C2.9 4 2 4.9 2 6V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V6C22 4.9 21.1 4 20 4ZM20 8L12 13L4 8V6L12 11L20 6V8Z"/></svg>');
  cursor: pointer;
}

/* Facebook icon */
.icon-list li.facebook a::before {
  mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="black" d="M22 12a10 10 0 1 0-11.5 9.9v-7h-2v-3h2v-2.3c0-2 1.2-3.1 3-3.1.9 0 1.8.1 2 .1v2.3h-1.1c-1 0-1.3.6-1.3 1.2V12h2.5l-.4 3h-2.1v7A10 10 0 0 0 22 12Z"/></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="black" d="M22 12a10 10 0 1 0-11.5 9.9v-7h-2v-3h2v-2.3c0-2 1.2-3.1 3-3.1.9 0 1.8.1 2 .1v2.3h-1.1c-1 0-1.3.6-1.3 1.2V12h2.5l-.4 3h-2.1v7A10 10 0 0 0 22 12Z"/></svg>');
  cursor: pointer;
}

.flex {
  display: grid;
  gap: 2rem;
}

.footer {
  background-color: var(--PRIMARY-COL);
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
