:root {
  --red: #b22222;
  --orange: #cc5500;
  --green: #90ee90;
  --dark: #1a1a1a;
  --white: #ffffff;
  --tan: #faf9f6;
}

body {
  font-family: "Playfair Display", serif;
  background: var(--tan);
  margin: 0;
}

/* REUSABLE HEADER STYLES */
.main-header {
  background: rgba(26, 26, 26, 0.98);
  padding: 1.2rem 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--orange);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  color: white;
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 2px;
}
.logo span {
  color: var(--orange);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}
.nav-links a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.9rem;
  text-transform: uppercase;
}
.nav-links a:hover {
  color: var(--green);
}

/* CLICK DROPDOWN */
.dropdown-menu {
  display: none;
  position: absolute;
  background: var(--dark);
  min-width: 180px;
  top: 100%;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}
.dropdown-menu.show {
  display: block;
  border-top: 2px solid var(--red);
}
.dropdown-menu a {
  display: block;
  padding: 12px;
  border-bottom: 1px solid #333;
}

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 50px 5%;
}
@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.card {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  transition: 0.4s;
  border: 1px solid #eee;
  position: relative;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.price {
  color: var(--orange);
  font-weight: bold;
  font-size: 1.1rem;
}

/* FORMS & BUTTONS */
.btn-luxury {
  background: var(--red);
  color: white;
  border: none;
  padding: 12px 25px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
  text-transform: uppercase;
}
.btn-luxury:hover {
  background: var(--orange);
  letter-spacing: 1px;
}

/* MOBILE HAMBURGER VISIBILITY */
.hamburger {
  display: none; /* Hidden on desktop */
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;

  width: 100%;
  height: 3px;
  background: white; /* Visible color */
  margin-bottom: 5px;
  transition: 0.3s;
  border-radius: 2px;
}

/* Hamburger to 'X' animation when active */
.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(7px, -6px);
}

@media screen and (max-width: 992px) {
  .nav-links {
    /* Your existing styles... */
    overflow-y: auto; /* Allow scrolling if menu is long */
  }

  .dropdown-menu {
    position: static; /* Make it push content down instead of floating */
    width: 100%;
    box-shadow: none;
    background: #252525; /* Slightly lighter than the main nav background */
  }
}

/* ============================================================
   CONSOLIDATED RESPONSIVE STYLES (Mobile & Tablet)
   ============================================================ */

@media screen and (max-width: 992px) {
  /* 1. Header & Hamburger Visibility */
  .hamburger {
    display: block;
  }

  /* 2. Slide-out Menu Container */
  .nav-links {
    display: none; /* Hidden by default */
    flex-direction: column;
    position: fixed; /* Fixed is better for "Luxury" feel */
    top: 75px;
    left: 0;
    width: 100%;
    height: calc(100vh - 75px);
    background: var(--dark);
    padding: 40px 0;
    overflow-y: auto;
    z-index: 1000;

    /* CENTER EVERYTHING */
    align-items: center;
    text-align: center;
    transition: 0.5s;
  }

  .nav-links.active {
    display: flex;
    animation: slideIn 0.3s ease forwards;
  }

  /* 3. Navigation Items */
  .nav-item {
    width: 100%;
    margin-bottom: 25px;
  }

  .nav-item a {
    display: inline-block;
    font-size: 1.2rem;
    letter-spacing: 2px;
  }

  /* 4. DROPDOWN FIX (Centering the list) */
  .dropdown-menu {
    position: static; /* Important: Pushes content down */
    width: 100%;
    background: #252525;
    box-shadow: none;
    padding: 0;
    margin-top: 10px;
    border-top: none;
    border-left: none; /* Remove side borders to keep it clean */
  }

  .dropdown-menu.show {
    display: block; /* Triggered by JS */
  }

  .dropdown-menu a {
    display: block;
    padding: 15px 0;
    text-align: center; /* Centers the text inside the dropdown */
    border-bottom: 1px solid #333;
    font-size: 1rem;
    color: #aaa;
    text-transform: capitalize;
  }
}

/* Specific logic for very small phones */
@media (max-width: 480px) {
  .logo {
    font-size: 1.2rem;
  }
  .luxury-title {
    font-size: 2rem;
  }
}

/* Animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .hamburger {
    display: block; /* Show on mobile/tablet */
  }
}

/* MOBILE HAMBURGER */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 75px;
    right: -100%;
    flex-direction: column;
    background: var(--dark);
    width: 100%;
    height: 100vh;
    padding: 40px;
    transition: 0.5s;
  }
  .nav-links.active {
    right: 0;
  }
}

