/*
Theme Name: Symphony Heights - Luxury Real Estate
Description: A sophisticated WordPress theme for luxury real estate developments, featuring modern design, architectural showcases, and premium typography.
Version: 1.0.0
Author: Symphony Heights Development Ltd
Text Domain: symphony-heights
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  line-height: 1.2;
}

/* Luxury Color Palette */
:root {
  --luxury-gold: #fbbf24;
  --luxury-gold-light: #fcd34d;
  --luxury-purple: #8b5cf6;
  --luxury-teal: #0f766e;
  --luxury-charcoal: #2c3e50;
  --luxury-cream: #fefbf3;
  --luxury-sage: #6b7280;
  --luxury-white: #ffffff;
  --luxury-black: #1a1a1a;
}

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

.section {
  padding: 80px 0;
}

/* Typography */
.hero-title {
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--luxury-charcoal);
}

.subtitle {
  font-size: 1.25rem;
  color: var(--luxury-sage);
  max-width: 60ch;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

/* Animations */
@keyframes color-cycle {
  0% { color: var(--luxury-purple); }
  25% { color: var(--luxury-gold); }
  50% { color: var(--luxury-teal); }
  75% { color: #f97316; }
  100% { color: var(--luxury-purple); }
}

@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-cursor {
  0%, 50% { border-color: var(--luxury-gold); }
  51%, 100% { border-color: transparent; }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.color-cycle {
  animation: color-cycle 4s ease-in-out infinite;
}

.typewriter {
  overflow: hidden;
  border-right: 3px solid;
  white-space: nowrap;
  animation: 
    typewriter 3s steps(60, end) 1s both,
    blink-cursor 1s step-end infinite;
}

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

/* Gradients */
.luxury-gradient {
  background: linear-gradient(135deg, var(--luxury-gold) 0%, var(--luxury-purple) 50%, var(--luxury-teal) 100%);
}

.elegant-gradient {
  background: linear-gradient(135deg, var(--luxury-charcoal) 0%, var(--luxury-purple) 100%);
}

.gold-gradient {
  background: linear-gradient(135deg, var(--luxury-gold-light) 0%, var(--luxury-gold) 100%);
}

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border: none;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  margin: 8px;
}

.btn-primary {
  background: var(--elegant-gradient);
  color: white;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Cards */
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.card-content {
  padding: 2rem;
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

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

@media (max-width: 768px) {
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Stats Cards */
.stat-card {
  text-align: center;
  padding: 2rem;
}

.stat-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--luxury-charcoal);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-weight: 500;
  color: var(--luxury-sage);
}

/* Image Gallery */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.image-modal.active {
  opacity: 1;
  visibility: visible;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* Floor Plan Cards */
.floor-plan-card {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
}

.floor-plan-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 2rem;
}

/* Contact Section */
.contact-card {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
}

.contact-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer */
.footer {
  background: var(--elegant-gradient);
  color: white;
  text-align: center;
  padding: 3rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .container {
    padding: 0 15px;
  }
}

/* WordPress Specific */
.wp-block-group {
  margin-bottom: 2rem;
}

.aligncenter {
  text-align: center;
}

.alignleft {
  float: left;
  margin-right: 1rem;
}

.alignright {
  float: right;
  margin-left: 1rem;
}