:root {
  --slate-navy: #1E3A8A;
  --pure-white: #FFFFFF;
  --copper-gold: #C9933F;
  --teal-green: #14B8A6;
  --light-gray: #F8FAFC;
  --medium-gray: #64748B;
  --dark-gray: #1E293B;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--slate-navy);
}

.nav-logo svg {
  color: var(--copper-gold);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--slate-navy);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--copper-gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--slate-navy);
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.7), rgba(20, 184, 166, 0.5));
}

.hero-content {
  text-align: center;
  color: var(--pure-white);
  z-index: 1;
  max-width: 600px;
  padding: 0 20px;
}

.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-logo svg {
  color: var(--copper-gold);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-logo h1 {
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
}

.hero-tagline {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 3rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-button {
  background: var(--copper-gold);
  color: var(--pure-white);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  background: #B8822E;
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--pure-white);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--slate-navy);
  color: var(--pure-white);
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-xl);
  transition: all 0.3s ease;
  z-index: 999;
  opacity: 0;
  transform: translateY(100px);
}

.sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.sticky-cta:hover {
  background: #1E40AF;
  transform: translateY(-2px);
}

/* Sections */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--slate-navy);
}

.section-subtitle {
  font-size: 1.2rem;
  text-align: center;
  color: var(--medium-gray);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Collection Section */
.collection {
  padding: 8rem 0;
  background: var(--light-gray);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.product-card {
  background: var(--pure-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.product-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(201, 147, 63, 0.8));
  color: var(--pure-white);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-overlay h4 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-overlay p {
  margin-bottom: 0.5rem;
  font-weight: 300;
}

.product-info {
  padding: 2rem;
}

.product-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--slate-navy);
}

.product-info p {
  color: var(--medium-gray);
  font-weight: 400;
}

/* Testimonials */
.testimonials {
  padding: 8rem 0;
  background: var(--pure-white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.testimonial-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--light-gray);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.testimonial-image {
  flex-shrink: 0;
}

.testimonial-image img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--copper-gold);
}

.testimonial-content p {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-style: italic;
  color: var(--dark-gray);
  line-height: 1.7;
}

.testimonial-content h4 {
  font-weight: 600;
  color: var(--slate-navy);
  margin-bottom: 0.25rem;
}

.testimonial-content span {
  color: var(--medium-gray);
  font-size: 0.9rem;
}

/* Featured Products Carousel */
.featured {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--slate-navy), #1E40AF);
  color: var(--pure-white);
}

.featured .section-title {
  color: var(--pure-white);
}

.carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 4rem auto 0;
}

.carousel {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
}

.carousel-slide {
  display: none;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--pure-white);
  color: var(--dark-gray);
  min-height: 500px;
}

.carousel-slide.active {
  display: grid;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  padding: 3rem;
}

.slide-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--slate-navy);
}

.slide-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
  color: var(--medium-gray);
}

.features-list {
  list-style: none;
}

.features-list li {
  padding: 0.5rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--dark-gray);
}

.features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal-green);
  font-weight: bold;
  font-size: 1.2rem;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: all;
  box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
  background: var(--pure-white);
  transform: scale(1.1);
}

.carousel-btn svg {
  color: var(--slate-navy);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--copper-gold);
  transform: scale(1.2);
}

/* Newsletter */
.newsletter {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--copper-gold), #D4AF5A);
  color: var(--pure-white);
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.newsletter p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  outline: none;
  box-shadow: var(--shadow-md);
}

.submit-btn {
  background: var(--slate-navy);
  color: var(--pure-white);
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.submit-btn:hover {
  background: #1E40AF;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--dark-gray);
  color: var(--pure-white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-logo svg {
  color: var(--copper-gold);
}

.footer-brand p {
  color: var(--medium-gray);
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--copper-gold);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--medium-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--pure-white);
}

.footer-social h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--copper-gold);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure-white);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--copper-gold);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--medium-gray);
}

/* Popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup {
  background: var(--pure-white);
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: var(--shadow-xl);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.popup-overlay.active .popup {
  transform: scale(1);
}

.popup-icon {
  margin-bottom: 1.5rem;
}

.popup-icon svg {
  color: var(--teal-green);
}

.popup h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--slate-navy);
}

.popup p {
  color: var(--medium-gray);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.popup-close {
  background: var(--slate-navy);
  color: var(--pure-white);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.popup-close:hover {
  background: #1E40AF;
}

/* Fade In Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--pure-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero-logo h1 {
    font-size: 2.5rem;
  }

  .hero-tagline {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    flex-direction: column;
    text-align: center;
  }

  .carousel-slide {
    grid-template-columns: 1fr;
  }

  .slide-content {
    padding: 2rem;
  }

  .slide-content h3 {
    font-size: 1.5rem;
  }

  .form-group {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .sticky-cta {
    bottom: 10px;
    right: 10px;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-logo h1 {
    font-size: 2rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    margin: 0 10px;
  }

  .carousel-controls {
    padding: 0 0.5rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }
}

/* Performance Optimizations */
.product-image,
.testimonial-image,
.slide-image {
  will-change: transform;
}

.product-card,
.testimonial-card,
.carousel-btn {
  will-change: transform, box-shadow;
}

/* Accessibility */
.nav-toggle:focus,
.cta-button:focus,
.submit-btn:focus,
.popup-close:focus {
  outline: 2px solid var(--copper-gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .scroll-indicator {
    animation: none;
  }
}