:root {
  --primary: #b46b4e;
  --primary-hover: #8e523d;

  --text-dark: #333;
  --text-medium: #555;
  --text-light: #f3f3f3;

  --bg-white: #fff;
  --bg-light: #f9f9f9;

  --hero-overlay: rgba(0, 0, 0, 0.35);

  --footer-text: #555;
  --footer-bg: #f9f9f9;
}

/* playfair-display-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/playfair-display-v40-latin-regular.woff2') format('woff2');
}

/* playfair-display-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/playfair-display-v40-latin-600.woff2') format('woff2');
}

/* open-sans-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/open-sans-v44-latin-regular.woff2') format('woff2');
}

/* open-sans-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/open-sans-v44-latin-600.woff2') format('woff2');
}

/* Reset & base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

img,
svg {
  user-select: none;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: transparent;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 10;
  color: var(--text-light);
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
}

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

.nav-links a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

/* Hero section */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  overflow: hidden;
  padding: 0 1.5rem;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

.hero-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 0;
}

.btn {
  background-color: var(--primary);
  color: white;
  padding: 0.9rem 1.8rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background-color 0.3s;
}

.btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Sections */
.section {
  padding: 4rem 1rem;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.section h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #222;
}

/* Collection */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery img {
  width: 100%;
  height: auto;
  align-self: start;
  border-radius: 8px;
  display: block;
}

/* About */
#about {
  padding: 4rem 2rem;
  margin-top: 4rem;
}

.about p {
  margin-top: 1rem;
  color: var(--text-medium);
}

/* Contact */
.contact .contact-list {
  display: block;
  font-style: normal;
  margin-top: 1.5rem;
}

.contact .contact-list a {
  display: block;
  margin: 0.5rem 0;
  text-decoration: none;
  color: inherit;
}

.map-container {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.map-container iframe {
  width: 100%;
  max-width: 800px;
  height: 400px;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background-color: var(--footer-bg);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: var(--footer-text);
}

/* =========================
   ≤ 768px (tablets / small laptops)
   ========================= */
@media (max-width: 768px) {

  /* Navbar */
  .navbar {
    padding: 0.75rem 1rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .nav-links a {
    font-size: 0.95rem;
  }

  /* Hero */
  .hero {
    height: 70vh;
    height: 70dvh;
    padding: 0 1rem;
  }

  .hero-content h2 {
    font-size: 1.9rem;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .btn {
    padding: 0.8rem 1.4rem;
  }

  /* Sections */
  .section {
    padding: 3rem 1rem;
    max-width: 720px;
  }

  .section h2 {
    font-size: 1.6rem;
  }

  #about {
    padding: 3rem 2rem;
    margin-top: 3rem;
  }

  /* Gallery: 2 columns */
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  /* Contact/map */
  .map-container iframe {
    max-width: 100%;
    height: 320px;
    border-radius: 8px;
  }
}

/* =========================
   ≤ 480px (phones)
   ========================= */
@media (max-width: 480px) {

  /* Navbar */
  .navbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .logo {
    text-align: center;
    font-size: 1.15rem;
  }

  .nav-links {
    justify-content: center;
    gap: 0.75rem;
  }

  .nav-links a {
    font-size: 0.95rem;
    padding: 0.25rem 0.5rem;
  }

  /* Hero */
  .hero {
    height: 60vh;
    height: 60dvh;
    padding: 0 0.75rem;
  }

  .hero-content h2 {
    font-size: 1.6rem;
  }

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

  .btn {
    padding: 0.75rem 1.2rem;
    border-radius: 26px;
    font-size: 0.95rem;
  }

  /* Sections */
  .section {
    padding: 2.5rem 0.75rem;
    max-width: 100%;
  }

  .section h2 {
    font-size: 1.4rem;
  }

  #about {
    padding: 2.5rem 1rem;
    margin-top: 2.5rem;
  }

  /* Gallery single column */
  .gallery {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  /* Contact/map */
  .map-container iframe {
    height: 220px;
    border-radius: 6px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  }
}

/* =========================================================
   HOVER BEHAVIOR ONLY ON DEVICES THAT SUPPORT HOVER
   ========================================================= */
@media (hover: hover) and (pointer: fine) {

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

  .btn:hover {
    background-color: var(--primary-hover);
  }

  .contact .contact-list a:hover {
    color: var(--primary);
  }
}