:root {
  --primary: #f26b6b;
  --secondary: #c94b4b;
  --accent: #ffe9d6;
  --text-dark: #2e2e2e;
  --text-light: #ffffff;
  --bg-light: #fffaf6;
}

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

/* poppins-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/poppins-v24-latin-600.woff2') format('woff2');
}

/* dm-serif-display-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/dm-serif-display-v17-latin-regular.woff2') format('woff2');
}


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

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg-light);
  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 #b46b4e;
  outline-offset: 3px;
  border-radius: 6px;
}

img,
svg {
  user-select: none;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--accent);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  border-bottom: 3px solid var(--primary);
  margin-bottom: -1px;
}

.logo {
  font-family: "DM Serif Display", serif;
  font-size: 1.7rem;
  color: var(--primary);
}

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

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.3s;
}

/* Hero */
.hero {
  position: relative;
  height: 80vh;
  height: 80dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  overflow: hidden;
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.5));
}

.hero-content {
  z-index: 1;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  backdrop-filter: blur(4px);
  margin: 0px 1rem;
}

.hero-content h2 {
  font-family: "DM Serif Display", serif;
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #f9f9f9;
}

.hero-btn {
  background: var(--primary);
  color: var(--text-light);
  padding: 0.9rem 1.8rem;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
  display: inline-block;
}

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

.section h2 {
  font-family: "DM Serif Display", serif;
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Carousel */
.carousel {
  display: flex;
  justify-content: center;
  margin: 2rem auto;
}

.carousel-viewport {
  position: relative;
  overflow: hidden;
  width: fit-content;
  max-width: 100%;
  max-height: 90vh;
  max-height: 90dvh;
}

.carousel-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
  opacity: 0;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  display: block;
  max-height: 90vh;
  max-height: 90dvh;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.carousel-btn {
  background: none;
  border: 0;
  font-size: 3rem;
  color: var(--primary);
  cursor: pointer;
  line-height: 1;
  padding: 0 1rem;
  z-index: 2;
}

/* Map section */
.map-section p {
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.map-container iframe {
  width: 100%;
  height: 420px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
  background: var(--accent);
  color: var(--text-dark);
  padding: 1rem 2rem;
  font-size: 0.95rem;
  border-top: 3px solid var(--primary);
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  line-height: 2;
}

.footer-contact a {
  display: block;
  color: var(--text-dark);
  text-decoration: none;
  margin: 0.2rem 0;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-copy {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    padding: 1.5rem;
  }

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

  .carousel-btn {
    font-size: 2.5rem;
    padding: 0 0.5rem;
  }

  .section {
    padding: 3rem 1rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 0.8rem;
  }

  .hero {
    height: 70vh;
    height: 70dvh;
  }

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

@media (max-width: 480px) {
  .hero {
    height: 60vh;
    height: 60dvh;
  }

  .hero-content {
    padding: 1rem;
  }

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

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

  .hero-btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.9rem;
  }

  #collection {
    padding: 3rem 0.5rem;
  }
}

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

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

  .hero-btn:hover {
    background: var(--secondary);
  }

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