/* CSS Variables */
:root {
  --background: hsl(210, 40%, 98%);
  --foreground: hsl(222.2, 84%, 4.9%);
  --primary: hsl(200, 100%, 50%);
  --primary-foreground: hsl(210, 40%, 98%);
  --muted: hsl(220, 14.3%, 95.9%);
  --muted-foreground: hsl(220, 8.9%, 46.1%);
  --border: hsl(220, 13%, 91%);
  
  /* Custom Elegancia Colors */
  --elegancia-blue: hsl(200, 70%, 85%);
  --elegancia-navy: hsl(220, 100%, 20%);
  --elegancia-sky-blue: hsl(200, 70%, 60%);
  --elegancia-light: hsl(200, 100%, 95%);
  
  /* Fonts */
  --font-serif: "Playfair Display", serif;
  --font-sans: "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  line-height: 1.5;
  color: var(--foreground);
  background-color: var(--background);
}

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

/* Typography */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 24px;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 768px;
  margin: 0 auto;
  line-height: 1.6;
}


.brand-block h1,
.brand-block h3,
.hero-title,
.footer-brand-title {
  color: var(--elegancia-navy);
  font-family: var(--font-serif);
  font-weight: 700;
  margin-bottom: 0px;
  line-height: 1;
}

.hero-tagline {
  color: var(--elegancia-sky-blue);
  font-weight: 300;
  text-align: right;
  font-size: clamp(0.15rem, 0.5vw, 0.2rem);
}

/* Navigation */
#navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
}

#navigation.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.nav-brand h1 {
  font-size: clamp(1.25rem, 8vw, 2.5rem);
  color: var(--elegancia-navy);
  font-family: var(--font-serif);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 0.6;
}

.nav-brand .tagline {
  color: var(--elegancia-sky-blue);
  font-weight: 600;
  text-align: right;
  font-size: clamp(0.55rem, 0.5vw, 0.55rem);
  line-height: 0.6;
  display: block;
}

.nav-brand .brand-block {
  line-height: 0.6;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links button {
  background: none;
  border: none;
  color: var(--foreground);
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-links button:hover {
  color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-top: 16px;
  padding: 16px;
  gap: 16px;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu button {
  background: none;
  border: none;
  text-align: left;
  padding: 8px 0;
  color: var(--foreground);
  cursor: pointer;
  transition: color 0.3s ease;
}

.mobile-menu button:hover {
  color: var(--primary);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--elegancia-light) 0%, var(--elegancia-blue) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.7));
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.hero-text {
  max-width: 512px;
}

.hero-brand {
  margin-bottom: 48px;
}

.hero-block {
  line-height: 0.6; /* same as .nav-brand .brand-block */
}
.hero-title {
  font-size: clamp(1.25rem, 8vw, 2.5rem);
  color: var(--elegancia-navy);
  font-family: var(--font-serif);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 0.6;
}

.brand-block {
  display: inline-block;
  line-height: 0.6;
}
.hero-tagline {
  display: block;
  color: var(--elegancia-sky-blue);
  font-weight: 600;
  text-align: right;
  font-size: clamp(0.55rem, 0.5vw, 0.55rem);
  line-height: 0.6; /* add this */
  margin-bottom: 0; /* add this for consistency */
}


.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 64px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: hsl(200, 100%, 45%);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

.full-width {
  width: 100%;
}

/* Ripple Effect */
.ripple-effect {
  position: relative;
  overflow: hidden;
}

.ripple-effect::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.ripple-effect:hover::before {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
}

.ripple-effect > * {
  position: relative;
  z-index: 1;
}

/* Section Styles */
.about-section,
.quality-section,
.contact-section {
  padding: 96px 0;
  background: var(--background);
}

.products-section,
.testimonials-section {
  padding: 96px 0;
  background: rgba(220, 220, 220, 0.3);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

.about-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 24px;
  line-height: 1.6;
}

.stats-grid {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.product-card img {
  width: 100%;
  height: 256px;
  object-fit: cover;
}

.product-content {
  padding: 24px;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 8px;
}

.product-description {
  color: var(--muted-foreground);
  margin-bottom: 16px;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

/* Quality Section */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.quality-card {
  background: white;
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.quality-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 2rem;
}

.quality-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 12px;
}

.quality-description {
  color: var(--muted-foreground);
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: white;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stars {
  color: #fbbf24;
  margin-bottom: 16px;
}

.testimonial-quote {
  color: var(--muted-foreground);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-weight: 600;
  color: var(--foreground);
}

.author-title {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}

.contact-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 32px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-label {
  font-weight: 600;
  color: var(--foreground);
}

.contact-value {
  color: var(--muted-foreground);
}

.contact-form {
  background: white;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.form-field label {
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* Footer */
.footer {
  background: var(--foreground);
  color: white;
  padding: 64px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.footer-brand-title {
  font-size: clamp(1.25rem, 8vw, 2.5rem);
  color: white !important;
  font-family: var(--font-serif);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 0.9;
}

.footer-brand-tagline {
  color: white !important;
  font-weight: 600;
  text-align: right;
  font-size: clamp(0.55rem, 0.5vw, 0.55rem);
  margin-bottom: 16px;
  line-height: 0.6;
}

.footer-brand-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-social-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: white;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

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

.hidden {
  display: none;
}

/* Correct Font Awesome brand colors */
.social-links a.facebook i { color: #1877F2 !important; }
.social-links a.instagram i { color: #E1306C !important; }
.social-links a.twitter i { color: #000000 !important; }
.social-links a.linkedin i { color: #0A66C2 !important; }

/* Prevent purple visited/active links */
.social-links a:link,
.social-links a:visited,
.social-links a:hover,
.social-links a:active {
  text-decoration: none;
  color: inherit;
}

/* Responsive Design */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
  
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
  
  .nav-links {
    display: flex;
  }
  
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-bottom {
    flex-direction: row;
  }
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .stats-grid {
    flex-direction: column;
    gap: 16px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .nav-container {
    padding: 16px;
  }
  
  .hero-section {
    padding: 32px 0;
  }
  
  .about-section,
  .products-section,
  .quality-section,
  .testimonials-section,
  .contact-section {
    padding: 64px 0;
  }
  
  .footer {
    padding: 48px 0;
  }
}