:root {
  --gold: #a1863e;
  --black: #0a0a0a;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --dark-gray: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 20px);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: clamp(0.5rem, 2vw, 1rem) 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 20px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
}

.nav-logo h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: clamp(1rem, 3vw, 2rem);
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(0.9rem, 2vw, 1rem);
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1rem);
}

.nav-icons a {
  color: var(--white);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-icons a:hover {
  color: var(--gold);
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transform: translate(25%, -25%);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  margin: 2px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
  padding: clamp(80px, 15vh, 120px) clamp(1rem, 3vw, 2rem) clamp(2rem, 5vh, 4rem);
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 2;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: #cccccc;
  margin-bottom: 2rem;
  max-width: 500px;
  line-height: 1.5;
}

.cta-button {
  background: linear-gradient(45deg, var(--gold), #c4a052);
  color: var(--black);
  border: none;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2rem);
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  text-decoration: none;
  min-height: 44px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(161, 134, 62, 0.3);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: clamp(1rem, 3vw, 0);
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Featured Products */
.featured-products {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: var(--light-gray);
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  color: var(--black);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

.product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1rem);
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1rem;
  flex-wrap: wrap;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.quick-view-btn,
.add-to-cart-btn {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: clamp(0.4rem, 1.5vw, 0.5rem) clamp(0.8rem, 2vw, 1rem);
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  white-space: nowrap;
  min-height: 36px;
}

.quick-view-btn:hover,
.add-to-cart-btn:hover {
  background: #c4a052;
  transform: translateY(-2px);
}

.product-info {
  padding: clamp(1rem, 3vw, 1.5rem);
}

.product-info h3 {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 0.5rem;
  color: var(--black);
}

.product-price {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 600;
  color: var(--gold);
}

/* Newsletter */
.newsletter {
  background: var(--black);
  padding: clamp(3rem, 8vw, 4rem) 0;
  text-align: center;
}

.newsletter-content h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.newsletter-content p {
  color: #cccccc;
  margin-bottom: 2rem;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: min(250px, 100%);
  padding: 1rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  outline: none;
}

.newsletter-form button {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 1rem clamp(1.5rem, 4vw, 2rem);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-height: 44px;
}

.newsletter-form button:hover {
  background: #c4a052;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--black);
  color: var(--white);
  padding: clamp(2rem, 5vw, 3rem) 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-section h4 {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: clamp(0.9rem, 2vw, 1rem);
  display: block;
  padding: 0.25rem 0;
}

.footer-section ul li a:hover {
  color: var(--gold);
}

.footer-section p {
  color: #cccccc;
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  color: var(--white);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  transition: color 0.3s ease;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: #cccccc;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: clamp(15px, 4vw, 20px);
  right: clamp(15px, 4vw, 20px);
  z-index: 1000;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(50px, 12vw, 60px);
  height: clamp(50px, 12vw, 60px);
  background: #25d366;
  color: white;
  border-radius: 50%;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

/* Newsletter Popup */
.newsletter-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.popup-content {
  background: var(--white);
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: 10px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  position: relative;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--black);
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-content h3 {
  font-family: "Playfair Display", serif;
  margin-bottom: 1rem;
  color: var(--black);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.popup-content p {
  margin-bottom: 1rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.popup-content form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.popup-content input {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.popup-content button {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 1rem;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  min-height: 44px;
}

.popup-content button:hover {
  background: #c4a052;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(10, 10, 10, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    gap: 0;
    backdrop-filter: blur(10px);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 1rem;
    display: block;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-image {
    margin-top: 2rem;
    max-width: 100%;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-form input {
    min-width: auto;
    width: 100%;
    margin-bottom: 1rem;
  }

  .newsletter-form button {
    width: 100%;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 1rem;
  }

  .product-overlay {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .hero {
    padding: 90px 1rem 2rem;
  }

  .featured-products,
  .newsletter {
    padding: 2rem 0;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-overlay {
    padding: 0.5rem;
  }

  .newsletter-popup {
    padding: 0.5rem;
  }

  .popup-content {
    margin: 1rem;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .nav-logo h1 {
    font-size: 1.3rem;
  }

  .product-info {
    padding: 1rem;
  }

  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Tablet Specific */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero {
    padding: 100px 2rem 2rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .newsletter-form {
    max-width: 600px;
  }
}

/* Large Screens */
@media (min-width: 1400px) {
  .container,
  .nav-container {
    max-width: 1400px;
  }

  .hero-title {
    font-size: 4.5rem;
  }

  .section-title {
    font-size: 3.5rem;
  }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 80px 1rem 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

/* Focus Styles for Accessibility */
*:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Utility Classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Loading Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.loading {
  animation: pulse 2s infinite;
}

/* Quick View Modal */
.quick-view-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.quick-view-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: var(--white);
  border-radius: 15px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.quick-view-modal.active .modal-content {
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--black);
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: rotate(90deg);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

.modal-images {
  position: relative;
}

.main-image-container {
  position: relative;
  margin-bottom: 1rem;
}

.modal-main-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

.stock-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gold);
  color: var(--black);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.stock-badge.limited {
  background: #e74c3c;
  color: white;
}

.modal-thumbnails {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.modal-thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
  flex-shrink: 0;
  border: 2px solid transparent;
}

.modal-thumbnail:hover,
.modal-thumbnail.active {
  opacity: 1;
  border-color: var(--gold);
}

.modal-details {
  padding: 1rem 0;
}

.modal-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--black);
}

.modal-price {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.modal-description {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: var(--dark-gray);
}

.modal-features {
  margin-bottom: 2rem;
}

.modal-features h4 {
  margin-bottom: 0.5rem;
  color: var(--black);
}

.modal-features ul {
  list-style: none;
  padding: 0;
}

.modal-features li {
  padding: 0.3rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--dark-gray);
}

.modal-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

.modal-options {
  margin-bottom: 2rem;
}

.size-selection,
.quantity-selection {
  margin-bottom: 1.5rem;
}

.size-selection label,
.quantity-selection label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--black);
}

.size-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.size-option {
  padding: 0.5rem 1rem;
  border: 2px solid #ddd;
  background: white;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.size-option:hover,
.size-option.selected {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--black);
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
}

.quantity-btn {
  background: var(--light-gray);
  border: 1px solid #ddd;
  width: 35px;
  height: 35px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: all 0.3s ease;
}

.quantity-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.quantity-input {
  width: 60px;
  height: 35px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-weight: 600;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.add-to-cart-modal,
.view-full-product {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.add-to-cart-modal {
  background: var(--gold);
  color: var(--black);
}

.add-to-cart-modal:hover {
  background: #c4a052;
  transform: translateY(-2px);
}

.view-full-product {
  background: white;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.view-full-product:hover {
  background: var(--gold);
  color: var(--black);
}

.modal-info {
  border-top: 1px solid #eee;
  padding-top: 1.5rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.info-item i {
  color: var(--gold);
  width: 16px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .modal-body {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }

  .modal-main-image {
    height: 300px;
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .modal-price {
    font-size: 1.4rem;
  }

  .modal-actions {
    flex-direction: column;
  }

  .size-options {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 98%;
    margin: 1%;
  }

  .modal-body {
    padding: 1rem;
  }

  .modal-main-image {
    height: 250px;
  }

  .modal-thumbnails {
    justify-content: center;
  }
}
