* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Inter', sans-serif;
  color: #1e1e1e;
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body.menu-open {
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.center {
  text-align: center;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
}

.section {
  padding: 60px 0 100px;
}

.section-subtext {
  margin-top: 10px;
  max-width: 680px;
  color: #555;
}

.light {
  background: #f8f8f6;
}

/* NAVBAR */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eee;
  z-index: 999;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-weight: 600;
  letter-spacing: 2px;
}

nav a {
  margin-left: 30px;
  text-decoration: none;
  color: #1e1e1e;
  font-size: 14px;
}

nav a:focus-visible {
  outline: 2px solid #1e1e1e;
  outline-offset: 4px;
  border-radius: 2px;
}

/* HERO */
.hero {
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  max-width: 100vw;
  position: relative;
  display: flex;
  align-items: center;
  background: url("optimized-images/hero.jpg") center / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.45);
  padding: 22px 24px;
  border-radius: 8px;
}

.hero h1 {
  font-size: 52px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero p {
  color: #1e1e1e;
}

.btn-primary {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 34px;
  border: 1px solid #1e1e1e;
  color: #1e1e1e;
  text-decoration: none;
  transition: all .3s ease;
}

.btn-primary:hover {
  background: #1e1e1e;
  color: #fff;
}

.btn-secondary {
  background: #1e1e1e;
  color: #fff;
}

.btn-secondary:hover {
  background: transparent;
  color: #1e1e1e;
}

/* ABOUT */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.image-box {
  background: #ddd;
  height: 350px;
}

/* PRODUCTS */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 40px;
  margin-top: 60px;
}

.product-card {
  padding: 30px;
  border: 1px solid #eee;
  box-shadow: 0 10px 20px rgba(0,0,0,.05);
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

.product-img {
  margin-bottom: 10px;
  overflow: hidden;
}

.product-img img,
.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-img img {
  display: block;
  aspect-ratio: 1 / 1;
}

/* WHY */
.why-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 60px;
}

.why-grid-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.why-grid-content span {
  font-size: 30px;
  color: #1e1e1e;
} 

.footer {
  padding: 30px 0;
  background: #f2f2ef;
  font-size: 14px;
}

/* RESPONSIVE */
@media(max-width:768px){
  .why-grid{
    flex-direction: column;
  }

  .hero {
    height: 100vh;
    height: 100svh;
    height: 100dvh;
  }

  .two-col {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 38px;
  }
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
}

.hamburger:focus-visible {
  outline: 2px solid #1e1e1e;
  outline-offset: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #1e1e1e;
  margin: 4px 0;
  transition: all .3s ease;
}

/* HAMBURGER ACTIVE (X ICON) */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}



/* MOBILE NAV */
@media(max-width:768px){

  nav.nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    height: calc(100svh - 70px);
    height: calc(100dvh - 70px);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    transition: right .4s ease;
  }

  nav.nav-links a {
    font-size: 22px;
    margin: 20px 0;
  }

  nav.nav-links.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 30px;
  max-width: 420px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-item span {
  font-size: 30px;
  line-height: 1;
  margin-bottom: 26px;
}

.contact-item strong {
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}

.contact-cta {
  padding: 0 50px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.cta-actions .btn-primary {
  margin-top: 0;
}

.contact-cta h3 {
  margin-bottom: 15px;
}

/* MOBILE */
@media(max-width:768px){
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-cta {
    padding: 0;
  }

  .cta-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-subtext {
    margin-top: 8px;
    font-size: 14px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
  }

  .product-card {
    padding: 16px;
  }

  .product-desc {
    font-size: 13px;
    margin: 6px 0 10px;
  }

  .product-price {
    font-size: 14px;
  }
}

/* PRODUCT CARD PRICE */
.product-info {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-desc {
  font-size: 14px;
  color: #555;
  margin: 8px 0 12px;
}

.product-price {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #1e1e1e;
  margin-top: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .product-card,
  .btn-primary,
  .hamburger span,
  nav.nav-links {
    transition: none;
  }
}




