/* ===== RESET ===== */
body {
  margin: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: #f5f5f5;
  color: #111;
}

/* ===== NAVBAR ===== */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 60px;
  background: white;
  border-bottom: 1px solid #ddd;
}

.nav h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 2px;
}

.nav div a {
  margin-left: 15px;
  text-decoration: none;
  color: white;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 25px;
  background: #D8A9AD;
  border: none;
  transition: all 0.25s ease;
}

.nav div a:hover {
  background: #c89297;
}

/* ===== LOGO ===== */
.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  color: white;
  background: #D8A9AD;
  padding: 8px 18px;
  border-radius: 20px;
  transition: 0.25s ease;
}

.logo:hover {
  background: #c89297;
}

/* ===== HERO ===== */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  padding: 160px 20px 120px;

  background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)),
    url('Photography/MGordonFoliage.webp') center/cover;

  color: white;
}

.hero h2 {
  font-size: 72px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.hero p {
  font-size: 22px;
  opacity: 0.95;
  font-weight: 500;
}

/* ===== HOME LINKS ===== */
.home-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 40px 20px 20px;
  flex-wrap: wrap;
}

.link-card {
  width: 260px;
  height: 150px;
  background: #D8A9AD;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: white;
  border-radius: 16px;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.link-card:hover {
  background: #c89297;
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* ===== ABOUT ===== */
.about {
  padding: 30px 20px 10px;
}

.about-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 60px;
  align-items: center;
  background: #D8A9AD;
  padding: 40px;
  border-radius: 20px;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 36px;
  font-weight: 800;
  margin-top: 0;
  color: white;
}

.about-text p {
  font-size: 18px;
  line-height: 1.8;
  color: white;
}

.about-image img {
  width: 280px;
  border-radius: 14px;
  border: 4px solid white;
}

/* ===== CONTACT ===== */
.contact {
  text-align: center;
  padding: 20px 20px 50px;
  background: #f5f5f5;
}

.contact-inner {
  background: #D8A9AD;
  padding: 25px 50px;
  border-radius: 20px;
  display: inline-block;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.contact h3 {
  font-size: 30px;
  color: white;
}

.contact-inner p {
  color: white;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.contact-btn {
  padding: 12px 24px;
  background: white;
  color: #D8A9AD !important;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: 0.25s ease;
}

.contact-btn:hover {
  background: #f2f2f2;
  transform: translateY(-3px);
}

/* ===== TITLES ===== */
.title {
  text-align: center;
  margin-top: 60px;
  font-size: 34px;
  font-weight: 700;
}

/* ===== GRID ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  padding: 60px;
  max-width: 1300px;
  margin: auto;
}

/* ===== IMAGE ONLY (FIXED) ===== */
/* ===== IMAGE UNIFORM SIZE FIX ===== */
.card picture {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3; /* 🔥 makes ALL images same box */
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 clean cropping */
  border-radius: 14px;
  transition: all 0.3s ease;
}
.grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* ===== CARD FIX ===== */
.card {
  overflow: hidden;
  border-radius: 16px;
}

.card picture {
  display: block;
  width: 100%;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== VIDEO FIX ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  padding: 20px;
}

.video-card {
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: none;
}

/* ===== BUTTON ===== */
.load-more-btn {
  padding: 12px 28px;
  background: #D8A9AD;
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-block;
  margin-top: 10px;
}

.load-more-btn:hover {
  background: #c89297;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ===== MODAL ===== */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

/* ===== ANIMATION ===== */
.hero, .home-links, .about {
  animation: fadeIn 2.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 10px;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .grid {
    padding: 30px;
  }


  .hero h2 {
    font-size: 40px;
  }
}


/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 768px) {

  /* NAVBAR */
  .nav {
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
  }

  .nav div {
    margin-top: 10px;
  }

  .nav div a {
    margin: 5px;
    padding: 8px 14px;
    font-size: 14px;
  }

  /* TITLE */
  .title {
    font-size: 26px;
    margin-top: 30px;
  }

  /* GRID */
  .grid {
    grid-template-columns: 1fr; /* single column */
    padding: 20px;
    gap: 25px;
  }

  /* CARD TEXT */
  .card-text {
    padding: 10px 5px;
  }

  .card-text h3 {
    font-size: 18px;
  }

  .card-text p {
    font-size: 14px;
    line-height: 1.5;
  }

  /* IMAGE SIZE */
  .card picture {
    aspect-ratio: 4 / 3;
  }

  /* VIDEO */
  .video-grid {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .video-card iframe {
    aspect-ratio: 16 / 9;
  }

  /* BUTTON */
  .load-more-btn {
    width: 100%;
    max-width: 250px;
    font-size: 14px;
  }

  /* HERO (if used) */
  .hero {
    padding: 100px 20px;
  }

  .hero h2 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  /* ABOUT SECTION */
  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .about-image img {
    width: 200px;
  }

}