:root {
  --ink-navy: #1F2933;
  --ivory-paper: #F9F8F6;
  --graphite-grey: #3A3A3A;
  --royal-copper: #C47A4A;
  --soft-clay: #E6DED5;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-xxl: 2rem;
  --font-size-hero: clamp(2rem, 5vw, 3.5rem);
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--graphite-grey);
  background-color: var(--ivory-paper);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-navy);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: var(--font-size-hero);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

a {
  text-decoration: none;
  color: var(--royal-copper);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--ink-navy);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xxl) 0;
}

.section-alt {
  background-color: var(--soft-clay);
}

.header {
  background-color: var(--ink-navy);
  padding: var(--space-sm) 0;
  position: relative;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--ivory-paper);
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

.nav-menu li a {
  color: var(--ivory-paper);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}

.nav-menu li a:hover {
  color: var(--royal-copper);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ivory-paper);
  font-size: var(--font-size-xl);
  cursor: pointer;
  z-index: 102;
  position: relative;
}

.header.menu-active .menu-toggle {
  display: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--ink-navy);
  transform: translateY(-100%);
  transition: transform var(--transition-base);
  z-index: 101;
  padding: var(--space-xxl) var(--space-lg);
  overflow-y: auto;
  display: block;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu .nav-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  list-style: none;
  margin-top: var(--space-xl);
}

.mobile-menu .nav-menu li {
  width: 100%;
}

.mobile-menu .nav-menu li a {
  font-size: var(--font-size-md);
  display: block;
  width: 100%;
  padding: var(--space-sm) 0;
}

.menu-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  color: var(--ivory-paper);
  font-size: var(--font-size-xl);
  cursor: pointer;
  z-index: 103;
}

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../pictures/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(31, 41, 51, 0.85) 0%, rgba(58, 58, 58, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--ivory-paper);
  padding: var(--space-xl) var(--space-md);
  max-width: 800px;
}

.hero h1 {
  color: var(--ivory-paper);
  margin-bottom: var(--space-lg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: clamp(var(--font-size-md), 2vw, var(--font-size-lg));
  margin-bottom: var(--space-xl);
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background-color: var(--royal-copper);
  color: var(--ivory-paper);
  border: 2px solid var(--royal-copper);
  border-radius: var(--border-radius-md);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition-base);
  margin-top: var(--space-md);
}

.btn:hover {
  background-color: transparent;
  color: var(--royal-copper);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--ivory-paper);
  border-color: var(--ivory-paper);
}

.btn-secondary:hover {
  background-color: var(--ivory-paper);
  color: var(--ink-navy);
}

.animated-figure {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--royal-copper) 0%, var(--soft-clay) 100%);
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
  z-index: 1;
}

.animated-figure:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.animated-figure:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
  width: 150px;
  height: 150px;
}

.animated-figure:nth-child(3) {
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
  width: 120px;
  height: 120px;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.feature-card {
  background-color: var(--ivory-paper);
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-card i {
  font-size: var(--font-size-xxl);
  color: var(--royal-copper);
  margin-bottom: var(--space-md);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.product-card {
  background-color: var(--ivory-paper);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background-color: var(--soft-clay);
}

.product-info {
  padding: var(--space-lg);
}

.product-price {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--royal-copper);
  margin-top: var(--space-sm);
}

.pricing-table-wrapper {
  overflow-x: auto;
  margin-top: var(--space-xl);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--ivory-paper);
  box-shadow: var(--shadow-sm);
}

.pricing-table th,
.pricing-table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--soft-clay);
}

.pricing-table th {
  background-color: var(--ink-navy);
  color: var(--ivory-paper);
  font-weight: 600;
}

.pricing-table tr:hover {
  background-color: var(--soft-clay);
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.contact-form {
  background-color: var(--ivory-paper);
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--ink-navy);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid var(--soft-clay);
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  font-size: var(--font-size-base);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--royal-copper);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

.footer {
  background-color: var(--ink-navy);
  color: var(--ivory-paper);
  padding: var(--space-xl) 0;
  margin-top: var(--space-xxl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.footer-section h4 {
  color: var(--ivory-paper);
  margin-bottom: var(--space-md);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--space-xs);
}

.footer-section ul li a {
  color: var(--ivory-paper);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.footer-section ul li a:hover {
  opacity: 1;
  color: var(--royal-copper);
}

.footer-bottom {
  text-align: center;
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--font-size-sm);
}

.centered-content {
  text-align: center;
  padding: var(--space-xxl) var(--space-md);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.centered-content p {
  max-width: none;
  margin-bottom: var(--space-md);
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.legal-content h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-content h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-content p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  margin-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
}

.legal-content table th,
.legal-content table td {
  padding: var(--space-sm);
  border: 1px solid var(--soft-clay);
  text-align: left;
}

.legal-content table th {
  background-color: var(--ink-navy);
  color: var(--ivory-paper);
}

.home-button {
  display: inline-block;
  margin-top: var(--space-xl);
}

.privacy-popup {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  background-color: var(--ink-navy);
  color: var(--ivory-paper);
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  max-width: 600px;
  margin: 0 auto;
  display: none;
}

.privacy-popup.active {
  display: block;
}

.privacy-popup-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.privacy-popup-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .hero {
    min-height: 60vh;
  }

  .features-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .privacy-popup {
    left: var(--space-sm);
    right: var(--space-sm);
    bottom: var(--space-sm);
  }
}

@media (max-width: 320px) {
  .logo {
    font-size: var(--font-size-base);
  }

  .hero h1 {
    font-size: var(--font-size-xl);
  }

  .btn {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--font-size-xs);
  }
}

