:root {
  /* === Colors === */
  --bg-color: #ffffff;               /* Full white background */
  --bg-navy: #2F3A4A;                /* Desaturated navy for depth */
  --bg-green: #4A4A4A;               /* Neutral gray-green for accent */
  --bg-brown: #3A3A3A;               /* Replacing brown with soft dark gray */
  --bg-cream: #f7f7f7;               /* Light gray-white for subtle sections */
  --error-color: #c0392b;            /* Elegant muted red for alerts */

  --text-color: #1a1a1a;             /* Almost black for high contrast */
  --subtext-color: #555555;          /* Soft gray for secondary text */
  --text-light: #ffffff;
  --text-gray: #cccccc;              /* Light gray for muted elements */

  --capture-light: #fefefe;          /* Pure white for clean sections */
  --capture-light-white: #f5f5f5;    /* Slightly off-white */
  --capture-gray: #2e2e2e;           /* Deep gray for contrast blocks */

  /* === Accent === */
  --accent-color: #999999;           /* Elegant neutral accent (can be replaced per theme) */
  --accent-soft: rgba(153, 153, 153, 0.2); /* Soft gray glow */

  /* === Fonts === */
  --font-main: 'Unbounded', sans-serif;
  --font-display: 'Playfair Display', serif;

  /* === Shadows === */
  --shadow-soft: 0 4px 8px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 8px 12px rgba(0, 0, 0, 0.1);
  --shadow-strong: 0 12px 18px rgba(0, 0, 0, 0.15);
  --shadow-dark: 0 4px 10px rgba(0, 0, 0, 0.2);

  /* === Gradients === */
  --gradient-gold: linear-gradient(135deg, #e0e0e0, #ffffff); /* Replacing gold with soft grayscale */
  --gradient-navy: linear-gradient(135deg, #2F3A4A, #1C1C1C);
  --drop-shadow-capture: drop-shadow(0 25px 28px rgba(0, 0, 0, 0.2));
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
}

    header {
      width: 100%;
      position: fixed;
      top: 0;
      left: 0;
      background: var(--bg-color);
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      z-index: 1000;
    }
    .nav-container {
      max-width: 1200px;
      margin: auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 15px 20px;
    }
    .logo {
      font-size: 1.8rem;
      font-weight: 700;
      letter-spacing: 2px;
      color: #222;
      text-decoration: none;
    }
    nav ul {
      display: flex;
      list-style: none;
      gap: 20px;
    }
    nav ul li a {
      text-decoration: none;
      font-weight: 500;
      color: #333;
      transition: color 0.3s;
    }
    nav ul li a:hover {
      color: #111;
    }
    .cart {
      font-size: 1.4rem;
      cursor: pointer;
    }
    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
    }
    .hamburger span {
      height: 3px;
      width: 25px;
      background: #333;
      margin: 4px 0;
      transition: 0.4s;
    }

    @media  (max-width:768px){
      nav ul {
        display: none;
        flex-direction: column;
        background: #f9f4ef;
        position: absolute;
        top: 60px;
        right: 20px;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
      }
      nav ul.active {display: flex;}
      .hamburger {display: flex;}
    }


/* ===== HERO SECTION ===== */
.hero {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-color);
  margin-top: 80px;
  padding: 0 2rem;
}

.hero-rectangle {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 90%;
  border: 2px dashed rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
  background: var(--bg-color);
}

/* Corners */
.corner {
  width: 25px;
  height: 25px;
  border: 2px solid rgba(0, 0, 0, 0.7);
  position: absolute;
}
.top-left { top: -2px; left: -2px; border-bottom: none; border-right: none; }
.top-right { top: -2px; right: -2px; border-bottom: none; border-left: none; }
.bottom-left { bottom: -2px; left: -2px; border-top: none; border-right: none; }
.bottom-right { bottom: -2px; right: -2px; border-top: none; border-left: none; }

/* Headline */
.hero-rectangle h1 {
  font-size: 4vw;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: -1px;
  margin-bottom: 2rem;
  text-align: center;
}

/* Camera */


