/* GLOBAL */
body {
  margin: 0;
  font-family: 'Gluten', cursive;
  background: #f8f2e3;
  color: #316152;
  font-size: 14px;
}
  body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  background-image:
    url("images/background\ img\ 1.png"),
    url("images/background\ img\ 2.png");

  background-repeat: no-repeat;

  background-position:
    left -2% top 5%,
    right -8% top 120%,
    left -10% bottom -80px;

  background-size: 320px, 400px, 100px;
  opacity: 0.8;
}
p {
  font-family: 'Nunito', sans-serif;
  line-height: 1.8;
  word-spacing: 2px;
  letter-spacing: 0.3px;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0px;
  z-index: 1000;
}

.logo img {
  
  height: 205px;
   padding-top: 55px;
     margin-left: 30px;
      
}

.nav-links a {
  margin-left: 5px;
  padding: 6px 12px;
  border: 2px solid #316152;
   border-radius: 10%;
  background: #c0d9e9;
  color: #316152;
  text-decoration: none;
  transition: 0.2s;
  margin-right: 50px;

  
}

.nav-links a:hover {
  background: #316152;
  color: #c7d6df;
}

.nav-links a:active {
  transform: scale(0.9);
}

/* HERO */
.hero {
  margin-top: 70px;
  position: relative;
  height: 90vh;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* HERO BUTTONS */
.hero-buttons {
  position: absolute;
  top: 50%;
 left: 25%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 10px;
  
}

.hero-buttons button {
  padding: 8px 16px;
  border-radius: 12%;
  border: 2px solid #316152;
  background: #f8f2e3;
  color:#316152;
  font-family: 'Gluten' ;
  cursor: pointer;
}

.hero-buttons button:hover {
  background:#316152;
  color: #f8f2e3;
}

.hero-buttons button:active {
  transform: scale(0.9);
}

.learn-more {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  color: #cda113;
  cursor: pointer;
  text-align: center;
}

.learn-more::after {
  content: "↓";
  display: block;
  font-size: 26px;
  margin-top: 5px;
}

.learn-more:hover {
  transform: translateX(-50%) scale(1.1);
}

.learn-more:active {
  transform: translateX(-50%) scale(1);
}

/* MAIN BOX */
.main-box {
  width: 60%;
  margin: 60px auto;
  background: white;
  border: 3px solid #316152;
  border-radius: 30px;
  overflow: hidden;
}

/* SECTIONS */
.section {
    padding: 40px 40px 40px 40px;
  position: relative;
}

/* TAG */
.tag {
   width: calc(100% + 80px);
  margin-left: -40px;
  background: #c0d9e9;
  color:#316152;
  text-align: center;
  padding: 10px 0;
  margin-bottom: 30px;
  border-top: 3px solid #316152;
  border-bottom: 3px solid #316152;
}

/* CONTENT */
.section-content {
  display: flex;
    gap: 30px;
  align-items: stretch;
}

.images-col {
  width: 30%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
    margin-right: 10px;
}

.images-col img {
  width: 90%;
  height: 140px;
  object-fit: cover;
}

.text-col {
  width: 70%;
    display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.text-col img {
  width: 100%;
  margin-top: 25px;
  height: 250px;
  object-fit: cover;
}

/* SPLIT */
.split {
  justify-content: space-between;
}

.split img {
  width: 50%;
  height: 80vh;
  object-fit: cover;
}
.section-content.split > div {
  width: 50%;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* GRID */
.grid {
  display: grid;
    grid-template-columns: 40% 60%;
  gap: 15px;
  margin-top: 30px;
}

.grid p {
  display: flex;
  align-items: center;
  margin-left: 55px;
  margin-right: 30px;
}
.grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.split img {
  height: 80vh;
}
#creator .section-content {
  align-items: stretch;
}
/* CTA */
.cta {
  text-align: center;
  margin: 60px 0;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #316152;
  background: #f3efe6;
  color: #2e4a4a;
  text-decoration: none;
}

.btn:hover {
  background: #316152;
  color: #f3efe6;
}

.btn:active {
  transform: scale(0.9);
}
.creator-image {
  position: relative;
  width: 100%;
  height: 80vh;
}

.creator-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  top: 0;
  left: 0;
  transition: opacity 0.4s ease;
}

/* default image visible */
.img-default {
  opacity: 1;
}

/* hover image hidden */
.img-hover {
  opacity: 0;
}

/* on hover → swap */
.creator-image:hover .img-default {
  opacity: 0;
}

.creator-image:hover .img-hover {
  opacity: 1;
}

/* PAGE SPECIFIC BACKGROUNDS */
.page-background {
  position: fixed;
  top: 70px; /* below navbar */
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

/* GRID CONTAINERS */
.grid-container {
  display: grid;
  gap: 20px;
  padding: 20px 0;
}

/* 6-item grids */
.grid-container {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* GRID ITEMS */
.grid-item {
  padding: 10px;
  border-radius: 20px;
  text-align: center;
  position: relative;
}

.grid-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
}

.grid-item h3 {
  margin: 8px 0 4px;
  color: #316152;
}

/* GRID TAB INFO */
.grid-tab {
  font-family: 'Gluten', cursive; 
  font-size: 14px;
  color: #316152;
  display: none;
  margin-top: 5px;
  background: rgba(255,255,255,0.9);
  border-radius: 8px;
  padding: 5px;
}

/* CTA BUTTONS */
.cta {
  text-align: center;
  margin: 40px 0 100px;
}

.btn {
  padding: 12px 24px;
  font-family: 'Gluten', cursive;
  border: 2px solid #316152;
  background: #f8f2e3;
  color: #316152;
  text-decoration: none;
  border-radius: 12px;
}

.btn:hover {
  background: #316152;
  color: #f8f2e3;
}

.btn:active {
  transform: scale(0.9);
}


/* RESPONSIVE */
@media (max-width: 900px) {
  .main-box {
    width: 90%;
  }

  .section-content {
    flex-direction: column;
  }

  .images-col,
  .text-col,
  .split img {
    width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
  }
}