:root {
  --color-jet-black: #0D0D0F;
  --color-mist-white: #F8F8F2;
  --color-soft-sand: #D3C7B6;
  --color-bronze-accent: #A67C52;
  
  --color-clay-rose: #CFAFA0;
  --color-porcelain: #FCF8F3;
  --color-smoky-charcoal: #3F3E3D;
  --color-olive-neutral: #8A8E6A;
  
  --color-pearl-white: #FBFBFC;
  --color-nickel-gray: #C2C6CE;
  --color-deep-graphite: #2C2F38;
  --color-gold-accent: #E8C873;
  
  --color-primary: var(--color-jet-black);
  --color-secondary: var(--color-mist-white);
  --color-accent: var(--color-bronze-accent);
  --color-text: var(--color-jet-black);
  --color-text-light: var(--color-smoky-charcoal);
  --color-bg: var(--color-mist-white);
  --color-bg-alt: var(--color-soft-sand);
  
  --font-heading: 'Playfair Display', 'Cormorant Garamond', serif;
  --font-body: 'Inter', 'Neue Haas Grotesk', sans-serif;
  --font-accent: 'Bebas Neue', 'Space Grotesk', sans-serif;
  
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-xxl: 6rem;
  
  --container-max-width: 1400px;
  --container-padding: var(--space-lg);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --shadow-soft: 0 4px 20px rgba(13, 13, 15, 0.08);
  --shadow-medium: 0 8px 40px rgba(13, 13, 15, 0.12);
  --shadow-strong: 0 12px 60px rgba(13, 13, 15, 0.16);
  --shadow-spotlight: 0 0 40px rgba(166, 124, 82, 0.2);
  
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
  
  --z-dropdown: 100;
  --z-header: 200;
  --z-popup: 300;
  --z-modal: 400;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

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

h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

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

.text-accent {
  font-family: var(--font-accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.main-content {
  flex: 1;
}

.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid rgba(13, 13, 15, 0.1);
  padding: var(--space-md) 0;
  position: relative;
  transition: transform var(--transition-medium), opacity var(--transition-medium);
}

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

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

.brand-text {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  z-index: calc(var(--z-header) + 1);
}

.nav-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-bg);
  border-bottom: 1px solid rgba(13, 13, 15, 0.1);
  box-shadow: var(--shadow-medium);
  z-index: var(--z-dropdown);
  padding: var(--space-lg);
}

.nav-menu.active {
  display: block;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.nav-item {
  padding: var(--space-sm) 0;
}

.nav-link {
  font-size: 1.125rem;
  font-weight: 500;
  position: relative;
  display: inline-block;
  transition: transform var(--transition-fast);
}

.nav-link:hover {
  transform: translateX(4px);
}

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

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

.burger-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  height: 28px;
  justify-content: center;
  z-index: calc(var(--z-header) + 1);
  position: relative;
}

.burger-line {
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition-fast);
}

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

.burger-toggle.active .burger-line:nth-child(2) {
  opacity: 0;
}

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

@media (min-width: 768px) {
  .nav-menu {
    position: static;
    display: block;
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }
  
  .nav-list {
    flex-direction: row;
    gap: var(--space-lg);
  }
  
  .burger-toggle {
    display: none;
  }
}

.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-soft-sand) 0%, var(--color-mist-white) 100%);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 13, 15, 0.6) 0%, rgba(166, 124, 82, 0.4) 100%);
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 3;
  padding: var(--space-xl) var(--space-md);
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.hero-title {
  margin-bottom: var(--space-lg);
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--color-mist-white);
  text-shadow: 0 2px 10px rgba(13, 13, 15, 0.5);
  font-weight: 900;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-mist-white);
  margin-bottom: var(--space-xl);
  text-shadow: 0 1px 5px rgba(13, 13, 15, 0.5);
}

.hero-cta {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  background: var(--color-bg);
  color: var(--color-text);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(13, 13, 15, 0.3);
}

.hero-cta:hover {
  background: var(--color-accent);
  color: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

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

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-label {
  font-family: var(--font-accent);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  cursor: pointer;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 13, 15, 0.7) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: var(--color-bg);
  font-weight: 600;
  font-size: 1.125rem;
}

.masonry-grid {
  column-count: 2;
  column-gap: var(--space-lg);
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-alt);
}

.masonry-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

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

@media (min-width: 768px) {
  .masonry-grid {
    column-count: 3;
  }
}

@media (min-width: 1024px) {
  .masonry-grid {
    column-count: 4;
  }
}

.styles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
}

.style-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-medium);
}

