@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Work+Sans:wght@300;400;500;600&display=swap');

:root {
  /* Colors */
  --color-primary: #FCFCFC;
  --color-secondary: #F5F5F5;
  --color-tertiary: #EFEFEF;
  --color-accent: #EDE9E6;
  --color-warm: #F8F7F4;
  --color-dark: #1a1a1a;
  --color-text: #2d2d2d;
  --color-text-light: #6b6b6b;
  --color-border: #e0e0e0;
  --color-success: #4caf50;
  --color-highlight: #3d5a80;
  
  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  --font-size-4xl: 3.5rem;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Layout */
  --container-max: 1200px;
  --container-padding: var(--space-md);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
}

h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
}

h4 {
  font-size: var(--font-size-xl);
  font-weight: 600;
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
}

a {
  color: var(--color-highlight);
  text-decoration: none;
  transition: all var(--transition-base);
}

a:hover {
  opacity: 0.7;
}

/* Header */
.header {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-warm) 100%);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-sm) var(--container-padding);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  position: relative;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.01em;
  transition: all var(--transition-base);
}

.logo:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  position: relative;
  width: 2rem;
  height: 2rem;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-dark);
  transition: all var(--transition-base);
  position: absolute;
  left: 0;
}

.nav-toggle span:nth-child(1) {
  top: 6px;
}

.nav-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle span:nth-child(3) {
  bottom: 6px;
}

.nav-toggle.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

.main-nav {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.main-nav a {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--color-highlight);
  transition: width var(--transition-base);
}

.main-nav a:hover::after {
  width: 80%;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Hero Section */
.hero {
  padding: var(--space-3xl) 0;
  background: linear-gradient(180deg, var(--color-warm) 0%, var(--color-primary) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(237, 233, 230, 0.3) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h1 {
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease forwards;
}

.hero p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

/* 3D Slider */
.slider-3d {
  position: relative;
  width: 100%;
  height: 400px;
  margin: var(--space-xl) 0;
  perspective: 1000px;
  overflow: hidden;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform var(--transition-slow);
}

.slider-item {
  position: absolute;
  width: 70%;
  height: 100%;
  left: 15%;
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all var(--transition-slow);
  opacity: 0;
  transform: translateZ(-200px) rotateY(0deg);
}

.slider-item.active {
  opacity: 1;
  transform: translateZ(0) rotateY(0deg);
  z-index: 10;
}

.slider-item.prev {
  opacity: 0.4;
  transform: translateZ(-100px) translateX(-60%) rotateY(15deg);
  z-index: 5;
}

.slider-item.next {
  opacity: 0.4;
  transform: translateZ(-100px) translateX(60%) rotateY(-15deg);
  z-index: 5;
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: black;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.slider-dot.active {
  background-color: rgb(127, 127, 255);
  width: 30px;
}

/* Sections */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section:nth-child(even) {
  background-color: var(--color-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
}

/* Grid */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Cards */
.card {
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: inline-block;
}

.card h3 {
  margin-bottom: var(--space-sm);
  font-size: var(--font-size-xl);
}

.card p {
  margin-bottom: 0;
  font-size: var(--font-size-sm);
}

.card .price {
  font-family: var(--font-display);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-highlight);
  margin: var(--space-md) 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: 500;
  text-align: center;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-dark);
  color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-highlight);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  opacity: 1;
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-dark);
  border: 2px solid var(--color-dark);
}

.btn-secondary:hover {
  background-color: var(--color-dark);
  color: var(--color-primary);
  opacity: 1;
}

/* Contact Form */
.contact-wrapper {
  background: linear-gradient(135deg, var(--color-warm) 0%, var(--color-accent) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
  font-size: var(--font-size-sm);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  transition: all var(--transition-base);
  background-color: var(--color-primary);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-highlight);
  box-shadow: 0 0 0 3px rgba(61, 90, 128, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.form-checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  cursor: pointer;
}

.form-checkbox label {
  margin-bottom: 0;
  cursor: pointer;
  font-size: var(--font-size-sm);
}

/* Map */
.map-container {
  margin-top: var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Footer */
.footer {
  background-color: var(--color-dark);
  color: var(--color-primary);
  padding: var(--space-lg) 0;
  margin-top: var(--space-3xl);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  opacity: 0.8;
  transition: opacity var(--transition-base);
}

.footer-links a:hover {
  opacity: 1;
}

.copyright {
  font-size: var(--font-size-xs);
  opacity: 0.7;
}

/* Privacy Popup */
.privacy-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-dark);
  color: var(--color-primary);
  padding: var(--space-md);
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.privacy-popup.show {
  transform: translateY(0);
}

.privacy-popup-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.privacy-popup-content p {
  margin-bottom: 0;
  font-size: var(--font-size-sm);
  color: var(--color-primary);
}

.privacy-popup-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.privacy-popup-actions {
  display: flex;
  gap: var(--space-sm);
}

.btn-accept {
  background-color: var(--color-primary);
  color: var(--color-dark);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all var(--transition-base);
}

.btn-accept:hover {
  background-color: var(--color-highlight);
  color: var(--color-primary);
}

/* Thank You Page */
.thank-you-wrapper {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--color-success);
  margin-bottom: var(--space-lg);
  animation: scaleIn 0.5s ease;
}

/* 404 Page */
.error-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, var(--color-warm) 0%, var(--color-primary) 100%);
}

.error-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-content {
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease forwards;
}

.error-icon {
  font-size: 5rem;
  color: var(--color-highlight);
  margin-bottom: var(--space-lg);
  display: block;
  animation: scaleIn 0.6s ease 0.2s forwards;
  opacity: 0;
}