/* Universal Responsive Toggle */
@media screen and (max-width: 992px) {
  .nav-links {
    display: none; /* Hidden by default */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--dark);
    padding: 20px 0;
  }

  .nav-links.active {
    display: flex; /* Shown when hamburger clicked */
    animation: slideIn 0.3s ease-forward;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* DETAAILS.HTML */
/* Product Details Specifics */
.product-details-container {
  padding: 120px 5% 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.details-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

@media (max-width: 768px) {
  .details-wrapper {
    grid-template-columns: 1fr;
  }
}

.details-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.breadcrumb {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.luxury-title {
  font-size: 3rem;
  color: var(--dark);
  margin-bottom: 10px;
  border-left: 5px solid var(--red);
  padding-left: 20px;
}

.details-price {
  font-size: 2rem;
  color: var(--orange);
  font-weight: bold;
  margin-bottom: 20px;
}

.details-description {
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--red);
  margin: 10px auto;
}

.related-section {
  padding: 60px 5%;
  background: #fff;
}
/* Make product cards feel interactive */
.card img,
.card h4 {
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.card img:hover {
  transform: scale(1.05); /* Slight zoom on image */
}

.card h4:hover {
  color: var(--orange); /* Text turns Burnt Orange on hover */
  text-decoration: underline;
}

.product-grid {
  cursor: default;
}

/* CHECKOUT */
/* Checkout Specifics */
.checkout-container {
  padding: 120px 5% 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.checkout-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}

@media (max-width: 900px) {
  .checkout-wrapper {
    grid-template-columns: 1fr;
  }
}

.checkout-form {
  background: white;
  padding: 30px;
  border-radius: 8px;
  border-top: 4px solid var(--red);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.luxury-heading {
  font-size: 2rem;
  margin-bottom: 5px;
}

.form-subtext {
  color: #666;
  margin-bottom: 25px;
  font-style: italic;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--dark);
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fdfdfd;
  font-size: 1rem;
}

.order-summary-box {
  background: var(--dark);
  color: white;
  padding: 30px;
  border-radius: 8px;
  height: fit-content;
}

.summary-title {
  border-bottom: 1px solid var(--orange);
  padding-bottom: 15px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #ccc;
}

.summary-totals {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px dashed #444;
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.grand-total {
  font-size: 1.3rem;
  font-weight: bold;
  margin-top: 10px;
}

.btn-block {
  width: 100%;
  margin-top: 20px;
  font-size: 1.1rem;
  padding: 15px;
}

.cart-item-row button:hover {
  transform: scale(1.1);
  color: var(
    --orange
  ) !important; /* Changes from Pepper Red to Burnt Orange on hover */
}

/* footer */
/* FOOTER STYLING */
#footer-placeholder {
  background: #1a1a1a; /* Deep luxury dark */
  color: #ffffff;
  padding: 80px 5% 20px;
  margin-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Mobile Responsive Footer */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.footer-logo span {
  color: var(--orange); /* Burnt Orange */
}

.footer-tagline {
  color: #aaaaaa;
  line-height: 1.6;
  margin-bottom: 25px;
  font-style: italic;
}

.footer-heading {
  color: var(--green); /* Light Green */
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 25px;
  position: relative;
}

.footer-heading::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--red); /* Pepper Red line */
  margin-top: 10px;
}

@media (max-width: 768px) {
  .footer-heading::after {
    margin: 10px auto;
  }
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--orange);
  padding-left: 5px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

@media (max-width: 768px) {
  .footer-socials {
    justify-content: center;
  }
}

.footer-socials a {
  width: 40px;
  height: 40px;
  background: #333;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  text-decoration: none;
}

.footer-socials a:hover {
  background: var(--red);
  transform: translateY(-5px);
}

.contact-item {
  color: #aaaaaa;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.contact-item i {
  color: var(--orange);
  margin-right: 10px;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

.accent-text {
  color: var(--green);
}

/* COMING SOON */
/* COMING SOON PAGE STYLES */
.coming-soon-wrapper {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.8)),
    url("https://images.unsplash.com/photo-1516714435131-44d6b64dc6a2?q=80&w=2070");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 0 5%;
}

.coming-soon-content {
  max-width: 700px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 4px;
}

.luxury-icon {
  font-size: 3rem;
  color: var(--orange);
  margin-bottom: 20px;
}

.coming-soon-wrapper .luxury-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  border: none; /* Override the left-border from details page */
  padding: 0;
}

.coming-soon-wrapper .accent {
  color: var(--green);
}

.coming-soon-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ddd;
  margin-bottom: 30px;
}

.brand-divider {
  width: 80px;
  height: 3px;
  background: var(--red);
  margin: 0 auto 30px;
}

.cta-subtext {
  font-style: italic;
  margin-bottom: 20px;
  color: #bbb;
}

