:root {
  --color-primary: #F9F8F6;
  --color-secondary: #EFE9E3;
  --color-tertiary: #D9CFC7;
  --color-accent: #C9B59C;
  --color-text: #2a2a2a;
  --color-text-light: #666666;

  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-dynamic: 0 12px 48px rgba(0, 0, 0, 0.2);

  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.8s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-primary);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  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.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--color-text);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.light-dance-wrapper {
  position: relative;
  overflow: hidden;
}

.light-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.4;
  transition: all var(--transition-slow);
  z-index: 1;
}

.content-layer {
  position: relative;
  z-index: 2;
}

header {
  padding: var(--space-md) 0;
  background: transparent;
  position: relative;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.logo {
  display: block;
}

.logo img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.logo img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.logo:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.nav-desktop {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.nav-desktop a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-xs) 0;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: var(--transition-medium);
}

.nav-desktop a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.burger span {
  width: 1.5rem;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition-fast);
}

.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 300px;
  height: 100vh;
  background: var(--color-secondary);
  padding: var(--space-lg) var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-medium);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.nav-mobile.active {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile-list {
  list-style: none;
  margin-top: var(--space-lg);
}

.nav-mobile-list li {
  margin-bottom: var(--space-md);
}

.nav-mobile-list a {
  font-size: 1.1rem;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.close-menu {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-text);
  line-height: 1;
}

.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) 0;
  position: relative;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  text-shadow: var(--shadow-sm);
}

.hero p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition-medium);
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  background: var(--color-text);
  color: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.section {
  padding: var(--space-lg) 0;
  position: relative;
}

.section-light {
  background: var(--color-secondary);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.section-title p {
  color: var(--color-text-light);
  font-size: 1rem;
}

.grid {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: white;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-medium);
  position: relative;
}

.card:hover {
  box-shadow: var(--shadow-dynamic);
  transform: translateY(-4px);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}

.card h3 {
  margin-bottom: var(--space-xs);
}

.card p {
  color: var(--color-text-light);
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
}

.price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-accent);
  font-weight: 700;
}

.product-card {
  text-align: center;
}

.team-member {
  text-align: center;
}

.member-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

.member-role {
  color: var(--color-accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-section {
  background: var(--color-tertiary);
  padding: var(--space-xl) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.contact-info h3 {
  margin-bottom: var(--space-md);
}

.info-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
}

.info-item i {
  color: var(--color-accent);
  font-size: 1.2rem;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: var(--space-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-tertiary);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(201, 181, 156, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: start;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.checkbox-group label {
  font-size: 0.8rem;
  line-height: 1.4;
}

footer {
  background: var(--color-text);
  color: var(--color-secondary);
  padding: var(--space-md) 0;
  text-align: center;
  font-size: 0.8rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

.footer-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--color-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-text);
  color: white;
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-medium);
}

.cookie-popup.active {
  opacity: 1;
  pointer-events: all;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1;
  font-size: 0.85rem;
  margin: 0;
}

.cookie-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
}

.btn-accept,
.btn-decline {
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-accept {
  background: var(--color-accent);
  color: white;
}

.btn-accept:hover {
  background: var(--color-tertiary);
}

.btn-decline {
  background: transparent;
  color: white;
  border: 1px solid white;
}

.btn-decline:hover {
  background: white;
  color: var(--color-text);
}

.thankyou-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) 0;
}

.thankyou-content {
  max-width: 600px;
}

.thankyou-content h1 {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  color: var(--color-accent);
}

.error-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) 0;
}

.error-content h1 {
  font-size: 6rem;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.legal-page {
  padding: var(--space-lg) 0;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: var(--space-md);
}

.legal-content h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.legal-content p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.legal-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-md);
}

.legal-content li {
  margin-bottom: var(--space-xs);
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .nav-desktop {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero {
    min-height: 60vh;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: var(--space-md) 0;
  }

  .error-content h1 {
    font-size: 4rem;
  }
}

@media (max-width: 480px) {
  :root {
    --space-lg: 2rem;
    --space-xl: 3rem;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .thankyou-content h1 {
    font-size: 2rem;
  }
}