@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Circle */
.yellow-circle {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  width: 130px;
  height: 130px;
  background: var(--accent-color); /* #F5DF4E */
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.yellow-circle:hover {
  transform: translateY(-50%) scale(1.05);
}

.explore-text {
  font-weight: 700;
  color: var(--text-color); /* black */
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-align: center;
}



/* Corner Texts */
.corner-text-left,
.corner-text-right {
  position: absolute;
  bottom: 12px;
  font-size: 0.9rem;
  color: var(--subtext-color);
}
.corner-text-left {
  left: 16px;
}
.corner-text-right {
  right: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-rectangle h1 {
    font-size: 2rem;
  }
  .camera img {
    max-width: 300px;
  }
  .yellow-circle {
    width: 90px;
    height: 90px;
  }
}


/* section transaction */
  /* Main section container */
    .promo-section {
      width: 100%;
      height: 100vh;
      overflow: hidden;
      position: relative;
      background: var(--bg-cream);
    }

    /* Slanted brown background */
    .angled-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 120%;
      height: 100%;
      background: var(--bg-brown);
      transform: rotate(-4deg);
      transform-origin: top left;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 4rem 6rem;
      box-sizing: border-box;
    }

    /* Cream accent in top-right corner */
    .cream-accent {
      position: absolute;
      top: 0;
      right: 0;
      width: 35%;
      height: 30%;
      background: var(--bg-cream);
      z-index: 1;
      transform: rotate(4deg);
      border-bottom-left-radius: 80px;
    }

    /* Left text block */
    .text-left {
      color: var(--text-light);
      max-width: 400px;
      z-index: 2;
      transform: rotate(4deg); /* counter-rotate */
    }
    .text-left h2 {
      font-size: 2.3rem;
      margin-bottom: 1rem;
    }
    .text-left .note {
      font-size: 0.95rem;
      opacity: 0.85;
      margin-bottom: 2rem;
    }
    .stats h1 {
      font-size: 3.2rem;
      margin: 0;
    }
    .stats p {
      font-size: 1rem;
      margin-top: 0.5rem;
    }

    /* Camera wrapper */
    .camera-wrapper {
      position: relative;
      z-index: 2;
      transform: rotate(4deg); /* align upright visually */
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .camera-tilted {
      width: 100%;
      max-width: 600px;
      transform: rotate(45deg);
      filter: drop-shadow(0 15px 20px rgba(0,0,0,0.35));
      animation: floatCamera 5s ease-in-out infinite;
    }

    @keyframes floatCamera {
      0%, 100% { transform: rotate(-10deg) translateY(0); }
      50% { transform: rotate(-10deg) translateY(-25px); }
    }

    /* ULTRA HD label */
    .ultrahd-label {
      position: absolute;
      top: 60%;
      left: -100px;
      transform: rotate(-4deg);
      font-size: 4rem;
      font-weight: 700;
      color: #fff;
      text-shadow: 3px 3px 8px rgba(0,0,0,0.4);
      pointer-events: none;
      white-space: nowrap;
      letter-spacing: 2px;
      font-family: var(--font-main);
    }

    /* Buy button styled as yellow ellipse */
    .buy-button {
      position: absolute;
      bottom: 4rem;
      right: 6rem;
      background: var(--accent-color);
      color: #111;
      font-weight: 700;
      padding: 1rem 2.5rem;
      border-radius: 50px;
      text-decoration: none;
      font-size: 1.1rem;
      z-index: 3;
      box-shadow: 0 8px 14px rgba(0,0,0,0.25);
      transition: transform 0.3s ease;
    }
    .buy-button:hover {
      transform: scale(1.08);
    }

    /* Responsive layout */
    @media (max-width: 992px) {
      .angled-bg {
        flex-direction: column;
        align-items: flex-start;
        padding: 3rem 2rem;
        transform: rotate(0deg);
      }
      .cream-accent {
        width: 100%;
        height: 120px;
        transform: rotate(0deg);
        border-radius: 0;
      }
      .text-left {
        transform: rotate(0deg);
        margin-bottom: 2rem;
        color: #222;
      }
      .camera-tilted {
        max-width: 350px;
        transform: rotate(-6deg);
        margin-top: -70px;
      }
      .ultrahd-label {
        font-size: 2.5rem;
        left: 0;
        top: 70%;
      }
      .buy-button {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        bottom: 2rem;
      }
    }

    /* animasi movement camera */
.floating-camera {
  transition: transform 0.8s ease-in-out;
  filter: drop-shadow(0 20px 25px rgba(0,0,0,0.4));
}

/* section 2 */
.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  background-color: #fdfaf6; /* soft beige background */
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 15px;
  color: #333;
}

.section p {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 25px;
  line-height: 1.6;
  color: #555;
}