.error-code {
  font-size: 6rem;
  font-weight: 800;
  color: var(--color-highlight);
  margin: 0 0 var(--space-md);
  line-height: 1;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-highlight) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.error-title {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-md);
  color: var(--color-text);
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.error-message {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xl);
  color: var(--color-text-light);
  line-height: var(--line-height-relaxed);
  animation: fadeInUp 0.8s ease 0.5s forwards;
  opacity: 0;
}

.error-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.helpful-links-section {
  background-color: var(--color-secondary);
}

.btn-link {
  margin-top: var(--space-md);
  display: inline-block;
  background-color: transparent;
  color: var(--color-highlight);
  border: 2px solid var(--color-highlight);
  padding: var(--space-sm) var(--space-lg);
}

.btn-link:hover {
  background-color: var(--color-highlight);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  opacity: 1;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --font-size-4xl: 2.5rem;
    --font-size-3xl: 2rem;
    --font-size-2xl: 1.5rem;
    --space-3xl: 3rem;
    --space-2xl: 2rem;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-primary);
    flex-direction: column;
    padding: var(--space-md);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    gap: var(--space-sm);
  }
  
  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .main-nav a {
    width: 100%;
    text-align: left;
  }
  
  .slider-3d {
    height: 300px;
  }
  
  .slider-item {
    padding: var(--space-lg);
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-wrapper {
    padding: var(--space-lg);
  }
  
  /* 404 Page Responsive */
  .error-section {
    min-height: 50vh;
    padding: var(--space-xl) 0;
  }
  
  .error-icon {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
  }
  
  .error-code {
    font-size: 4rem;
  }
  
  .error-title {
    font-size: var(--font-size-xl);
  }
  
  .error-message {
    font-size: var(--font-size-base);
  }
  
  .error-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .error-actions .btn {
    width: 100%;
    max-width: 280px;
  }
  
}

@media (max-width: 480px) {
  :root {
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.75rem;
    --space-xl: 2rem;
    --container-padding: var(--space-sm);
  }
  
  .hero {
    padding: var(--space-xl) 0;
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  .slider-3d {
    height: 250px;
  }
  
  .card {
    padding: var(--space-md);
  }
  
  /* 404 Page Responsive */
  .error-section {
    min-height: 50vh;
    padding: var(--space-lg) 0;
  }
  
  .error-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
  }
  
  .error-code {
    font-size: 3.5rem;
  }
  
  .error-title {
    font-size: var(--font-size-lg);
  }
  
  .error-message {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-lg);
  }
  
  .error-actions {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .error-actions .btn {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 320px) {
  :root {
    /* Typography */
    --font-size-xs: 0.625rem;
    --font-size-sm: 0.75rem;
    --font-size-base: 0.875rem;
    --font-size-lg: 1rem;
    --font-size-xl: 1.125rem;
    --font-size-2xl: 1.25rem;
    --font-size-3xl: 1.5rem;
    --font-size-4xl: 1.75rem;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 0.75rem;
    --space-lg: 1rem;
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
    --space-3xl: 2.5rem;

    /* Container */
    --container-padding: var(--space-sm);
  }

  /* Header & Navigation */
  .header-container {
    padding: var(--space-xs) var(--space-sm);
    gap: var(--space-xs);
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-primary);
    flex-direction: column;
    padding: var(--space-xs);
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    gap: var(--space-xs);
    z-index: 1000;
  }

  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    font-size: var(--font-size-xs);
    padding: var(--space-xs);
    width: 100%;
    text-align: left;
  }

  /* Hero Section */
  .hero {
    padding: var(--space-2xl) 0;
  }

  .hero-content {
    max-width: 95%;
  }

  .hero h1 {
    font-size: var(--font-size-2xl);
    line-height: 1.3;
  }

  .hero p {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-md);
  }

  /* Slider */
  .slider-3d {
    height: 180px;
  }

  .slider-item {
    width: 95%;
    left: 2.5%;
    padding: var(--space-sm);
  }

  /* Sections & Cards */
  .section {
    padding: var(--space-md) 0;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .card {
    padding: var(--space-sm);
  }

  /* Buttons */
  .btn {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--font-size-sm);
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xs);
  }

  .footer-links {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .footer-links a {
    font-size: var(--font-size-xs);
  }

  /* Contact Form */
  .contact-wrapper {
    padding: var(--space-md);
  }

  .form-group input,
  .form-group textarea {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--font-size-sm);
  }

  .form-group textarea {
    min-height: 100px;
  }

  /* Map */
  .map-container iframe {
    height: 200px;
  }

  /* Misc small adjustments */
  .slider-nav {
    gap: var(--space-xs);
  }

  .slider-dot {
    width: 8px;
    height: 8px;
  }

  .slider-dot.active {
    width: 20px;
  }

  .privacy-popup-content {
    flex-direction: column;
    gap: var(--space-xs);
  }
  /* Error & Thank You Pages */
  .error-section {
    min-height: 40vh;
    padding: var(--space-md) 0;
  }
  
  .error-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-xs);
  }
  
  .error-code {
    font-size: 2.5rem;
    margin-bottom: var(--space-xs);
  }
  
  .error-title {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-xs);
  }
  
  .error-message {
    font-size: var(--font-size-xs);
    margin-bottom: var(--space-md);
    line-height: var(--line-height-normal);
  }
  
  .error-actions {
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  .error-actions .btn {
    width: 100%;
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--font-size-sm);
  }
  
  .thank-you-content {
    padding: var(--space-sm);
  }
  
}

