:root {
  --color-charcoal: #0F0F0F;
  --color-white: #FFFFFF;
  --color-gold: #D4AF37;
  --color-ivory: #F1EEE7;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  --font-primary: 'Space Grotesk', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --shadow-sm: 0 2px 4px rgba(15, 15, 15, 0.1);
  --shadow-md: 0 4px 8px rgba(15, 15, 15, 0.15);
  --shadow-lg: 0 8px 16px rgba(15, 15, 15, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-secondary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-charcoal);
  background-color: var(--color-white);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--color-charcoal);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

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);
}

p {
  margin-bottom: var(--space-md);
  font-size: clamp(0.9rem, 2vw, 1rem);
}

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-charcoal);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  box-sizing: border-box;
}

@media (max-width: 320px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .logo {
    font-size: 0.9rem;
    letter-spacing: 0.03em;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-lg);
  }
 
  .logo {
    font-size: 1.2rem;
    letter-spacing: 0.03em;
  }
}

.header {
  position: relative;
  background: var(--color-white);
  padding: var(--space-md) 0;
  z-index: 1000;
  overflow: hidden;
  width: 100%;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  gap: var(--space-sm);
  min-width: 0;
}

.logo {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--color-charcoal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1002;
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-menu {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-100%);
  transition: transform var(--transition-base), opacity var(--transition-base);
  z-index: 1002;
  padding: var(--space-xxl) var(--space-lg);
  overflow-y: auto;
  pointer-events: none;
  opacity: 0;
}

.nav-menu.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-xxl);
}

.nav-menu a {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-charcoal);
  display: block;
  padding: var(--space-sm) 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition-base);
}

.nav-menu a:hover {
  border-bottom-color: var(--color-gold);
  color: var(--color-gold);
}

.menu-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--color-charcoal);
  padding: var(--space-sm);
  z-index: 1002;
  position: relative;
  transition: color var(--transition-base);
  flex: 0 0 auto;
  flex-shrink: 0;
}

.menu-button:hover {
  color: var(--color-gold);
}

@media (min-width: 1024px) {
  .header {
    overflow: visible;
  }

  .nav-menu {
    display: block;
    position: static;
    transform: none;
    width: auto;
    height: auto;
    max-width: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    overflow-y: visible;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu ul {
    flex-direction: row;
    gap: var(--space-lg);
    margin-top: 0;
    position: relative;
  }

  .nav-menu a {
    font-size: 1rem;
    padding: var(--space-xs) 0;
    position: relative;
    z-index: 1;
  }

  .menu-button {
    display: none;
  }
}

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../gallery/hero-bg.png');
  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(15, 15, 15, 0.4) 0%, rgba(212, 175, 55, 0.2) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: var(--space-xl) var(--space-md);
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  text-shadow: 2px 2px 8px rgba(15, 15, 15, 0.5);
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--color-white);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-xl);
  background: var(--color-gold);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  margin-top: var(--space-md);
  text-align: center;
}

.btn:hover {
  background: transparent;
  color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.btn-secondary:hover {
  background: var(--color-gold);
  color: var(--color-white);
}

.section {
  padding: var(--space-xxl) 0;
}

.section-alt {
  background: var(--color-ivory);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-md);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-gold);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  overflow: hidden;
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  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-charcoal);
}

.card p {
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}

.price {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-top: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--color-charcoal);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid var(--color-ivory);
  border-radius: var(--radius-md);
  font-family: var(--font-secondary);
  font-size: 1rem;
  transition: border-color var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  cursor: pointer;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.9rem;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer {
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: var(--space-xl) 0 var(--space-md);
  margin-top: var(--space-xxl);
}

.footer-content {
  text-align: center;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer-menu a {
  color: var(--color-white);
  font-size: 0.9rem;
  transition: color var(--transition-base);
}

.footer-menu a:hover {
  color: var(--color-gold);
}

.footer p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-xs);
}

.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-xxl) var(--space-md);
  background: var(--color-white);
  line-height: 1.8;
}

.legal-page .container {
  max-width: 900px;
}

.legal-page h1 {
  margin-bottom: var(--space-lg);
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--color-charcoal);
  position: relative;
  padding-bottom: var(--space-md);
}

.legal-page h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--color-gold);
}

.legal-page > .container > p:first-of-type {
  text-align: center;
  color: rgba(15, 15, 15, 0.7);
  font-size: 0.95rem;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-ivory);
}

