/* === Global Reset and Base Styles === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none;
}

img {
  max-width: 100%;
  height: auto;
}

.berryvideo {
  width: 100%; /* Adjust to desired size */
    height: auto;
 display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.view-button a{
  background: #131111;
  color: rgb(195, 238, 241);
  padding: 1rem;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  border: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
   justify-content:center;
  align-items:center;

  
}

.view-button a:hover {
  background: #424141;
  transform: scale(1.05);
  justify-content:center;
  align-items:center;
 
}


.scalloped-bottom {
  position: absolute; /* float above content */
  top: -20px; /* move it upward to overlap the gallery */
  left: 0;
  width: 100%;
  height: 80px; /* adjust height as needed */
  background: rgb(184, 55, 46); /* keep your scallop color */
  z-index: 10; /* make sure it sits above images */

  /* Scallop mask */
  --mask-size: 70px;
  mask: 
    radial-gradient(var(--mask-size) at 50% calc(100% - var(--mask-size)), #000 99%, transparent 101%) 
      0 100% / calc(var(--mask-size) * 2) var(--mask-size) repeat-x;

  mask-repeat: repeat-x;
  -webkit-mask: 
    radial-gradient(var(--mask-size) at 50% calc(100% - var(--mask-size)), #000 99%, transparent 101%) 
      0 100% / calc(var(--mask-size) * 2) var(--mask-size) repeat-x;
  -webkit-mask-repeat: repeat-x;
}


body {
    padding-top: 130px; 
  background: rgb(184, 55, 46);
  color: rgb(195, 238, 241);
  overflow-x: hidden;
  font-family: "sofia-pro-variable", sans-serif;
  font-variation-settings: "slnt" 0, "wght" 461.64383;
}

/* === Cursors === */
.inner-cursor, .outer-cursor {
  position: fixed;
  left: 10px;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 10%;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: 0.1s;
}

.inner-cursor {
  width: 10px;
  height: 10px;
  background: #f1f1f1;
  transition: width 0.5s, height 0.5s;
}

.outer-cursor {
  width: 25px;
  height: 25px;
  border: 1px solid rgb(195, 238, 241);
}

/* === Utility === */
.fix, .image-gallery, .whitebox-row {
  background: rgb(195, 226, 228);
}

.gg-chosen img {
  width: 700px; /* desired width */
  height: auto; /* maintain aspect ratio */
  object-fit: contain; /* optional, preserves full image without cropping */
  margin:1rem;
  border-radius: 8px;
}

.gg-chosen {
  width: 100%;      /* make it take the full row */
  display: flex;    /* optional, lets you center the image inside */
  justify-content: center; /* center horizontally */
  margin-bottom: 1rem; /* optional spacing below */
  color:black;
}

/* === Header === */
.header {
    position:fixed;
  top: 0;
  left: 0;
  width: 100%;      /* full viewport width */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f1f1f1;
  padding: 0px 10px;
  z-index: 1001;
}

.logo, .header-right a {
  color: rgb(184, 55, 46);
  padding: 12px;
  text-decoration: none;
  border-radius: 4px;
}

.logo {
  font-size: 25px;
  font-weight: bold;
}

.logo:hover, .header-right a:hover {
  background: rgb(195, 238, 241);
}


.header-right {
  display: flex;
  gap: 1rem;
}

.header-right a {
  font-size: 18px;
  line-height: 25px;
}

.header-right a.active {
  background: rgb(184, 55, 46);
  color: rgb(195, 238, 241);
}

.button.active {
  background: rgb(184, 55, 46);
  color: rgb(195, 238, 241);
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: rgb(184, 55, 46);
  margin-left: 1rem;
}

/* === Banner & Text === */
.banner {
  height: 1.5em;
  background: url('https://via.placeholder.com/1200x800?text=Design+Banner') no-repeat center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 7em;
  font-family: "formiga", sans-serif;
  font-weight: 900;
  text-align: center;
}

.smalltext {
  font-size: 2em;
  text-align: center;
  margin: 2em 1em 2.7em;
}

.gap {
    padding:1em;
}


/* === Image Gallery === */

.whitebox2 .image-gallery {
  background: #f1f1f1; /* matches your white box */
  padding: 1rem;        /* optional, to keep some spacing */
  border-radius: 8px;   /* optional, match the box corners */
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding-top:1rem;
  width:90%;
  margin:auto;
  color:#131111;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.image-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.fix2 {
  background-color:rgb(195, 226, 228);
}



.white-box {
  background: linear-gradient(to bottom, #f1f1f1, #cfcfcf);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
  color: #131111;
}

/* === White Box Sections === */
.whitebg {
  padding: 0;
  margin: 0;
  width: 100%;
}

.whitebox2 {
  background: #f1f1f1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem;
  max-width: 900px;
  width: 90%;
  border-radius: 8px;
  color: #131111;
  text-align: left;
}

.whitebox-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  padding: 2rem;
  flex-wrap: wrap;
  margin: 1rem 0;

}
.whitebox-row.reverse {
  flex-direction: row-reverse;
}

.whitebox-img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* === Text Elements === */
.boldtext, .unboldtext {
  margin-left: 1em;
  color: #131111;
    max-width:66ch;
    text-wrap:pretty;
}

.boldtext {
    text-align:center;
}

.unboldtext {
  margin-top: 1em;
}

.text-content {
  margin-bottom: 2rem;
}

/* === Button === */
.image-button {
  background: #131111;
  color: rgb(195, 238, 241);
  padding: 1rem;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  border: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.image-button:hover {
  background: #424141;
  transform: scale(1.05);
}

/* === Footer === */
.footer {
  background: rgb(184, 55, 46);
  color: rgb(195, 238, 241);
  padding: 3em 1em;
  font-size: 1em;
  text-align: left;
  border-top: 40px solid #f1f1f1;
}

.footertext {
  margin-left: 12px;
}

/* === Responsive Styles === */
@media (max-width: 768px) {
  .gallery-item {
    flex-direction: column;
  }

  .half {
    width: 100%;
    height: 50vh;
  }
.whitebox2 {
  padding: 1.5rem;
  width: 92%;
}

.whitebox-row,
.whitebox-row.reverse {
  flex-direction: column;
  align-items: center;
}

.smalltext {
  font-size: 1rem;
}

.unboldtext {
  font-size: 0.95rem;
}
 
  .banner {
    font-size: 2.8rem;
  }

  .smalltext {
    font-size: 1.1em;
    margin: 1.5em 1em 3em;
  }

  .menu-toggle {
    display: block;
  }

  .header-right {
    display: none;
    flex-direction: column;
    background: #f1f1f1;
    position: absolute;
    top: 60px;
    right: 10px;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 1002;
  }

  .header-right.active {
    display: flex;
  }
}

@media (max-width: 768px) {
  main {
    padding-top: 10px; /* adjust if needed: try 40–80px */
  }
}