:root {
  /* Colors */
  --color-primary: #121212;
  --color-secondary: #1E1E1E;
  --color-tertiary: #2C2C2C;
  --color-quaternary: #3B3B3B;
  --color-quinary: #4F4F4F;
  --color-light: #F0F0F0;
  --color-accent: #4CAF50;
  --color-accent-light: #6ABF6E;
  --color-text: #FAFAFA;
  --color-text-muted: #BBBBBB;
  
  /* Typography */
  --font-primary: 'Playfair Display', serif;
  --font-secondary: 'Outfit', sans-serif;
  
  /* Spacing */
  --space-xxs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;
  
  /* Borders */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-full: 999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* RESET & GLOBAL STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  background-color: var(--color-primary);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, .btn {
  cursor: pointer;
  background-color: var(--color-accent);
  color: var(--color-primary);
  border: none;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-secondary);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

button:hover, .btn:hover {
  background-color: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--space-md);
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-xl);
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
}

/* LAYOUT */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md) 0;
}

.section {
  padding: var(--space-xxl) 0;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

.text-center {
  text-align: center;
}

/* HEADER & NAVIGATION */
.header {
  background-color: var(--color-secondary);
  padding: var(--space-md) 0;
  position: relative;
  z-index: 100;
  transition: transform var(--transition-medium);
}

.header.hidden {
  transform: translateY(-100%);
}

.logo {
  font-family: var(--font-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.logo i {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
}

.nav-links li a {
  font-weight: 500;
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-fast);
}

.nav-links li a:hover::after {
  width: 100%;
}

.burger-menu {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: var(--space-xs);
}

.burger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--color-text);
  transition: all var(--transition-fast);
}

/* HERO SECTION */
.hero {
  min-height: 80vh;
  background-color: var(--color-primary);
  position: relative;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.hero-text {
  margin-bottom: var(--space-xl);
  font-size: 1.1rem;
}

.hero-cta {
  display: inline-flex;
  gap: var(--space-md);
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.6;
}

/* ABOUT SECTION */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-content {
  padding: var(--space-lg);
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.feature-icon {
  font-size: 1.5rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* PRODUCTS SECTION */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.product-card {
  background-color: var(--color-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  height: 280px;
  width: 100%;
  object-fit: cover;
}

.product-details {
  padding: var(--space-lg);
}

.product-title {
  margin-bottom: var(--space-xs);
}

.product-price {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.product-desc {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

/* TESTIMONIAL SECTION */
.testimonial {
  background-color: var(--color-tertiary);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

.testimonial-text {
  font-style: italic;
  position: relative;
  padding: 0 var(--space-lg);
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 4rem;
  font-family: var(--font-primary);
  position: absolute;
  color: var(--color-accent);
  opacity: 0.3;
}

.testimonial-text::before {
  top: -20px;
  left: -10px;
}

.testimonial-text::after {
  bottom: -60px;
  right: -10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-weight: 700;
}

.author-role {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* CONTACT FORM */
.contact-section {
  background-color: var(--color-tertiary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-weight: 600;
}

.form-control {
  padding: var(--space-md);
  background-color: var(--color-quaternary);
  border: 1px solid var(--color-quinary);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-secondary);
}

.form-control:focus {
  outline: 2px solid var(--color-accent);
  border-color: transparent;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.form-checkbox input {
  margin-top: 5px;
}

/* MAP */
.map-container {
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* CTA SECTION */
.cta-section {
  text-align: center;
  padding: var(--space-xxl) 0;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.cta-text {
  max-width: 700px;
  margin: 0 auto var(--space-lg);
}

/* FOOTER */
.footer {
  background-color: var(--color-secondary);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.footer-col h4 {
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: var(--space-xs);
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.social-links {
  display: flex;
  gap: var(--space-md);
  font-size: 1.25rem;
}

.social-links a {
  color: var(--color-text-muted);
}

.social-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-quaternary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.footer-menu {
  display: flex;
  gap: var(--space-lg);
}

.footer-menu a {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* COOKIE CONSENT */
.cookie-consent {
  position: fixed;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  background-color: var(--color-secondary);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.cookie-consent p {
  margin-bottom: var(--space-xs);
  font-size: 0.875rem;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
}

.cookie-buttons button {
  padding: var(--space-xs) var(--space-md);
  font-size: 0.875rem;
}

.btn-secondary {
  background-color: var(--color-quaternary);
  color: var(--color-text);
}

.btn-secondary:hover {
  background-color: var(--color-quinary);
}

/* 404 PAGE */
.page-404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.page-404 h1 {
  font-size: 8rem;
  margin-bottom: 0;
  line-height: 1;
}

.page-404 h2 {
  margin-bottom: var(--space-lg);
}

/* THANK YOU PAGE */
.thank-you {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-secondary);
    flex-direction: column;
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .burger-menu {
    display: block;
  }
  
  .burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  
  .burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero {
    text-align: center;
  }
  
  .hero-image {
    display: none;
  }
  
  .about-grid, 
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
  
  .hero-content {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
  
  .footer-menu {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .container {
    width: 95%;
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }
  
  .page-404 h1 {
    font-size: 6rem;
  }
}