/* ============================================================
   GLOBAL RESET + BASE
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}

/* Light theme (default) */
:root {
  --bg: #f7f8fb;
  --bg-alt: #ffffff;
  --text: #111317;
  --text-sub: #5c6372;
  --border: #e3e6ee;
  --card-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

/* Dark theme */
[data-theme="dark"] {
  --bg: #0d0f12;
  --bg-alt: #14171c;
  --text: #f5f6f9;
  --text-sub: #8d95a6;
  --border: #2a2d34;
  --card-shadow: 0 20px 50px rgba(0,0,0,0.55);
}

img {
  max-width: 100%;
  display: block;
  border-radius: 16px;
}

.container {
  width: min(1200px, 92%);
  margin: auto;
}



/* ============================================================
   HEADER — Glass Floating
   ============================================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,0.72);
  padding: 16px 0;
  border-bottom: 1px solid rgba(200,205,220,0.4);
}

[data-theme="dark"] .header {
  background: rgba(20,20,20,0.65);
  border-bottom-color: rgba(255,255,255,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  height: 40px;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.15));
}


/* ======================= NAV (desktop) ======================= */

.nav ul {
  display: flex;
  gap: 28px;
}

.nav a {
  text-decoration: none;
  color: var(--text-sub);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 10px;
  transition: .25s;
}

.nav a:hover,
.nav a.active {
  background: rgba(0,0,0,0.06);
  color: var(--text);
}

[data-theme="dark"] .nav a:hover,
[data-theme="dark"] .nav a.active {
  background: rgba(255,255,255,0.08);
}


/* ======================= MOBILE MENU BUTTON ======================= */

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-btn span {
  height: 3px;
  border-radius: 3px;
  background: var(--text);
  width: 100%;
  transition: .3s;
}

@media (max-width: 900px) {
  .menu-btn { display: flex; }
  .nav { display: none; }
}



/* ======================= MOBILE MENU (fullscreen) ======================= */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-alt);
  backdrop-filter: blur(20px);
  padding-top: 120px;
  display: flex;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform .45s cubic-bezier(.16,.67,.43,1);
  z-index: 200;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-menu li {
  margin-bottom: 24px;
}

.mobile-menu a {
  text-decoration: none;
  font-size: 26px;
  color: var(--text);
  font-weight: 600;
}



/* ============================================================
   HERO — Cinematic Gradient Hero (No Images)
   ============================================================ */

.hero {
  position: relative;
  padding: 160px 0 180px;
  overflow: hidden;
}

/* soft cinematic gradient */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 30%,
    #e6ebff 0%,
    #f7f8fb 55%,
    #f7f8fb 100%
  );
  z-index: -1;
  opacity: 1;
}

[data-theme="dark"] .hero::before {
  background: radial-gradient(circle at 40% 30%,
    #1a1b25 0%,
    #0d0f12 80%,
    #0d0f12 100%
  );
}

.hero-inner {
  max-width: 760px;
}

.hero-title {
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -1px;
}

.hero-title span {
  color: #2f7dff;
}

[data-theme="dark"] .hero-title span {
  color: #7aa7ff;
}

.hero-subtitle {
  font-size: 20px;
  max-width: 550px;
  color: var(--text-sub);
  margin-bottom: 36px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 18px;
}



/* ============================================================
   BUTTONS — Minimal Premium
   ============================================================ */

.btn {
  padding: 14px 26px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: .25s;
}

.btn-primary {
  background: #2f7dff;
  color: white;
  box-shadow: 0 10px 30px rgba(47,125,255,.28);
}

.btn-primary:hover {
  background: #2363cc;
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(0,0,0,0.05);
}

[data-theme="dark"] .btn-ghost:hover {
  background: rgba(255,255,255,0.06);
}



/* ============================================================
   EDITORIAL TEXT SECTION
   ============================================================ */

.editorial {
  padding: 120px 0;
  text-align: center;
}

.editorial-title {
  font-size: 46px;
  margin-bottom: 14px;
  font-weight: 700;
}

.editorial-body {
  max-width: 660px;
  margin: auto;
  color: var(--text-sub);
  font-size: 20px;
  line-height: 1.65;
}



/* ============================================================
   IMAGE STRIP (Luxury Magazine Style)
   ============================================================ */

.image-strip {
  padding: 40px 0 120px;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.strip-grid img {
  height: 340px;
  object-fit: cover;
  border-radius: 22px;
}

@media (max-width: 900px) {
  .strip-grid {
    grid-template-columns: 1fr;
  }
  .strip-grid img {
    height: 260px;
  }
}



/* ============================================================
   EDITORIAL PRODUCT SECTIONS
   ============================================================ */

.showcase {
  padding: 40px 0 120px;
}

.section-heading {
  text-align: center;
  font-size: 40px;
  margin-bottom: 60px;
}

.editorial-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  margin-bottom: 110px;
  align-items: center;
}

.editorial-product.reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.editorial-product.reverse .editorial-text {
  direction: ltr;
}

