* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  font-family: 'Cormorant Garamond', serif;
  background: #f6f6f6;
  color: #222;
  overflow-x: hidden;
  line-height: 1.6;
  user-select: none;
}

#headerLogo {
  width: 750px;
  max-width: 90%;
  height: auto;
  cursor: pointer;
}

@media (max-width: 600px) {
  #headerLogo {
    width: 90%;
    max-width: 420px;
  }
}

#footerLogo {
  width: 300px !important;
  height: auto !important;
}

.hero {
  min-height: 85vh;
  padding: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.15),
    rgba(255,255,255,0.55)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
}

.card {
  width: 85%;
  max-width: 1200px;
  margin: -140px auto 0;
  background: #ffffff;
  padding: clamp(50px, 10vw, 120px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.08);
  position: relative;
  z-index: 10;
}

.card h2 {
  font-family: 'Allura', cursive;
  font-size: clamp(32px, 5vw, 48px);
  text-align: center;
  margin-bottom: 35px;
}

.card p {
  font-size: 21px;
  line-height: 1.8;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
  color: #444;
}

.gallery {
  margin-top: 150px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  height: 500px;
}

@media (max-width: 1024px) {
  .gallery-item { height: 400px; }
}

@media (max-width: 600px) {
  .gallery-item { height: 300px; }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.4s;
}

.gallery-item:hover .overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.1); }

.overlay a {
  text-decoration: none;
  background: #fff;
  color: #111;
  padding: 12px 25px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
}

.main-footer {
  background: #fff;
  padding: 80px 0 40px;
  margin-top: 100px;
}

.footer-content {
  width: 100%;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 50px auto 0;
  text-align: center;
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-section h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-section p,
.footer-section a {
  font-size: 20px;
  line-height: 1.7;
}

.footer-section a {
  color: #444;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.footer-section a:hover {
  border-color: #c8a27a;
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-bottom {
  width: 100%;
  text-align: center;
  margin-top: 40px;
}

.footer-bottom p {
  margin-top: 20px;
  font-size: 20px; 
}

@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero-logo { width: 80%; }
  .card { width: 90%; padding: 70px 40px; }
  .footer-logo { width: 60%; }
}

@media (max-width: 600px) {
  .hero { min-height: 50vh; }
  
  .hero-logo { width: 90%; }
  
  .card { 
    margin-top: -60px; 
    padding: 50px 20px;
    width: 95%;
  }

  .card p { font-size: 18px; }

  .grid { grid-template-columns: 1fr; }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.hidden-gallery {
  display: none;
}

.temp-gallery {
  margin-top: 140px;
}

.collage-grid {
  column-count: 3;
  column-gap: 22px;
}

@media (max-width: 1024px) {
  .collage-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .collage-grid {
    column-count: 1;
  }
}

.collage-tile {
  break-inside: avoid;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  height: 350px;  
}

.collage-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   
  border-radius: 4px;
  transition: opacity 0.5s ease;
}

.collage-tile.fade img {
  opacity: 0;
}