.camera {
  z-index: 2;
  margin-bottom: 2rem;
}

.camera img {
  width: 100%;
  max-width: 800px;
  transform: scale(1.5);
  transform-origin: center;
  filter: drop-shadow(0 25px 18px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}

.camera {
  max-width: 40%;
  width: 100%;
  position: relative;
  animation: floatCamera 4.5s ease-in-out infinite;
  filter: drop-shadow(0 15px 18px rgba(0,0,0,0.3));
 
}

@keyframes floatCamera {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

.dotted-line {
  width: 80%;
  border: none;
  border-top: 2px dotted #aaa;
  margin: 10px 0;
}

.dotted-line2 {
  width: 80%;
  border: none;
  border-top: 2px dotted #aaa;
  margin-top: -70px;
}

.badge-new {
  position: absolute;
  top: 40px;
  right: 40px;
  background: #c47a2c;
  color: #fff;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
  .section h2 {
    font-size: 1.6rem;
  }
  .camera {
    max-width: 240px;
  }
  .badge-new {
    top: 20px;
    right: 20px;
    font-size: 0.8rem;
    padding: 5px 15px;
  }
  .dotted-line {
    width: 90%;
    margin: 20px 0;
  }
}

.camera2 {
  position: relative;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
  margin-bottom: 2rem;
}
.camera2 img {
  width: 100%;
  max-width: 800px;
  transform: scale(1.5);
  transform-origin: center;
  filter: drop-shadow(0 25px 18px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}


/* section capture */
.capture-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0; 
  background: var(--capture-light);
  min-height: 100vh;
    overflow: hidden;
    overflow-y: hidden;
}

.angled-bg-capture {
  position: relative;
  width: 100%;
  background: var(--bg-navy);
  transform: skewY(-3deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 40px;
  color: #fff;
   overflow-x: hidden; 
  overflow-y: hidden; 
}

.capture-title {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 900;
  letter-spacing: 3px;
  transform: rotate(-6deg);
  margin: 0;
  line-height: 1;
  z-index: 2;
  position: absolute;
  top: 6%;
  left: 10%;
}

.capture-layout {
  transform: skewY(6deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  width: 100%;
  margin-top: 40px; 
  padding-bottom: 20px; 
}

.capture-image-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: -100px;
  overflow: hidden;
}

.camera-capture {
  max-width: 520px; 
  width: 100%;
  transform: rotate(10deg);
  filter: var(--drop-shadow-capture);
  animation: floatCameraCapture 5s ease-in-out infinite;
}

@keyframes floatCameraCapture {
  0%, 100% { transform: rotate(10deg) translateY(0); }
  50% { transform: rotate(10deg) translateY(-25px); }
}

/* --- Text & Button below image --- */
.capture-text-group {
  position: relative;
  margin-top: 20px;
  margin-bottom: 40px;
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-light);
  z-index: 3;
  margin-top: 20px;
}

.capture-subtext {
  flex: 1;
  max-width: 50%;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-left: 8%;
  color: var(--capture-light-white);
}

.explore-button {
  background-color: var(--accent-color);
  color: var(--capture-gray);
  font-weight: bold;
  font-size: 1rem;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s ease;
  margin-right: 8%;
}

.explore-button:hover {
  transform: scale(1.1);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .capture-title {
    font-size: 4rem;
    top: 12%;
    left: 8%;
  }

  .camera-capture {
    max-width: 400px;
  }

  .capture-subtext {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .capture-section {
    padding: 60px 0;
  }

  .angled-bg-capture {
    transform: skewY(-4deg);
  }

  .capture-title {
    font-size: 2.6rem;
    top: 8%;
    left: 10%;
  }

  .capture-layout {
    transform: skewY(4deg);
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
  }

  .camera-capture {
    max-width: 280px;
  }

  .capture-text-group {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 20px;
  }

  .capture-subtext {
    max-width: 90%;
    margin: 0 auto 20px;
  }

  .explore-button {
    margin: 0 auto;
  }
}

/* testimonial section */
.testimonial-section {
  background: var(--bg-color);
  color: var(--text-color);
  padding: 80px 20px;
  text-align: center;
}

.testimonial-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.quote-top,
.quote-bottom {
  font-size: 2rem;
  color: var(--quote-color);
  margin-bottom: 20px;
}

.quote-top {
  border-top: var(--border-dash);
  padding-top: 20px;
}

.quote-bottom {
  border-bottom: var(--border-dash);
  padding-bottom: 20px;
}

.testimonial-content img.testimonial-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  padding: 0 20px;
}

.testimonial-author {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  border-top: var(--border-dash-bold);
  padding-top: 20px;
}

.testimonial-nav button {
  background: var(--accent-yellow);
  color: var(--text-dark);
  border: none;
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.testimonial-nav button:hover {
  background: #f1c40f;
}

#testimonial-index {
  font-size: 0.9rem;
  color: var(--text-color);
}

/* footer */
.footer-section {
  position: relative;
  background: var(--bg-brown);
  color: var(--text-gray-light);
  overflow: hidden;
}

/* Miringkan latar dengan transform */
.footer-bg-skew {
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 180px;
  background: var(--bg-brown);
  transform: rotate(-4deg) translateY(-40px);
  transform-origin: top right;
  z-index: 0;
}

/* Konten tetap tegak */
.footer-skew {
  position: relative;
  z-index: 1;
  padding: 140px 20px 100px;
}

/* Brand text */
.footer-brand {
  font-size: 5rem;
  font-weight: 900;
  color: var(--text-gray);
  text-shadow: var(--shadow-dark);
  margin-bottom: 40px;
  font-family: var(--font-main);
  letter-spacing: 4px;
}

/* Link grid */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  text-align: center;
}

.footer-links li a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: #fff;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.footer-social a {
  font-size: 1.4rem;
  color: #fff;
  transition: transform 0.3s ease;
}

