@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Outfit:wght@300;400;600&display=swap');

:root {
  --primary-deep: hsl(140, 40%, 12%);
  --primary-green: hsl(140, 35%, 25%);
  --sage: hsl(140, 15%, 92%);
  --accent-earth: hsl(20, 35%, 40%);
  --accent-gold: hsl(45, 55%, 60%);
  --bg-light: hsl(140, 10%, 98%);
  --text-dark: hsl(140, 30%, 8%);
  --text-muted: hsl(140, 10%, 40%);
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.7);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  background: var(--glass);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-dark);
}

.logo-img {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-green);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-green);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/hero_bg.png') center/cover no-repeat;
  filter: brightness(0.3);
  z-index: -1;
  transform: scale(1.05);
  animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

.hero-content {
  text-align: center;
  color: var(--white);
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s forwards 0.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-logo {
  height: 220px;
  /* Increased size as requested */
  width: auto;
  margin-bottom: 2rem;
  mix-blend-mode: multiply;
  /* Removes white background */
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
  transition: var(--transition);
}

.hero h1 {
  font-size: 5.5rem;
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 3.5rem;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--primary-green);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid transparent;
}

.cta-button:hover {
  background-color: transparent;
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Section Styling */
.section {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 3rem;
  color: var(--primary-deep);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Contact Section */
.contact {
  background-color: var(--primary-deep);
  color: var(--white);
  padding: 6rem 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.contact-info h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-item-text h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: 0.25rem;
}

.contact-item-text a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  transition: var(--transition);
}

.contact-item-text a:hover {
  color: var(--accent-gold);
}

.contact-visual {
  height: 400px;
  background: url('images/gallery_3.jpg') center/cover;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
  padding: 3rem 0;
  background-color: var(--primary-deep);
  color: var(--white);
  opacity: 0.8;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  height: 90px;
}

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

.modal.active {
  display: flex;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
}

.modal-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.close-modal {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive Refinements */
@media (max-width: 768px) {
  .section {
    padding-top: 4rem;
    padding-bottom: 6rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-header h2 {
    font-size: 2.25rem;
  }

  .hero-logo {
    height: 140px;
    margin-bottom: 1.5rem;
  }

  .hero h1 {
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
  }

  .hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
  }

  .nav-links {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 20px;
  }

  .gallery-item {
    aspect-ratio: 1/1;
  }

  .gallery-overlay {
    padding: 1rem;
    font-size: 0.8rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-info h2 {
    font-size: 2.25rem;
  }

  .contact-item-text a {
    font-size: 1.15rem;
    /* Slightly smaller for better fit */
    word-break: break-word;
    /* Prevents long emails from cutting off */
    display: block;
  }

  .contact-visual {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .container {
    padding: 0 1.25rem;
  }
}