.editorial-product img {
  height: 430px;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--card-shadow);
}

.editorial-text h3 {
  font-size: 30px;
  margin-bottom: 10px;
}

.editorial-text p {
  color: var(--text-sub);
  font-size: 18px;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .editorial-product,
  .editorial-product.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .editorial-product img {
    height: 260px;
  }
}



/* ============================================================
   VIDEO SECTION — Cinematic Wide Block
   ============================================================ */

.video {
  padding: 60px 0 140px;
  text-align: center;
}

.video-frame {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

@media (max-width: 600px) {
  .video-frame {
    height: 260px;
  }
}

.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  font-size: 30px;
  cursor: pointer;
  transition: .25s;
}

.video-play:hover {
  transform: scale(1.06);
}

.video-caption {
  margin-top: 16px;
  color: var(--text-sub);
}



/* ============================================================
   SUBSCRIBE SECTION
   ============================================================ */

.subscribe {
  background: var(--bg-alt);
  padding: 120px 0;
  text-align: center;
}

.subscribe-inner h2 {
  font-size: 38px;
}

.subscribe-inner p {
  color: var(--text-sub);
  margin-bottom: 24px;
}

.subscribe-form {
  max-width: 440px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
}

.subscribe-form input {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}

@media (max-width: 600px) {
  .subscribe-form {
    grid-template-columns: 1fr;
  }
}



/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: var(--bg-alt);
  padding: 70px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
}

footer h4 {
  margin-bottom: 12px;
}

footer a {
  color: #2f7dff;
  text-decoration: none;
  font-weight: 500;
}

.linkedin {
  color: #0077b5 !important;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: var(--text-sub);
}



/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */

.animate {
  opacity: 0;
  transform: translateY(45px);
  transition: 0.9s cubic-bezier(.16,.67,.36,1);
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}



/* ============================================================
   SECRET THEME TOGGLE HOTSPOT
   ============================================================ */

#themeHotspot {
  position: fixed;
  left: 14px;
  bottom: 14px;
  width: 40px;
  height: 40px;
  z-index: 500;
  opacity: 0;
  cursor: pointer;
}
/* ============================================================
   CONTACT FORM (Apple Support style)
   ============================================================ */

.contact-form-section {
  padding: 40px 0 140px;
}

.contact-form {
  background: var(--bg-alt);
  padding: 40px;
  border-radius: 28px;
  box-shadow: var(--card-shadow);
  display: grid;
  gap: 26px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 16px;
  color: var(--text);
  resize: none;
  transition: border .2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2f7dff;
}

@media (max-width: 700px) {
  .contact-form {
    padding: 28px;
  }
}
/* ============================================================
   SEARCH PAGE (Apple Spotlight style)
   ============================================================ */

.search-section {
  padding: 60px 0 140px;
}

.search-box {
  width: 100%;
  max-width: 520px;
  margin: auto;
}

.search-box input {
  width: 100%;
  padding: 16px 22px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  font-size: 18px;
  color: var(--text);
  transition: .25s;
  box-shadow: var(--card-shadow);
}

.search-box input:focus {
  outline: none;
  border-color: #2f7dff;
}

.search-results {
  margin-top: 34px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.search-item {
  background: var(--bg-alt);
  padding: 16px 22px;
  border-radius: 16px;
  margin-bottom: 14px;
  box-shadow: var(--card-shadow);
}

.search-item a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
}

.no-results {
  color: var(--text-sub);
  text-align: center;
  margin-top: 14px;
}
/* ============================================================
   CART PAGE – Editorial Amazon Redirect
   ============================================================ */

.cart-section {
  padding: 40px 0 140px;
}

