@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

section {
  scroll-snap-align: start;
}

body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE/Edge */
  font-family: 'Playfair Display', serif;
  background-color: #f4f4f2;
  color: #2e2e2e;
  line-height: 1.6;
}
body::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 100vh;
  background: #1b1a19;
  overflow: hidden;
}

.hero-text {
  position: absolute;
  top: 4rem;
  right: 4rem;
  max-width: 500px;
  color: #deeac2;
  padding: 3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.1;
}

.hero-text h2 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.hero-text p {
  font-size: 1.125rem;
  line-height: 1.8;
}

.hero-button {
  border: 1px solid #deeac2;
  color: #deeac2;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 999px;
  width: fit-content;
  transition: all 0.3s ease;
}

.hero-button:hover {
  background-color: #deeac2;
  color: #1b1a19;
}

.hero-image .overlay-art {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  width: 420px;
  border-radius: 8px;
  object-fit: contain;
}

/* NAVIGATION */
nav {
  background-color: #6b8e23;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #fdf6e3;
}

/* GALLERY SECTION */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  padding: 2rem;
  background-color: #e6eedd;
  min-height: 100vh;
}

.gallery-grid img {
  width: 100%;
  border: 3px solid #b7c68b;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

/* ABOUT + CONTACT */
#about {
  padding: 2rem;
  background-color: #e6eedd;
}

#contact {
  padding: 2rem;
  background-color: #f8f8f0;
}

button[type="submit"] {
  background-color: #6b8e23;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

/* FOOTER */
footer {
  background-color: #556B2F;
  color: white;
  text-align: center;
  padding: 1rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-text {
    top: 2rem;
    right: 2rem;
    padding: 1.5rem;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-image .overlay-art {
    width: 200px;
    bottom: 1rem;
    left: 1rem;
  }
}