.style-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.style-header {
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--color-jet-black) 0%, var(--color-deep-graphite) 100%);
  color: var(--color-bg);
}

.style-title {
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
  color: var(--color-bg);
}

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

.style-details {
  margin-bottom: var(--space-md);
}

.detail-label {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
}

.detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.detail-tag {
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

.color-palette {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.color-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(13, 13, 15, 0.1);
}

.room-section {
  padding: var(--space-xxl) 0;
  border-bottom: 1px solid rgba(13, 13, 15, 0.1);
}

.room-header {
  margin-bottom: var(--space-xl);
}

.room-gallery {
  margin-bottom: var(--space-xl);
}

.tips-section {
  background: var(--color-bg-alt);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  margin-top: var(--space-lg);
}

.tips-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.tips-list {
  display: grid;
  gap: var(--space-md);
}

.tip-item {
  padding-left: var(--space-lg);
  position: relative;
}

.tip-item::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

.form-section {
  padding: var(--space-xxl) 0;
  max-width: 700px;
  margin: 0 auto;
}

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

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--color-text);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid rgba(13, 13, 15, 0.1);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
  background: var(--color-bg);
}

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

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

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

.form-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
}

.checkbox-label {
  font-size: 0.875rem;
  line-height: 1.5;
  cursor: pointer;
}

.submit-btn {
  width: 100%;
  padding: var(--space-md) var(--space-xl);
  background: var(--color-text);
  color: var(--color-bg);
  font-weight: 600;
  font-size: 1.125rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.submit-btn:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.contact-hero {
  padding: var(--space-xxl) 0;
  background: linear-gradient(135deg, var(--color-soft-sand) 0%, var(--color-mist-white) 100%);
  text-align: center;
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 13, 15, 0.6) 0%, rgba(166, 124, 82, 0.4) 100%);
  z-index: 0;
}

.contact-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-hero .hero-content {
  position: relative;
  z-index: 3;
  margin: 0 auto;
  width: 100%;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  padding: var(--space-xl) 0;
  margin-bottom: var(--space-xl);
}

.info-card {
  text-align: center;
  padding: var(--space-lg);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.info-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  color: var(--color-accent);
}

.info-label {
  font-family: var(--font-accent);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.info-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
}

.map-container {
  margin: var(--space-xl) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.map-iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

.site-footer {
  background: var(--color-text);
  color: var(--color-bg);
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: var(--space-xxl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.footer-section h4 {
  color: var(--color-bg);
  margin-bottom: var(--space-md);
  font-size: 1.125rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  color: rgba(248, 248, 242, 0.8);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(248, 248, 242, 0.2);
  color: rgba(248, 248, 242, 0.6);
  font-size: 0.875rem;
}

.privacy-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-text);
  color: var(--color-bg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-strong);
  z-index: var(--z-popup);
  transform: translateY(100%);
  transition: transform var(--transition-medium);
}

.privacy-popup.show {
  transform: translateY(0);
}

.popup-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.popup-text {
  flex: 1;
  min-width: 250px;
  font-size: 0.875rem;
}

.popup-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.popup-btn {
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.popup-btn-accept {
  background: var(--color-bg);
  color: var(--color-text);
}

.popup-btn-accept:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

.popup-btn-decline {
  background: transparent;
  color: var(--color-bg);
  border: 2px solid var(--color-bg);
}

.popup-btn-decline:hover {
  background: var(--color-bg);
  color: var(--color-text);
}

.thank-you-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xxl) 0;
}

.thank-you-section .container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.thank-you-content {
  max-width: 600px;
  padding: var(--space-xl);
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

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

.thank-you-title {
  margin-bottom: var(--space-md);
}

.thank-you-text {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
}

.error-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xxl) 0;
}

.error-section .container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.error-section .thank-you-content {
  max-width: 600px;
  padding: var(--space-xl);
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.error-code {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  line-height: 1;
}

.error-title {
  margin-bottom: var(--space-md);
}

.error-text {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
}

.vertical-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-accent);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: var(--color-text-light);
  position: absolute;
  left: var(--space-md);
  top: var(--space-xl);
  z-index: 10;
}

.glass-panel {
  background: rgba(248, 248, 242, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.text-center {
  text-align: center;
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mt-xl {
  margin-top: var(--space-xl);
}

@media (max-width: 767px) {
  :root {
    --container-padding: var(--space-md);
    --space-xl: 3rem;
    --space-xxl: 4rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .styles-grid {
    grid-template-columns: 1fr;
  }
  
  .masonry-grid {
    column-count: 1;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1400px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media print {
  .site-header,
  .site-footer,
  .privacy-popup,
  .burger-toggle {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}

