/* Base */
body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background: #FFFFFF;
  color: #1F2937;
}
main { min-height: 100vh; }

/* Navbar Base */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-image: url('resources/images/image4.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 58, 138, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  color: #1E3A8A;
  text-shadow: 1px 1px 0 rgba(255,255,255,0.4);
}

/* Navigation */
.nav-menu ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  position: relative;
  color: #1E3A8A;
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -4px;
  background-color: #2563EB;
  transition: width 0.3s ease;
}
.nav-menu a:hover {
  color: #2563EB;
}
.nav-menu a:hover::after {
  width: 100%;
}

/* Hamburger (Mobile only) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 20;
}
.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #1E3A8A;
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile Menu (hidden by default) */
@media (pointer: coarse) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
    visibility: hidden;
    opacity: 0;
  }

  .nav-menu.open {
    max-height: 300px;
    visibility: visible;
    opacity: 1;
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 2rem;
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    width: 100%;
    display: block;
    padding: 0.5rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: #1E3A8A;
  }
}


/* Desktop only */
@media (min-width: 769px) {
  .nav-menu {
    display: flex;
  }
}



/* Hero with Video Background */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: white;
}
.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}
.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
  color: #f0f0f0;
}
.shop-button {
  background: #3B82F6;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s;
}
.shop-button:hover {
  background: #2563EB;
}

/* Product Section */
.product-feature {
  display: flex; flex-wrap: wrap; background: white;
}
.product-image, .product-details {
  flex: 1; padding: 3rem;
}
.product-image img {
  width: 100%; max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.product-details h2 {
  font-size: 2.5rem; color: #1E3A8A; margin-bottom: 1rem;
}
.product-details .description {
  color: #4B5563; font-size: 1.1rem; margin-bottom: 1.5rem;
}

/* Size Selector */
.size-options {
  margin-bottom: 1.5rem;
}
.size-label {
  font-weight: 600;
  color: #1E3A8A;
  display: block;
  margin-bottom: 0.5rem;
}
.size-buttons {
  display: flex;
  gap: 1rem;
}
.size-button {
  padding: 0.5rem 1.25rem;
  border: 2px solid #2563EB;
  background: white;
  color: #2563EB;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.size-button.active {
  background: #2563EB;
  color: white;
}
.price-display {
  margin-top: 0.75rem;
  font-size: 1.25rem;
  font-weight: bold;
  color: #1E3A8A;
}

/* Buy Now */
.buy-now {
  background: #2563EB;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s;
  display: inline-block;
  margin-bottom: 2rem;
}
.buy-now:hover {
  background: #1D4ED8;
}

/* Accordion */
.accordion {
  margin-top: 2rem;
}
.accordion-item {
  border-top: 1px solid #E5E7EB;
}
.accordion-header {
  width: 100%;
  padding: 1rem 0;
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  background: none;
  border: none;
  color: #1E3A8A;
  cursor: pointer;
}
.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.accordion-content p,
.accordion-content ul {
  padding: 0 0 1rem 0;
  color: #4B5563;
}
.accordion-content ul {
  padding-left: 1.5rem;
  list-style: disc;
}

/* Why DEMORS Section */
.features {
  padding: 4rem 2rem;
  background: linear-gradient(to bottom right, #f0f9ff, #e0f2fe);
  text-align: center;
}
.features h3 {
  font-size: 2.25rem; color: #1E3A8A; margin-bottom: 3rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: 280px; gap: 1.5rem;
}
.feature-card {
  background: white; border-radius: 8px; padding: 2rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  display: flex; flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.feature-icon {
  width: 36px; height: 36px;
  color: #3B82F6; margin-bottom: 1rem;
}
.feature-card h4 {
  font-size: 1.5rem; color: #1E3A8A; margin-bottom: 0.5rem;
}
.feature-card p {
  color: #4B5563; font-size: 1rem;
}
.feature-card .highlight {
  font-size: 0.95rem; font-style: italic; color: #6B7280;
}
.feature-card.wide {
  grid-column: span 2;
}
.feature-card.tall {
  grid-row: span 2;
}
.feature-card.rectangular {
  grid-column: span 2;
}

/* Testimonials */
.testimonials {
  padding: 4rem 2rem; background: #EFF6FF; text-align:center;
}
.testimonials h3 {
  font-size:2rem; color:#1E3A8A; margin-bottom:2rem;
}
.testimonial-track {
  overflow: hidden;
}
.testimonial-slide {
  display:flex;
  animation:scroll-left 30s linear infinite;
}
.testimonial {
  background:white; border-radius:8px; padding:2rem;
  min-width:300px; margin:0 1rem;
  box-shadow:0 4px 14px rgba(0,0,0,0.05);
  font-style:italic;
}
.testimonial span {
  margin-top:1rem; display:block;
  font-weight:600; color:#4B5563;
}
@keyframes scroll-left {
  0%{transform:translateX(0);}
  100%{transform:translateX(-50%);}
}

/* Contact/Footer */
.contact-footer {
  padding:3rem 2rem; background:#1E3A8A; color:#FFFFFF;
}
.contact-footer-content {
  display:flex; justify-content:space-between;
  flex-wrap:wrap; gap:2rem; max-width:1000px; margin:auto;
}
.contact-info h3 {
  font-size:1.5rem; margin-bottom:1rem;
}
.contact-footer a {
  color:#BFDBFE; text-decoration:none;
}
.contact-footer a:hover {
  opacity:0.8;
}
.footer-info {
  font-size:.9rem; color:#D1D5DB;
}
.heart {
  color:#F87171;
}

/* Responsive */
@media(max-width:768px){
  .product-feature {flex-direction:column;}
  .feature-grid {grid-auto-rows:auto;}
  .feature-card.tall,
  .feature-card.wide,
  .feature-card.rectangular {
    grid-column:auto;
    grid-row:auto;
  }
}
