:root {
  --color-primary: #777C6D;
  --color-secondary: #B7B89F;
  --color-light: #CBCBCB;
  --color-lightest: #EEEEEE;
  --color-dark: #4A4E44;
  --color-white: #FFFFFF;
  --color-black: #191919;

  --font-primary: 'Cormorant Garamond', serif;
  --font-secondary: 'Montserrat', sans-serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;

  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-round: 50%;

  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.1);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

body {
  font-family: var(--font-secondary);
  color: var(--color-dark);
  line-height: 1.6;
  background-color: var(--color-white);
}

body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

body.no-scroll .mobile-nav,
body.no-scroll .mobile-nav-link,
body.no-scroll .mobile-nav-item,
body.no-scroll .mobile-nav-close,
body.no-scroll .mobile-nav-overlay {
  pointer-events: auto !important;
  touch-action: manipulation !important;
}

body.no-scroll a,
body.no-scroll .btn,
body.no-scroll button {
  pointer-events: auto !important;
  touch-action: manipulation !important;
}

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

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;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(119, 124, 109, 0.3);
  cursor: pointer;
}

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

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

p {
  margin-bottom: var(--space-md);
}

button,
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition-fast);
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
  user-select: none;
  -webkit-user-select: none;
}

button:hover,
.btn:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

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

.header {
  padding: var(--space-md) 0;
  background-color: var(--color-white);
  position: relative;
  z-index: 100;
  transform: translateY(0);
  transition: transform var(--transition-normal);
}

.header.hidden {
  transform: translateY(-100%);
}

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

.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);
}

@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-toggle {
  display: none;
  background: none;
  border: none;
  padding: var(--space-sm);
  cursor: pointer;
  z-index: 1001;
  position: relative;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-dark);
  transition: all var(--transition-fast);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav {
  display: flex;
  align-items: center;
}

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

.nav-link {
  color: var(--color-dark);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.hero {
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-lightest);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(183, 184, 159, 0.3), transparent 40%),
    radial-gradient(circle at 70% 30%, rgba(119, 124, 109, 0.2), transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: var(--space-lg);
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
  color: var(--color-dark);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
  color: var(--color-primary);
}

.hero-cta {
  padding: var(--space-sm) var(--space-lg);
  font-size: 1rem;
}

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

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

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--color-primary);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: var(--space-md);
  margin-top: var(--space-lg);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-light);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.gallery-image {
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: var(--color-white);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.services {
  background-color: var(--color-lightest);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-gap: var(--space-lg);
}

.service-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: transform var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.service-content {
  padding: var(--space-lg);
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.service-price {
  color: var(--color-primary);
  font-weight: 600;
  margin: var(--space-md) 0;
}

.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonial {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-lg);
}

.testimonial-text {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  font-weight: 600;
}

.about {
  background-color: var(--color-lightest);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: var(--space-xl);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.about-text h3 {
  margin-bottom: var(--space-md);
}

.contact {
  position: relative;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: var(--space-xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-icon {
  color: var(--color-primary);
  font-size: 1.5rem;
}

.contact-form {
  background-color: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-light);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: 0.9rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--color-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-secondary);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.form-checkbox input {
  margin-top: 5px;
}

.form-checkbox label {
  font-size: 0.9rem;
}

.form-submit {
  width: 100%;
  padding: var(--space-md);
}

.map {
  height: 400px;
  width: 100%;
}

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

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-light);
  padding-bottom: var(--space-md);
}

.faq-question {
  font-weight: 600;
  cursor: pointer;
  padding: var(--space-sm) 0;
  position: relative;
  padding-right: 30px;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform var(--transition-fast);
}

.faq-question.active::after {
  content: '−';
}

.faq-answer {
  padding-top: var(--space-sm);
  display: none;
}

.faq-answer.active {
  display: block;
}

.footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: var(--space-lg) 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-info {
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
}

.footer-nav {
  columns: 2;
  column-gap: var(--space-xl);
}

.footer-nav-list {
  list-style: none;
}

.footer-nav-item {
  margin-bottom: var(--space-sm);
}

.footer-nav-link {
  color: var(--color-lightest);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-nav-link:hover {
  color: var(--color-secondary);
}

.footer-bottom {
  padding-top: var(--space-md);
  margin-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.8rem;
}

.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: space-between;
}

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
}

.error-page {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color-lightest);
}

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

.error-title {
  font-size: 6rem;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.error-subtitle {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
}

.thank-you-page {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
  padding: var(--space-xl);
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

@media (min-width: 769px) {
  .mobile-nav,
  .mobile-nav-overlay {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
  }

  .mobile-nav-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
  }

  .mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .mobile-nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85%;
    height: 100vh;
    background-color: var(--color-white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav.active {
    transform: translateX(0);
  }

  .mobile-nav-list {
    list-style: none;
    padding: var(--space-xl) 0;
    margin: 0;
  }

  .mobile-nav-item {
    border-bottom: 1px solid var(--color-lightest);
  }

  .mobile-nav-item:first-child {
    border-top: 1px solid var(--color-lightest);
  }

  .mobile-nav-link {
    display: block;
    padding: var(--space-md) var(--space-lg);
    color: var(--color-dark);
    font-size: 1rem;
    text-decoration: none;
    transition: background-color var(--transition-fast), color var(--transition-fast);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    min-height: 50px;
    display: flex;
    align-items: center;
  }

  .mobile-nav-link:hover,
  .mobile-nav-link:active {
    background-color: var(--color-lightest);
    color: var(--color-primary);
  }

  .mobile-nav-link,
  .mobile-nav-item {
    pointer-events: auto !important;
    position: relative;
    z-index: 1000;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(119, 124, 109, 0.2);
  }

  .mobile-nav-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-dark);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    touch-action: manipulation;
  }

  .mobile-nav-close:hover {
    color: var(--color-primary);
  }
}

@media (max-width: 992px) {
  html {
    font-size: 15px;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    grid-gap: var(--space-lg);
  }

  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .footer-content {
    flex-direction: column;
  }

  .hero {
    height: 70vh;
  }

  .btn {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .footer-nav-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) 0;
  }
}