.footer-social a:hover {
  transform: scale(1.2);
}

/* about section */
.about-section {
  background-color: var(--bg-green);
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.angled-bg-about {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}

.about-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.about-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.about-text-left,
.about-text-right {
  flex: 1 1 300px;
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
}

.about-image-wrapper {
  flex: 0 0 160px;
  display: flex;
  justify-content: center;
}

.about-camera {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

@media (max-width: 768px) {
  .about-section {
    min-height: 60vh;
    height: 60vh;
    padding: 2rem 1rem;
    background-color: var(--bg-green);
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: center;
    text-align: center;
  }

  .about-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #fff;
  }

  .about-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem; 
    width: 100%;
    max-width: 480px;
  }

  .about-text-left {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    color: #fff;
  }

  .about-camera {
    width: 320px;
    height: 200px;
    margin-top: -200px;
  }

  .about-text-right {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #fff;
    margin-top: -140px;
  }
}

/* contact section */
.contact-section {
  background-color: var(--bg-color);
  padding: 4rem 2rem;
  font-family: 'Unbounded', sans-serif;
}

.contact-container {
  max-width: 1080px;
  margin: 0 auto;
}

.contact-container h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.contact-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.contact-map {
  flex: 1 1 400px;
}

.contact-form {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-top: 1rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  background-color: #212529;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s ease;
  margin-top: 20px;
  font-family: var(--font-main);
  border: transparent;
}

.contact-form button:hover {
  background-color: #3458a0;
}

.error-message {
  color: var(--error-color);
  font-size: 0.85rem;
  margin-top: 0.3rem;
  display: none;
}

@media (max-width: 768px) {
  .contact-layout {
    flex-direction: column;
  }

  .contact-map iframe {
    height: 250px;
  }

  .contact-form{
    margin-top: -150px;
  }
}

/* product section */
.products-section {
  background: var(--bg-gray);
  padding: 4rem 2rem;
  text-align: center;
}

