@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --onyx: #0B0B0E;
  --gold: #C9A24D;
  --burgundy: #4B0F1E;
  --sapphire: #0D1B3D;
  --ivory: #F6F1E8;
  
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', 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(11, 11, 14, 0.1);
  --shadow-md: 0 4px 16px rgba(11, 11, 14, 0.15);
  --shadow-lg: 0 8px 32px rgba(11, 11, 14, 0.2);
  
  --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-luxury: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--onyx);
  background: var(--ivory);
  overflow-x: hidden;
}

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

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

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

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

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

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

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

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--transition-smooth);
}

.header.scrolled {
  position: fixed;
  background: rgba(246, 241, 232, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: var(--space-sm) 0;
  transform: translateY(0);
}

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

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

.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--onyx);
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
}

.logo:hover {
  color: var(--gold);
  transform: scale(1.02);
}

.nav {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--onyx);
  position: relative;
  padding: var(--space-xs) 0;
}

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

.nav a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  width: 25px;
  height: 2px;
  background: var(--onyx);
  transition: all var(--transition-fast);
}

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

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

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

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sapphire) 0%, var(--burgundy) 100%);
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--ivory);
  max-width: 700px;
  animation: fadeInUp 1s var(--transition-luxury);
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: var(--space-md);
  color: var(--ivory);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-lg);
  transition: all var(--transition-smooth);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--onyx);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--ivory);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--ivory);
  border: 2px solid var(--ivory);
}

.btn-secondary:hover {
  background: var(--ivory);
  color: var(--onyx);
}

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

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-luxury);
}

.section-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title h2 {
  color: var(--onyx);
  margin-bottom: var(--space-sm);
}

.section-title p {
  color: var(--sapphire);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  opacity: 0;
  transform: translateY(30px);
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-luxury);
}

.card:hover .card-img {
  transform: scale(1.05);
}

.card-content {
  padding: var(--space-md);
}

.card-content h3 {
  color: var(--onyx);
  margin-bottom: var(--space-xs);
}

.card-content p {
  color: var(--sapphire);
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
}

.price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
}

.asymmetric-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-lg);
  align-items: center;
}


.asymmetric-section:nth-child(even) .asymmetric-content {
  order: 2;
}

.asymmetric-section:nth-child(even) .asymmetric-img {
  order: 1;
}

.asymmetric-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transform: rotate(-2deg);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-luxury);
}

.asymmetric-img:hover {
  transform: rotate(0deg) scale(1.02);
}

.asymmetric-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.feature {
  text-align: center;
  padding: var(--space-md);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  opacity: 0;
  transform: scale(0.9);
}

.feature.visible {
  opacity: 1;
  transform: scale(1);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature i {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.feature h4 {
  color: var(--onyx);
  margin-bottom: var(--space-xs);
}

.feature p {
  font-size: 0.85rem;
  color: var(--sapphire);
}

.contact-section {
  background: linear-gradient(135deg, var(--sapphire) 0%, var(--burgundy) 100%);
  color: var(--ivory);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.contact-info h3 {
  color: var(--ivory);
  margin-bottom: var(--space-md);
}

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

.contact-item i {
  font-size: 1.3rem;
  color: var(--gold);
  margin-top: 0.2rem;
}

.contact-item div h4 {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.contact-item div p {
  font-size: 0.85rem;
  margin: 0;
}

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

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ivory);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid rgba(246, 241, 232, 0.3);
  border-radius: var(--radius-md);
  background: rgba(246, 241, 232, 0.1);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(246, 241, 232, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(246, 241, 232, 0.15);
}

.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.3rem;
}

.checkbox-group label {
  font-size: 0.75rem;
  margin: 0;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: var(--space-md);
}

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

.footer {
  background: var(--onyx);
  color: var(--ivory);
  padding: var(--space-md) 0;
  text-align: center;
  font-size: 0.8rem;
}

.footer p {
  margin: 0.3rem 0;
  opacity: 0.8;
}

.footer a {
  color: var(--gold);
  margin: 0 var(--space-xs);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 11, 14, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition-fast);
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--onyx);
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--ivory);
  transform: rotate(90deg);
}

.modal h2 {
  margin-bottom: var(--space-md);
  color: var(--onyx);
}

.modal p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.thank-you {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--sapphire) 0%, var(--burgundy) 100%);
  color: var(--ivory);
}

.thank-you-content {
  max-width: 600px;
  padding: var(--space-lg);
  margin-top: 80px;
}

.thank-you h1 {
  font-size: 3.5rem;
  color: var(--ivory);
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s var(--transition-luxury);
}

.thank-you p {
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 1s var(--transition-luxury);
}

.error-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--ivory);
}

.error-content h1 {
  font-size: 8rem;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.error-content h2 {
  color: var(--onyx);
  margin-bottom: var(--space-md);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0;
  }
}

@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .asymmetric-section {
    grid-template-columns: 1fr;
  }
  
  .asymmetric-section:nth-child(even) .asymmetric-content {
    order: 1;
  }
  
  .asymmetric-section:nth-child(even) .asymmetric-img {
    order: 2;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 4rem;
  }
  
  body {
    font-size: 0.85rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--ivory);
    flex-direction: column;
    padding: var(--space-xl) var(--space-md);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-smooth);
  }
  
  .nav.active {
    right: 0;
  }
  
  .burger {
    display: flex;
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.8rem;
  }
  
  .card-img {
    height: 200px;
  }
}

@media (max-width: 320px) {
  :root {
    --space-xs: 0.4rem;
    --space-sm: 0.75rem;
    --space-md: 1.25rem;
    --space-lg: 2rem;
    --space-xl: 2.5rem;
  }
  
  body {
    font-size: 0.75rem;
  }
  
  h1 {
    font-size: 1.4rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
  
  h4 {
    font-size: 0.95rem;
  }
  
  .hero h1 {
    font-size: 1.6rem;
  }
  
  .hero p {
    font-size: 0.85rem;
  }
  
  .logo {
    font-size: 1.4rem;
  }
  
  .nav a {
    font-size: 0.75rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
  }
  
  .card-img {
    height: 180px;
  }
  
  .card-content {
    padding: var(--space-sm);
  }
  
  .feature {
    padding: var(--space-sm);
  }
  
  .feature i {
    font-size: 2rem;
  }
  
  .contact-section {
    padding: var(--space-md);
  }
  
  .form-group input,
  .form-group textarea {
    padding: 0.6rem;
    font-size: 0.75rem;
  }
  
  .modal-content {
    padding: var(--space-md);
  }
  
  .error-content h1 {
    font-size: 5rem;
  }
  
  .thank-you h1 {
    font-size: 2rem;
  }
}