/* ABOUT */
/* ABOUT PAGE SPECIFICS */
.about-hero {
  height: 50vh;
  background: url("https://images.unsplash.com/photo-1534790545191-62847762731a?q=80&w=2071");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 40px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.accent-orange {
  color: var(--orange);
}

.about-content {
  padding: 80px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr;
  }
}

.story-text p {
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.accent-line {
  width: 50px;
  height: 4px;
  background: var(--red);
  margin-bottom: 25px;
}

.story-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 20px 20px 0px var(--green); /* Luxury accent offset */
}

.brand-values {
  background: var(--dark);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 80px 5%;
  text-align: center;
  color: white;
}

@media (max-width: 768px) {
  .brand-values {
    grid-template-columns: 1fr;
  }
}

.value-card i {
  font-size: 2.5rem;
  color: var(--orange);
  margin-bottom: 20px;
}

.value-card h3 {
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.value-card p {
  color: #bbb;
  font-size: 0.9rem;
}

/* CONTACT */
/* CONTACT PAGE STYLES */
.contact-container {
  padding: 120px 5% 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header p {
  color: #666;
  font-style: italic;
  margin-top: 10px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Info Panel (Left) */
.contact-info-panel {
  background: var(--dark);
  color: white;
  padding: 50px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 35px;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--orange);
  margin-top: 5px;
}

.info-item h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--green);
}

.info-item p {
  color: #ccc;
  font-size: 0.95rem;
}

.social-connect {
  margin-top: 50px;
  border-top: 1px solid #333;
  padding-top: 30px;
}

.social-icons-row {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons-row a {
  color: white;
  font-size: 1.2rem;
  transition: 0.3s;
}

.social-icons-row a:hover {
  color: var(--red);
}

/* Form Panel (Right) */
.contact-form-panel {
  padding: 50px;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .input-row {
    grid-template-columns: 1fr;
  }
}

.contact-form-panel .input-group {
  margin-bottom: 25px;
}

.contact-form-panel label {
  display: block;
  font-weight: bold;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--dark);
}

.contact-form-panel input,
.contact-form-panel textarea,
.contact-form-panel select {
  width: 100%;
  padding: 15px;
  border: 1px solid #eee;
  background: #fafafa;
  border-radius: 4px;
  font-family: inherit;
}

.contact-form-panel input:focus {
  border-color: var(--orange);
  outline: none;
}

/* footer again*/
.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.8;
}

.developer-credit {
  margin-top: 5px;
  letter-spacing: 1px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.developer-credit a {
  color: var(--orange); /* Uses your brand Burnt Orange */
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.developer-credit a:hover {
  color: var(--green); /* Highlights Light Green on hover */
  text-decoration: underline;
}

/* hhhhhhhhhhhhhhhhh */
/* DESKTOP VIEW (Default) */
.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.item-main,
.item-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f4f4f4;
  padding: 5px 10px;
  border-radius: 5px;
}

.qty-controls button {
  border: none;
  background: none;
  cursor: pointer;
  font-weight: bold;
  padding: 0 5px;
}

/* MOBILE VIEW (The Fix for the right-side space) */
@media screen and (max-width: 600px) {
  .cart-item-row {
    flex-direction: column; /* Stacks Group 1 on top of Group 2 */
    align-items: flex-start;
    gap: 15px;
    position: relative;
  }

  .item-main {
    width: 100%;
  }

  .item-actions {
    width: 100%;
    justify-content: space-between; /* Spreads controls and subtotal across the width */
    gap: 10px;
  }

  .item-total-price {
    min-width: unset; /* Allows it to shrink */
    flex-grow: 1;
    text-align: center;
  }

  .btn-remove {
    position: absolute;
    top: 20px;
    right: 0;
  }
}

/* review */
.reviews-section {
  padding: 80px 5%;
  background: var(--tan);
  text-align: center;
}

.testimonial-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  min-height: 350px;
}

.testimonial-card {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transition: opacity 0.5s ease-in-out;
  border-top: 4px solid var(--orange);
}

.rev-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid var(--green);
}

.rev-text {
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

.rev-author {
  font-weight: bold;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rev-location {
  color: var(--orange);
  font-size: 0.9rem;
  display: block;
  margin-top: 5px;
}

/* Dots Navigation */
.testimonial-dots {
  margin-top: 30px;
}

.dot {
  height: 10px;
  width: 10px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  margin: 0 5px;
  transition: 0.3s;
  cursor: pointer;
}

.dot.active {
  background-color: var(--red);
  width: 25px;
  border-radius: 10px;
}

/* Fade Animation */
.fade-in {
  animation: fadeIn 1s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