.cart-item {
  background: var(--bg-alt);
  padding: 32px;
  border-radius: 22px;
  margin-bottom: 30px;
  box-shadow: var(--card-shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.cart-info h3 {
  font-size: 26px;
  margin: 0 0 6px;
}

.cart-desc {
  margin: 0;
  color: var(--text-sub);
  font-size: 16px;
  line-height: 1.4;
}

.cart-note {
  margin-top: 30px;
  text-align: center;
  color: var(--text-sub);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-size: 17px;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .cart-item .btn {
    width: 100%;
    text-align: center;
  }
}
.video-modal-content {
  width: 92%;
  max-width: 840px;
  aspect-ratio: 4 / 3; /* MUCH taller than 16:9 */
  background: black;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0,0,0,0.45);
}
.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* important */
}
.video-frame {
  width: 100%;
  max-width: 840px;
  margin: auto;
  aspect-ratio: 4 / 3;  /* or 5/6 if you want the taller look */
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
/* ============================================================
   MOBILE OPTIMIZATION — ONLY for screens under 768px
   ============================================================ */

@media (max-width: 768px) {

  /* Make hero buttons smaller */
  .hero-actions .btn {
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 10px;
  }

  /* Reduce hero title/subtitle spacing */
  .hero-title {
    font-size: 34px !important;
  }
  .hero-subtitle {
    font-size: 16px !important;
    max-width: 90%;
  }

  /* PRODUCT IMAGES — Make smaller and centered */
  .editorial-product img {
    height: 200px !important; /* was 260px */
    margin-left: auto;
    margin-right: auto;
  }

  /* CENTER product blocks */
  .editorial-product,
  .editorial-product.reverse {
    text-align: center;
  }

  /* CENTER product text */
  .editorial-text {
    text-align: center;
  }

  /* CENTER product buttons */
  .editorial-text .btn {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    font-size: 15px;
    padding: 12px 0;
  }

  /* Reduce spacing between product blocks */
  .editorial-product {
    margin-bottom: 60px !important;
  }

  /* IMAGE STRIP — smaller */
  .strip-grid img {
    height: 180px !important; /* was 260px */
  }

  /* VIDEO FRAME — reduce height */
  .video-frame {
    aspect-ratio: 4 / 3 !important;
    border-radius: 14px !important;
  }

  /* SUBSCRIBE section spacing smaller */
  .subscribe {
    padding: 70px 0 !important;
  }

  /* Smaller subscribe input & button */
  .subscribe-form input,
  .subscribe-form button {
    padding: 12px !important;
    font-size: 15px !important;
  }

  /* FOOTER — turn horizontal (side by side) */
  footer .footer-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left !important;
    gap: 20px !important;
  }

  footer .footer-grid > div {
    width: 45%;
    min-width: 130px;
  }

  .footer-bottom {
    margin-top: 30px !important;
  }
}
/* ============================================================
   HORIZONTAL IMAGE SLIDER — PREMIUM MOBILE/WEB DESIGN
   ============================================================ */

.image-slider-section {
  padding: 40px 0 80px;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0 20px;
}

.image-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.image-slider::-webkit-scrollbar {
  display: none;
}

.image-slider img {
  height: 280px;
  width: auto;
  border-radius: 22px;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: var(--card-shadow);
}

/* SLIDER BUTTONS */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 44px;
  width: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: 0.25s;
}

.slider-btn:hover {
  background: rgba(255,255,255,1);
}

.slider-btn.left {
  left: 5px;
}

.slider-btn.right {
  right: 5px;
}


/* MOBILE TUNING */
@media (max-width: 768px) {
  .image-slider img {
    height: 220px;
  }
  .slider-btn {
    height: 38px;
    width: 38px;
    font-size: 20px;
  }
}
/* ============================================================
   UNIVERSAL PRODUCT SLIDER
   ============================================================ */

.product-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}

.ps-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 0;
}

.ps-track::-webkit-scrollbar {
  display: none;
}

.product-slider img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  flex-shrink: 0;
}

.ps-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 42px;
  width: 42px;
  border-radius: 50%;
  border: none;
  font-size: 22px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(6px);
  cursor: pointer;
  z-index: 10;
}

.ps-btn.left  { left: 10px; }
.ps-btn.right { right: 10px; }

@media (max-width: 768px) {
  .product-slider img {
    height: 220px;
  }
  .ps-btn {
    height: 36px;
    width: 36px;
  }
}
/* ============================================================
   PRODUCT MINI SLIDER (Homepage)
   ============================================================ */

.product-slider {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 22px;
}

.product-images {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.product-images::-webkit-scrollbar {
  display: none;
}

.product-images img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 22px;
  flex-shrink: 0;
}

/* ARROWS */
.prod-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 42px;
  width: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-size: 22px;
  cursor: pointer;
  z-index: 20;
  transition: 0.25s ease;
}

.prod-arrow:hover {
  background: white;
}

.prod-arrow.left {
  left: 10px;
}

.prod-arrow.right {
  right: 10px;
}


/* MOBILE */
@media (max-width: 768px) {
  .product-images img {
    height: 230px;
  }
  .prod-arrow {
    height: 34px;
    width: 34px;
    font-size: 18px;
  }
}
/* Prevent arrow buttons from flipping in reverse layouts */
.editorial-product.reverse .product-slider {
  direction: ltr;
}
/* ============================================================
   SINGLE PHOTO VIEWER WITH TOGGLE BUTTONS
   ============================================================ */

.product-photo {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto 20px;
}

.product-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--card-shadow);
}

.photo-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 42px;
  width: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  cursor: pointer;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 30;
}

.photo-btn.left {
  left: 8px;
}

.photo-btn.right {
  right: 8px;
}

@media (max-width: 768px) {
  .product-photo img {
    height: 230px;
  }
  .photo-btn {
    height: 34px;
    width: 34px;
    font-size: 18px;
  }
}
/* ============================================================
   MOBILE — Make product images square
   ============================================================ */
@media (max-width: 768px) {

  .product-photo img {
    width: 100%;
    aspect-ratio: 1 / 1 !important;   /* Square */
    height: auto !important;
    object-fit: cover !important;
  }

  /* Slightly adjust container if needed */
  .product-photo {
    max-width: 220px;     /* adjusts square size */
    margin: 0 auto 20px;  /* center */
  }
}
