@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --color-primary: #280905;
  --color-secondary: #740A03;
  --color-accent: #C3110C;
  --color-bright: #E6501B;
  --color-light: #FFF5F3;
  --color-white: #FFFFFF;
  --color-text: #2A2A2A;
  --color-text-light: #666666;
  
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  
  --shadow-sm: 0 2px 8px rgba(40, 9, 5, 0.08);
  --shadow-md: 0 4px 16px rgba(40, 9, 5, 0.12);
  --shadow-lg: 0 8px 32px rgba(40, 9, 5, 0.16);
  
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-bright);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, .btn {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-block;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

header {
  width: 100%;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--transition-base);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

header.scrolled {
  position: fixed;
  background:#fff5f3;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: var(--space-sm) 0;
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 2px black;
  transition: color var(--transition-fast);
}

header.scrolled .logo {
  color: var(--color-accent);
}

nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-md);
}

nav a {
  color: white;
  text-shadow: 2px 2px 2px black;
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-bright);
  transition: width var(--transition-base);
}

nav a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  width: 25px;
  height: 2px;
  background: var(--color-primary);
  transition: all var(--transition-base);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: var(--color-accent);
}

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

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: var(--color-accent);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-light) 0%, var(--color-white) 100%);
  background-image: url('../pictures/BG.jpg');
  background-position: center;
  background-size: cover;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  animation: fadeInUp 1s ease;
}

.hero h1 {
  font-size: 3.5rem;
  color: white;
  text-shadow: 2px 2px 2px black;
  margin-bottom: var(--space-md);
}

.hero p {
  font-size: 1.1rem;
  color: white;
  text-shadow: 2px 2px 2px black;
  margin-bottom: var(--space-lg);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--color-primary);
}

.asymmetric-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-md);
  align-items: center;
}

.asymmetric-item {
  position: relative;
  animation: fadeIn 0.8s ease;
}

.asymmetric-item:nth-child(1) {
  grid-column: 1 / 7;
  transform: rotate(-2deg);
}

.asymmetric-item:nth-child(2) {
  grid-column: 7 / 13;
  transform: translateY(40px) rotate(1deg);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  overflow: hidden;
}

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

.card-img {
  width: 100%;
  height: 250px;
  background: var(--color-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.85rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.product-card {
  position: relative;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-accent);
  font-weight: 600;
}

.contact-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
  border-radius: var(--space-md);
  padding: var(--space-xl) var(--space-md);
  margin: var(--space-lg) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.contact-info p {
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

.contact-info i {
  margin-right: var(--space-xs);
  color: var(--color-bright);
}

form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

input, textarea {
  font-family: var(--font-body);
  padding: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

input::placeholder, textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--color-bright);
  background: rgba(255, 255, 255, 0.15);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-wrapper {
  display: flex;
  align-items: start;
  gap: var(--space-xs);
  font-size: 0.85rem;
}

.checkbox-wrapper input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.map-container {
  width: 100%;
  height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-md) 0;
  font-size: 0.85rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.footer-links a {
  color: var(--color-white);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.footer-links a:hover {
  opacity: 1;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-light);
  padding: 0;
  width: 30px;
  height: 30px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.testimonial-card {
  background: var(--color-light);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-accent);
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-primary);
  margin-top: var(--space-sm);
  font-size: 0.9rem;
}

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-content h1 {
  font-size: 6rem;
  color: var(--color-accent);
}

.thankyou-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--color-light) 0%, var(--color-white) 100%);
}

.thankyou-content {
  max-width: 600px;
  padding: var(--space-lg);
}

.legal-page {
  padding: var(--space-xl) 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: var(--space-lg);
  color: var(--color-primary);
}

.legal-content h3 {
  margin-top: var(--space-md);
  color: var(--color-secondary);
}

.legal-content ul {
  margin-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.legal-content li {
  margin-bottom: var(--space-xs);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  html { font-size: 14px; }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  
  .burger {
    display: flex;
  }
  
  nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: var(--space-xl) var(--space-md);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  
  nav.active {
    display: block;
  }
  
  nav ul {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .asymmetric-item:nth-child(1),
  .asymmetric-item:nth-child(2) {
    grid-column: 1 / 13;
    transform: none;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
}
