/* Custom styles for The LakeView at Cedar Brae */

/* Base styles */
:root {
  --plum-50: #faf5f7;
  --plum-100: #f5e9ed;
  --plum-200: #ebd1db;
  --plum-300: #d9adbb;
  --plum-400: #c27e96;
  --plum-500: #a65572;
  --plum-600: #8a3f58;
  --plum-700: #6e3046;
  --plum-800: #5a293b;
  --plum-900: #4c2432;
  --plum-950: #2a1219;
  
  --amber-50: #fffbeb;
  --amber-100: #fff3cd;
  --amber-200: #ffe69c;
  --amber-300: #ffd35c;
  --amber-400: #ffc020;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --amber-900: #78350f;
  --amber-950: #451a03;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
  background-color: #faf8f6;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
.font-serif {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

.font-sans {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #faf8f6;
}

::-webkit-scrollbar-thumb {
  background: #a65572;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #8a3f58;
}

/* Navigation styles */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #f59e0b;
  transition: width 0.3s ease;
}

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

/* Button styles */
.btn-primary {
  background: linear-gradient(135deg, #a65572 0%, #8a3f58 100%);
  color: white;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(166, 85, 114, 0.3);
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(166, 85, 114, 0.4);
  background: linear-gradient(135deg, #c27e96 0%, #a65572 100%);
}

.btn-secondary {
  background: transparent;
  color: #a65572;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  border: 2px solid #a65572;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-secondary:hover {
  background: #a65572;
  color: white;
  transform: translateY(-2px);
}

/* Card hover effects */
.feature-card {
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(166, 85, 114, 0.15);
}

/* Image hover zoom */
.img-zoom {
  overflow: hidden;
  border-radius: 12px;
}

.img-zoom img {
  transition: transform 0.5s ease;
}

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

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* Decorative elements */
.decorative-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #a65572, #f59e0b);
  border-radius: 2px;
}

/* Quote styling */
.quote-mark {
  font-size: 120px;
  line-height: 1;
  color: #f5e9ed;
  font-family: 'Playfair Display', serif;
  position: absolute;
  top: -40px;
  left: -20px;
  user-select: none;
}

/* Form styling */
.form-input {
  background: white;
  border: 2px solid #f5e9ed;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 16px;
  width: 100%;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
}

.form-input:focus {
  outline: none;
  border-color: #a65572;
  box-shadow: 0 0 0 3px rgba(166, 85, 114, 0.1);
}

.form-input::placeholder {
  color: #d9adbb;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .font-serif {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }
  
  .quote-mark {
    font-size: 80px;
    top: -20px;
    left: -10px;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 14px 24px;
    font-size: 14px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .nav-link::after,
  .mobile-menu,
  .btn-primary,
  .btn-secondary {
    display: none;
  }
  
  body {
    color: #000;
    background: #fff;
  }
}
