:root {
  --color-bg: #FAF8F3;
  --color-text: #2C2416;
  --color-accent: #D4A574;
  --color-secondary: #8B6F47;
  --color-tertiary: #C9A882;
  --color-white: #FFFFFF;
  --color-dark: #1A1611;
  --color-light: #F5EDE0;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  
  --shadow-sm: 0 2px 8px rgba(44, 36, 22, 0.08);
  --shadow-md: 0 4px 16px rgba(44, 36, 22, 0.12);
  --shadow-lg: 0 8px 24px rgba(44, 36, 22, 0.16);
  
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-light) 100%);
  background-attachment: fixed;
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-dark);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

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);
}

p {
  margin-bottom: var(--space-md);
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section:not([style*="background"])::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-tertiary), transparent);
  opacity: 0.3;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(44, 36, 22, 0.1);
  z-index: 100;
  padding: var(--space-xs) 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-xs) var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

.nav-menu a {
  font-size: clamp(0.8rem, 1.8vw, 0.95rem);
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  position: relative;
  color: var(--color-text);
}

.nav-menu a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
  transition: var(--transition);
  border-radius: 2px;
}

.nav-menu a:hover {
  color: var(--color-accent);
}

.nav-menu a:hover::before {
  width: 80%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-dark);
  z-index: 102;
  position: relative;
}

body.menu-open .menu-toggle {
  display: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 300px;
  height: 100vh;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-light) 100%);
  box-shadow: var(--shadow-lg);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 101;
  padding: var(--space-xl) var(--space-md);
  overflow-y: auto;
  border-left: 3px solid var(--color-accent);
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-dark);
}

.mobile-nav {
  list-style: none;
  margin-top: var(--space-xl);
}

.mobile-nav li {
  margin-bottom: var(--space-md);
}

.mobile-nav a {
  font-size: 1.1rem;
  font-weight: 500;
  display: block;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  border-left: 3px solid transparent;
  transition: var(--transition);
  margin-left: calc(-1 * var(--space-md));
  padding-left: var(--space-md);
}

.mobile-nav a:hover {
  border-left-color: var(--color-accent);
  background: var(--color-light);
  color: var(--color-accent);
}

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  margin-top: 60px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 22, 17, 0.7) 0%, rgba(44, 36, 22, 0.5) 100%);
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: var(--space-xl);
  color: var(--color-white);
}

.hero-animation {
  position: absolute;
  width: 120px;
  height: 120px;
  top: 15%;
  right: 8%;
  z-index: 2;
}

.hero-animation::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid var(--color-accent);
  border-radius: 50%;
  animation: floatRotate 8s ease-in-out infinite;
  opacity: 0.8;
}

.hero-animation::after {
  content: '';
  position: absolute;
  width: 70px;
  height: 70px;
  border: 2px solid var(--color-secondary);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulseScale 4s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(212, 165, 116, 0.5);
}

@keyframes floatRotate {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.8;
  }
  25% {
    transform: translateY(-15px) rotate(90deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-25px) rotate(180deg);
    opacity: 0.9;
  }
  75% {
    transform: translateY(-15px) rotate(270deg);
    opacity: 0.6;
  }
}

@keyframes pulseScale {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.5;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: var(--space-md);
  text-align: center;
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

.btn-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-sm);
}

.section-title h2::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-accent), var(--color-secondary), transparent);
  border-radius: 2px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--color-tertiary);
  border-radius: 1px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border-top: 3px solid transparent;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--color-accent);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.card h3 {
  margin-bottom: var(--space-sm);
  color: var(--color-dark);
}

.card p {
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-top: var(--space-sm);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.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;
}

.checkbox-group label {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-info {
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-light) 100%);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-lg);
  border-left: 4px solid var(--color-accent);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--color-accent);
  width: 30px;
  text-align: center;
  background: var(--color-light);
  padding: var(--space-sm);
  border-radius: 50%;
  transition: var(--transition);
}

