/* Peony Bloom Estates - Modern Website Styles */

/* CSS Variables for consistent theming */
:root {
  --primary-color: #0F52BA;
  --secondary-color: #0C3F8F;
  --accent-color: #C7A86D;
  --text-light: #ffffff;
  --text-dark: #000000;
  --bg-dark: #000000;
  --bg-light: #ffffff;
  --gradient-primary: linear-gradient(90deg, #0F52BA 0%, #0C3F8F 60%, #C7A86D 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.3);
  --border-radius: 16px;
  --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.9;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(13, 13, 13, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-light);
}

.logo img {
  height: 50px;
  margin-right: 15px;
}

.logo-text {
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-light);
}

/* Navigation */
.nav {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

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

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: -1;
}

.hero-content {
  text-align: center;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-cta {
  display: inline-block;
  padding: 15px 30px;
  background: var(--gradient-primary);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(15, 82, 186, 0.3);
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(15, 82, 186, 0.4);
}

/* Slideshow Navigation */
.slideshow-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
}

.slide-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
}

.slide-dot.active {
  background: var(--text-light);
  transform: scale(1.2);
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-badge {
  display: inline-block;
  padding: 12px 30px;
  background: var(--gradient-primary);
  color: var(--text-dark);
  border-radius: 30px;
  font-weight: 900;
  letter-spacing: 2px;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Card Styles */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: var(--gradient-card);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--border-radius);
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 0 var(--border-radius) 0 60px;
  opacity: 0.3;
}

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

.card h4 {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.card p {
  color: var(--text-light);
  opacity: 0.9;
  line-height: 1.6;
}

/* Image Carousel */
.image-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  margin: 3rem 0;
}

.carousel-container {
  display: flex;
  transition: transform 0.8s ease-in-out;
}

.carousel-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  flex-shrink: 0;
}

.carousel-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--accent-color);
  transform: scale(1.2);
}

/* Testimonials */
.testimonials {
  background: #23272b;
  padding: 80px 0;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--text-light);
  color: var(--text-dark);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: var(--gradient-primary);
  border-radius: 3px 3px 0 0;
}

.testimonial-quote {
  font-size: 3rem;
  color: #e0e0e0;
  margin-bottom: 1rem;
}

.star-rating {
  color: #1ec773;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.testimonial-date {
  color: #888;
  font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
  background: var(--gradient-card);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-control {
  width: 100%;
  padding: 15px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  color: var(--text-light);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(199, 168, 109, 0.1);
}

.form-control::placeholder {
  color: rgba(255,255,255,0.7);
}

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

.btn-submit {
  background: var(--gradient-primary);
  color: var(--text-dark);
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(15, 82, 186, 0.3);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(15, 82, 186, 0.4);
}

/* Footer */
.footer {
  background: var(--bg-dark);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-contact {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  color: var(--text-light);
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent-color);
  color: var(--text-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
}

.footer-legal {
  margin-top: 1rem;
}

.footer-legal a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin: 0 15px;
  transition: var(--transition);
}

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
  }
  
  .nav.active {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .logo-text {
    font-size: 1.5rem;
  }
  
  .logo img {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .testimonial-card {
    padding: 2rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-center { justify-content: center; }
.align-center { align-items: center; }