.legal-page h2 {
  margin-top: var(--space-xxl);
  margin-bottom: var(--space-lg);
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  color: var(--color-charcoal);
  font-weight: 700;
  position: relative;
  padding-left: var(--space-md);
  border-left: 4px solid var(--color-gold);
}

.legal-page h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--color-charcoal);
  font-weight: 600;
}

.legal-page p {
  margin-bottom: var(--space-md);
  color: rgba(15, 15, 15, 0.85);
  font-size: clamp(0.95rem, 2vw, 1rem);
}

.legal-page p strong {
  color: var(--color-charcoal);
  font-weight: 600;
}

.legal-page ul,
.legal-page ol {
  margin-left: var(--space-lg);
  margin-bottom: var(--space-lg);
  padding-left: var(--space-md);
}

.legal-page ul {
  list-style: none;
}

.legal-page ul li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: rgba(15, 15, 15, 0.85);
}

.legal-page ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: bold;
}

.legal-page ol li {
  margin-bottom: var(--space-sm);
  color: rgba(15, 15, 15, 0.85);
  padding-left: var(--space-xs);
}

.legal-page a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-base);
}

.legal-page a:hover {
  color: var(--color-charcoal);
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-width: 100%;
}

.legal-page table th,
.legal-page table td {
  padding: var(--space-md);
  border: 1px solid var(--color-ivory);
  text-align: left;
  font-size: 0.95rem;
}

.legal-page table th {
  background: var(--color-gold);
  color: var(--color-white);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.legal-page table tr:nth-child(even) {
  background: var(--color-ivory);
}

.legal-page table tr:hover {
  background: rgba(212, 175, 55, 0.1);
  transition: background var(--transition-fast);
}

@media (max-width: 767px) {
  .legal-page {
    padding: var(--space-xl) var(--space-sm);
  }

  .legal-page h2 {
    padding-left: var(--space-sm);
    font-size: 1.5rem;
  }

  .legal-page table {
    font-size: 0.85rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .legal-page table thead {
    display: table-header-group;
  }

  .legal-page table tbody {
    display: table-row-group;
  }

  .legal-page table tr {
    display: table-row;
  }

  .legal-page table th,
  .legal-page table td {
    padding: var(--space-sm);
    display: table-cell;
  }

  .legal-page ul,
  .legal-page ol {
    margin-left: var(--space-md);
    padding-left: var(--space-sm);
  }
}

.home-button {
  display: inline-block;
  margin-top: var(--space-xl);
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-gold);
  color: var(--color-white) !important;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-decoration: none;
}

.home-button:hover {
  background: var(--color-charcoal);
  color: var(--color-white) !important;
  transform: translateX(-5px);
}

.error-page {
  text-align: center;
  padding: var(--space-xxl) var(--space-md);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.error-page h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.error-page p {
  font-size: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: var(--space-xl);
}

.thank-you-page {
  text-align: center;
  padding: var(--space-xxl) var(--space-md);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you-page h1 {
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
}

.thank-you-page p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: var(--space-xl);
}

.privacy-popup {
  display: none;
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  max-width: 500px;
  margin: 0 auto;
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  border: 2px solid var(--color-gold);
}

.privacy-popup.active {
  display: block;
}

.privacy-popup p {
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
}

.privacy-popup-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: flex-end;
}

.privacy-popup-buttons button {
  padding: var(--space-xs) var(--space-md);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-primary);
  font-weight: 600;
  transition: all var(--transition-base);
}

.privacy-popup-accept {
  background: var(--color-gold);
  color: var(--color-white);
}

.privacy-popup-accept:hover {
  background: var(--color-charcoal);
  color: var(--color-white);
}

.privacy-popup-decline {
  background: var(--color-ivory);
  color: var(--color-charcoal);
}

.privacy-popup-decline:hover {
  background: var(--color-charcoal);
  color: var(--color-white);
}

@media (max-width: 767px) {
  .section {
    padding: var(--space-xl) 0;
  }

  .hero {
    min-height: 50vh;
  }

  .card {
    padding: var(--space-md);
  }

  .footer-menu {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .privacy-popup {
    left: var(--space-sm);
    right: var(--space-sm);
    bottom: var(--space-sm);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.animated-bg {
  position: relative;
  overflow: hidden;
}

.animated-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  animation: shimmer 3s infinite;
}