.contact-info-item:hover i {
  background: var(--color-accent);
  color: var(--color-white);
  transform: rotate(10deg) scale(1.1);
}

.map-container {
  margin-top: var(--space-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

.footer {
  background: linear-gradient(180deg, var(--color-dark) 0%, #0F0D09 100%);
  color: var(--color-white);
  padding: var(--space-xl) 0 var(--space-md);
  margin-top: var(--space-xxl);
  border-top: 3px solid var(--color-accent);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-lg);
  list-style: none;
}

.footer-menu a {
  color: var(--color-white);
  font-size: 0.9rem;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-menu a:hover {
  opacity: 1;
  color: var(--color-accent);
  transform: translateX(3px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  opacity: 0.7;
}

.privacy-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  padding: var(--space-md);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.privacy-popup.active {
  transform: translateY(0);
}

.privacy-popup-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.privacy-popup p {
  margin: 0;
  font-size: 0.9rem;
  flex: 1;
  min-width: 200px;
}

.privacy-popup-buttons {
  display: flex;
  gap: var(--space-sm);
}

.privacy-popup-btn {
  padding: var(--space-xs) var(--space-md);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}

.privacy-popup-btn.accept {
  background: var(--color-accent);
  color: var(--color-white);
}

.privacy-popup-btn.accept:hover {
  background: var(--color-secondary);
}

.privacy-popup-btn.decline {
  background: transparent;
  border: 2px solid var(--color-text);
  color: var(--color-text);
}

.privacy-popup-btn.decline:hover {
  background: var(--color-text);
  color: var(--color-white);
}

.legal-page {
  max-width: 900px;
  margin: 80px auto 0;
  padding: var(--space-xl) var(--space-md);
}

.legal-page h1 {
  margin-bottom: var(--space-lg);
  text-align: center;
}

.legal-page h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.legal-page h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.legal-page p {
  margin-bottom: var(--space-md);
}

.legal-page ul,
.legal-page ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.legal-page li {
  margin-bottom: var(--space-xs);
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
}

.table-wrapper {
  overflow-x: auto;
  margin: var(--space-lg) 0;
}

.legal-page table th,
.legal-page table td {
  padding: var(--space-sm);
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-align: left;
}

.legal-page table th {
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 600;
}

.home-button {
  display: inline-block;
  margin-top: var(--space-xl);
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.home-button:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
}

html {
  height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-light) 100%);
  background-attachment: fixed;
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

body > .header {
  flex-shrink: 0;
}

.thank-you-page,
.error-page {
  text-align: center;
  padding: var(--space-xxl) var(--space-md);
  margin-top: 80px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 200px);
}

body:has(.thank-you-page) .footer,
body:has(.error-page) .footer {
  margin-top: auto;
  flex-shrink: 0;
}

.thank-you-page p,
.error-page p {
  max-width: none;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.thank-you-page h1,
.error-page h1 {
  margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero {
    min-height: 60vh;
    margin-top: 50px;
  }
  
  .header {
    padding: var(--space-xs) 0;
  }
  
  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
  }
  
  .privacy-popup-content {
    flex-direction: column;
    text-align: center;
  }
  
  .privacy-popup-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .privacy-popup-btn {
    flex: 1;
  }
  
  .footer-menu {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: var(--space-xs) var(--space-sm);
  }
  
  .section {
    padding: var(--space-lg) 0;
  }
  
  .hero {
    min-height: 50vh;
    padding: var(--space-lg) var(--space-sm);
    margin-top: 45px;
  }
  
  .hero-animation {
    width: 80px;
    height: 80px;
    top: 10%;
    right: 5%;
  }
  
  .legal-page {
    margin-top: 60px;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .contact-info-item {
    flex-direction: column;
    text-align: center;
  }
  
  .map-container iframe {
    height: 300px;
  }
}

@media (max-width: 320px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .hero-content {
    padding: var(--space-md);
  }
  
  .card {
    padding: var(--space-md);
  }
}