.products-title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.product-categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.category-btn {
  padding: 0.5rem 1rem;
  border: none;
  background: #ddd;
  cursor: pointer;
  border-radius: 20px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.category-btn.active {
  background: var(--accent-color);
  color: #444;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  justify-content: center;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  width: 100%;
  max-width: 280px;
  height: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.product-card:hover {
  transform: scale(1.02);
}

.product-card img {
  width: 100%;
  border-radius: 8px;
}

.product-info {
  margin-top: 1rem;
}

.product-name {
  font-weight: bold;
  font-size: 1rem;
}

.product-price {
  color: #666;
  font-size: 0.9rem;
}

.heart-icon {
  position: absolute;
  top: 12px;
  right: 22px;
  font-size: 1.4rem;
  cursor: pointer;
  color: #000;
  background-color: #fff;
  padding: 6px 8px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.heart-icon:hover {
  border-color: var(--accent-color);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.heart-icon.loved {
  color: red;
  border-color: red;
}

.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--toast-bg);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-size: 0.9rem;
  display: none;
  z-index: 999;
}

@media (max-width: 796px) {
  .products-section {
    padding: 2rem 1rem;
  }

  .products-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .product-categories {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .category-btn {
    width: 60%;
    max-width: 120px;
    font-size: 0.9rem;
  }

  .product-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .product-card {
    max-width: 90%;
    padding: 1rem;
  }

  .product-card img {
    height: auto;
    max-height: 180px;
  }

  .product-name {
    font-size: 0.95rem;
  }

  .product-price {
    font-size: 0.85rem;
  }

  .heart-icon {
    top: 10px;
    right: 10px;
    font-size: 1.2rem;
    padding: 5px 7px;
  }

  .toast {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 796px) {
  .products-section {
    padding: 2rem 1rem;
  }

  .products-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .product-categories {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .category-btn {
    width: 60%;
    max-width: 120px;
    font-size: 0.9rem;
  }

  .product-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .product-card {
    max-width: 90%;
    padding: 1rem;
  }

  .product-card img {
    height: auto;
    max-height: 180px;
  }

  .product-name {
    font-size: 0.95rem;
  }

  .product-price {
    font-size: 0.85rem;
  }

  .heart-icon {
    top: 10px;
    right: 10px;
    font-size: 1.2rem;
    padding: 5px 7px;
  }

  .toast {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
}

/* Modal */
.product-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  animation: slideIn 0.4s ease forwards;
  position: relative;
  text-align: center;
}

.modal-image-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.modal-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.close-modal {
  position: absolute;
  top: 7px;
  right: 16px;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
}

.close-modal:hover {
  color: red;
}

.modal-content {
  position: relative;
  padding: 2rem;
  padding-bottom: 4rem; 
}

.buy-button2 {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: var(--accent-color, #F5DF4E);
  color: #000;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

@media (max-width: 796px) {
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    justify-content: center;
    padding: 0 1rem;
  }

  .camera2{
    width: 80%;
  }

  .product-card {
    margin: 0 auto;
    max-width: 260px;
  }

  .product-categories {
    flex-direction: row;
    align-items: center;
  }
}



@media (max-width: 768px) {

  .hero {
    height: 65vh;
    min-height: 65vh;
    padding: 24px 1rem 16px;
    margin-top: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    position: relative;
  }

  .hero-rectangle {
    width: 95%;
    padding: 28px 16px 36px;
    box-sizing: border-box;
    min-height: auto;
    position: relative;
    margin-top: 50px;
  }

  .hero-rectangle h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .yellow-circle {
    width: 80px;
    height: 80px;
    margin: 32px auto 0;
  }

  .corner-text-left,
  .corner-text-right {
    font-size: 0.75rem;
    margin-top: 1rem;
    text-align: center;
  }

  .hero-anchor {
    top: 66%;
  }

  .camera-tilted {
    max-width: 240px;
    transform: rotate(-5deg);
    margin-top: -380px;
  }

  .promo-anchor {
    top: 40%;
    left: 58%;
    width: 180px;
    height: 140px;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .corner-text-left{
    margin-bottom: 1rem;  
  }

  .hero-rectangle h1{
    margin-top: -200px;
  }

  .yellow-circle{
    margin-top: 100px;
    left: 35%;
  }
}



@media (max-width: 360px) {
  .promo-section {
    height: 65vh !important;
    min-height: 65vh !important;
  }

}

@media (max-width: 384px) {
  .promo-section {
    height: 55vh !important;
    min-height: 55vh !important;
  }

    .hero-rectangle h1 {
    margin-top: -140px;
  }

}

@media (max-width: 796px) {
  .promo-section {
    padding: 2rem 1rem;
    height: 50vh;
    min-height: 50vh;
    overflow: hidden;
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .angled-bg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    position: relative;
  }

  .cream-accent {
    display: none;
  }

  .text-left {
    text-align: center;
    margin-top: 20px;
    padding: 0 1rem;
    color: #fff;
    z-index: 2;
  }

  .text-left h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    margin-top: -60px;
  }

  .text-left .note {
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    opacity: 0.85;
  }

  .camera-wrapper {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
  }

  .background-frame {
    max-width: 240px;
  }

  .ultrahd-label {
    font-size: 1.6rem;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    z-index: 3;
  }

  .stats {
    text-align: center;
    margin-top: 10rem;
    color: #fff;
    z-index: 2;
  }

  .stats h1 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
  }

  .stats p {
    font-size: 0.8rem;
    opacity: 0.85;
  }

  .buy-button {
  position: absolute;
  top: 35%;                     
  left: 6%;                      
  transform: translateY(-50%);
  background: var(--accent-color);
  color: #111;
  font-weight: 700;
  font-size: 1rem;
  width: 90px;
  height: 36px;
  line-height: 36px;             
  text-align: center;           
  border-radius: 50px;
  text-decoration: none;
  z-index: 10;
  box-shadow: 0 8px 14px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
  white-space: nowrap;
  padding: 0px;
}

  .footer-brand {
    font-size: 2.4rem !important; /* mobile view */
    letter-spacing: 1.5px !important;
    margin-bottom: 24px !important;
  }

  .capture-section{
    height: 55vh !important;
    min-height: 55vh !important;
  }

}

@media (max-width: 375px) {

  .hero {
    min-height: 65vh !important;
    height: 65vh !important;
  }

}

@media (max-width: 390px) {
  .hero {
    min-height: 70vh !important;
    height: 70vh !important;
  }
}

@media (device-width: 1024px) and (device-height: 768px) {
  .hero {
    min-height: 60vh !important;
    height: 60vh !important;
  }

  .ultrahd-label{
    margin-top: 210px;
  }

  .buy-button{
    margin-top: 70px !important;
  }
  .hero-rectangle {
    width: 100% !important;
    max-width: 720px !important;
  }

   .promo-section{
     min-height: 200% !important;
    height: 200% !important;
  }

  .section{
    min-height: 73vh !important;
    height: 73vh !important;
  }

  .capture-section{
    min-height: 70vh !important;
    height: 70vh !important;
  }
}



@media (device-width: 932px) and (device-height: 768px) {
  .hero {
    min-height: 60vh !important;
    height: 60vh !important;
  }

  .hero-rectangle {
    width: 100% !important;
    max-width: 720px !important;
  }

  .promo-section{
     min-height: 80vh !important;
    height: 80vh !important;
  }

  .section{
    min-height: 90vh !important;
    height: 90vh !important;
  }

  .capture-section{
    min-height: 70vh !important;
    height: 70vh !important;
  }
}



@media (device-width: 932px) and (device-height: 430px) {
  .hero {
    min-height: 100vh !important;
    height: 100vh !important;
  }

  .hero-rectangle {
    width: 100% !important;
    max-width: 720px !important;
  }

  .promo-section{
     min-height: 150vh !important;
    height: 150vh !important;
  }

  .section{
    min-height: 150vh !important;
    height: 150vh !important;
  }

  .capture-section{
    min-height: 150vh !important;
    height: 150vh !important;
  }
}


@media (device-width: 375px) and (device-height: 667px) {
  .hero {
    min-height: 80vh !important;
    height: 80vh !important;
  }

  .promo-section {
    min-height: 70vh !important;
    height: 70vh !important;
  }
}

@media (max-width: 428px) {

  .hero {
    min-height: 60vh ;
    height: 60vh ;
  }

.promo-section {
    min-height: 53vh ;
    height: 53vh ;
  }
}

@media (max-width: 414px) {

  .hero {
    min-height: 65vh ;
    height: 65vh ;
  }

.promo-section {
    min-height: 53vh ;
    height: 53vh ;
  }
}



@media (max-width: 810px) {
.hero {
    min-height: 60vh ;
    height: 60vh ;
  }

  .section{
    min-height: 50% !important;
    height: 50% !important;
  }
}


@media (max-width: 360px) {
.hero {
    min-height: 80vh !important;
    height: 80vh !important;
  }

  .hero-rectangle {
    width: 100%;
    max-width: 720px;
  }

  .promo-section{
     min-height: 70vh !important;
    height: 70vh !important;
  }

  .section{
    min-height: 65vh !important;
    height: 65vh !important;
  }
  
  .ultrahd-label{
    margin-top: -10px !important;
  }
  .buy-button{
    left: 120px;
    top: 420px;
  
  }
  .capture-section{
    min-height: 130% !important;
    height: 130% !important;
  }
}


@media (max-width: 412px) {
.hero {
    min-height: 60vh ;
    height: 60vh ;
  }

  .hero-rectangle {
    width: 100%;
    max-width: 720px;
  }

  .promo-section{
     min-height: 200% !important;
    height: 200% !important;
  }

  .section{
    min-height: 130% !important;
    height: 130% !important;
  }
  
  .ultrahd-label{
    margin-top: 0px !important;
  }
  .buy-button{
    left: 140px;
    top: 420px;
  
  }
  .capture-section{
    min-height: 130% !important;
    height: 130% !important;
  }
}

@media (min-width: 933px) and (max-width: 1024px) {
.hero {
    min-height: 120% !important;
    height: 120% !important;
  }

  .hero-rectangle {
    width: 100%;
    max-width: 720px;
  }

  .promo-section{
     min-height: 200% ;
    height: 200% ;
  }

  .section{
    min-height: 130% !important;
    height: 130% !important;
  }
  
  .ultrahd-label{
    margin-top: 230px !important;
  }
  .buy-button{
    left: 320px;
  
  }
  .capture-section{
    min-height: 130% !important;
    height: 130% !important;
  }
}


@media (min-width: 933px) and (max-width: 1024px) {

.camera {
  margin-top: -150px;
}

.camera2{
  width: 50%;
}

  .hero {
    min-height: 70vh;
    height: 70vh;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    position: relative;
  }

  .hero-rectangle {
    width: 100%;
    max-width: 720px;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
    position: relative;
    background-color: var(--rectangle-bg);
    border-radius: 16px;
    margin-top: -20px;
  }

  .hero-rectangle h1 {
    font-size: 2rem;
    margin-bottom: 14rem;
    text-align: center;
    color: var(--text-dark);
    
  }

  .yellow-circle {
    width: 100px;
    height: 100px;
    margin: 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    background-color: var(--accent-color);
    border-radius: 50%;
    text-decoration: none;
    color: #111;
    font-weight: 600;
  }

  .corner-text-left,
  .corner-text-right {
    font-size: 0.85rem;
    margin-top: 1rem;
    text-align: center;
    color: var(--text-muted);
  }

  .hero-anchor {
    top: 60%;
  }

  #floatingCamera {
    width: 60vw;
    max-width: 320px;
    transform: translate(-50%, -50%) rotate(-3deg);
  }
}

@media (min-width: 810px) and (max-width: 1080px) {
  .promo-section {
    padding: 3rem 2rem;
    height: 55vh;
    min-height: 55vh;
    background-color: var(--bg-promo);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
  }

  .angled-bg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    position: relative;
  }

  .cream-accent {
    display: none; 
  }

  .text-left {
    text-align: center;
    margin-top: 2rem;
    padding: 0 1rem;
    color: #fff;
    z-index: 2;
  }

  .text-left h2 {
    font-size: 2rem;
    margin-bottom: 15rem auto !important;
    margin-top: -60px;

  }

  .text-left .note {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    opacity: 0.85;
  }

  .stats {
    text-align: center;
    margin-top: -1.5rem;
    color: #fff;
    z-index: 2;
  }

  .stats h1 {
    font-size: 2.4rem;
    margin-bottom: 0.3rem;
  }

  .stats p {
    font-size: 0.9rem;
    opacity: 0.85;
  }

  .camera-wrapper {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
  }

  .background-frame {
    max-width: 320px;
  }

  .ultrahd-label {
    font-size: 2rem;
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    z-index: 3;
  }

  .buy-button {
    position: relative;
    margin-top: 2rem;
    font-size: 1rem;
    width: 100px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: var(--accent-color);
    color: #111;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    z-index: 4;
    box-shadow: 0 8px 14px rgba(0,0,0,0.25);
    padding:0;
  }
}

@media (min-width: 810px) and (max-width: 1080px) {
  .section{
    height: 50vh;
    min-height: 50vh;
  }
}

@media (min-width: 810px) and (max-width: 1080px) {
  .capture-section{
    height: 55vh;
    min-height: 55vh;
  }
}

/* cart */
.cart-icon {
  font-size: 1.4rem;
      cursor: pointer;
}

.cart-popup {
  position: fixed;
  top: 80px;
  right: 20px;
  background: rgba(0, 0, 0, 0.85);
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 999;
  display: none;
  max-width: 280px;
  color: #fff;
}

.cart-popup-content h3 {
  margin-top: 0;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

#cartItems {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}

#cartItems li {
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

#cartItems img {
  width: 60px;
  height: auto;
  margin-right: 10px;
  border-radius: 4px;
  object-fit: cover;
}

#closeCart {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 0.9rem;
  border-radius: 4px;
}

    .cart {
      font-size: 1.4rem;
      cursor: pointer;
    }