/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lora', serif;
  background: #0f1117;
  color: #e8e9ee;
  line-height: 1.7;
}

/* GLOBAL */
img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

section {
  padding: 90px 8%;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 55px;
}

.section-subtitle {
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8da0c9;
  margin-bottom: 12px;
}

.section-header h2,
.about-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.2;
  color: #f3f5fb;
}

.section-text,
.about-content p,
.service-card p,
.contact-form input,
.contact-form textarea {
  font-size: 1rem;
  color: #b7becc;
}

.btn {
  display: inline-block;
  background: #7f8faa;
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #6f809d;
  transform: translateY(-2px);
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(10, 12, 18, 0.45);
  backdrop-filter: blur(8px);
}

.navbar {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: #f0f2f8;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: #8da0c9;
  transition: 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: #ffffff;
  transition: 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* HERO */
.hero {
  min-height: 100vh;
  background: url('https://i.postimg.cc/8zmrWwp7/close-tree-and-moon.jpg') center center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  padding: 140px 8% 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 12, 18, 0.82), rgba(10, 12, 18, 0.42));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: #ffffff;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 18px;
  color: #c2cce2;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5.3rem);
  line-height: 1.08;
  font-weight: 600;
  margin-bottom: 22px;
  color: #f8f9fc;
}

.hero-text {
  max-width: 560px;
  font-size: 1.08rem;
  color: #dde3ef;
  margin-bottom: 30px;
}

/* GALLERY */
.gallery-section {
  background: #171b24;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-overlay span {
  color: #ffffff;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

/* ABOUT */
.about-section {
  background: #10141c;
}

.about-container {
  max-width: 1350px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 55px;
  align-items: center;
}

.about-image img {
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.about-content p {
  margin-bottom: 18px;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.service-card {
  background: #1a2030;
  padding: 24px 20px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(141, 160, 201, 0.08);
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #edf1f8;
}

/* CONTACT */
.contact-section {
  background: #171b24;
}

.contact-container {
  max-width: 900px;
  margin: 0 auto;
}

.contact-form {
  background: #111722;
  padding: 38px;
  border-radius: 24px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(141, 160, 201, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #2b3445;
  border-radius: 14px;
  font-family: 'Lora', serif;
  background: #0d121b;
  color: #e8e9ee;
  outline: none;
  transition: 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8c95a5;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #8da0c9;
  box-shadow: 0 0 0 3px rgba(141, 160, 201, 0.15);
}

.contact-form textarea {
  resize: vertical;
  margin-bottom: 20px;
}

/* FOOTER */
.site-footer {
  background: #0b0e14;
  border-top: 1px solid rgba(141, 160, 201, 0.12);
  padding: 32px 20px;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.footer-logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.footer-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-text p {
  margin: 0;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #eef2fb;
  letter-spacing: 0.4px;
}

.footer-contact {
  font-size: 0.95rem;
  color: #b7becc;
}

.footer-credit {
  font-size: 0.9rem;
  color: #8c95a5;
}

/* FOOTER MOBILE */
@media (max-width: 600px) {
  .site-footer {
    padding: 28px 16px;
    gap: 14px;
  }

  .footer-logo {
    width: 64px;
    height: 64px;
  }

  .footer-brand {
    font-size: 0.95rem;
  }

  .footer-contact,
  .footer-credit {
    font-size: 0.88rem;
  }
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-image img {
    min-height: 420px;
    max-height: 520px;
  }

  .services {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }

  .gallery-item.wide {
    grid-column: span 2;
  }

  .gallery-item.tall {
    grid-row: span 1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 18px 6%;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 6%;
    width: 240px;
    background: rgba(15, 17, 23, 0.97);
    border-radius: 18px;
    padding: 20px;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hero {
    padding: 120px 6% 70px;
    background-position: center;
  }

  section {
    padding: 75px 6%;
  }

  .contact-form {
    padding: 28px 22px;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-item.wide {
    grid-column: span 1;
  }

  .logo {
    font-size: 1.1rem;
    max-width: 70%;
    line-height: 1.2;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-text {
    font-size: 1rem;
  }
}