/* ========================================
 MARON Real Estate Group - Modern Redesign
 Inspired by Homepark Template
 ======================================== */

/* ========================================
 GOOGLE FONTS
 ======================================== */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap");

/* ========================================
 CSS VARIABLES - Modern Design System
 ======================================== */
:root {
  /* Brand Colors */
  --primary-color: rgba(204, 85, 0, 1);
  --primary-light: rgba(204, 85, 0, 0.8);
  --primary-dark: rgba(153, 64, 0, 1);
  --primary-gradient: linear-gradient(
    135deg,
    rgba(204, 85, 0, 1) 0%,
    rgba(153, 64, 0, 1) 100%
  );

  /* Neutral Colors */
  --text-dark: #2c2c2c;
  --text-medium: #6c6c6c;
  --text-light: #ffffff;
  --bg-dark: #1a1a1a;
  --bg-light: #f9f9f9;
  --bg-white: #ffffff;
  --border-light: #e5e5e5;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);

  /* Typography - Homepark Style */
  --font-heading: "Playfair Display", serif;
  --font-body: "Poppins", sans-serif;

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 48px;
  --spacing-xl: 80px;

  /* Transitions - Homepark Inspired */
  --transition-fast: 0.25s ease-in-out;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-elastic: 700ms cubic-bezier(0.86, 0, 0.07, 1);
  --transition-smooth: 500ms cubic-bezier(0.86, 0, 0.07, 1);

  /* Typography tokens */
  --font-small: 0.9rem;
  /* use for small UI text; prefer using classes instead of inline styles */

  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
}

/* ========================================
 RESET & BASE STYLES
 ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  background-color: var(--bg-white);
}

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

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

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  transition-duration: 700ms;
  -webkit-transition-duration: 700ms;
  transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
}

button:focus,
a:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* ========================================
 TYPOGRAPHY SYSTEM
 ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 600;
}

h5 {
  font-size: 1.25rem;
  font-weight: 600;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-medium);
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-medium);
  margin-bottom: 1rem;
}

.text-large {
  font-size: 1.25rem;
}

.text-small {
  font-size: var(--font-small);
}

/* ========================================
 MODERN NAVIGATION
 ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 var(--spacing-lg);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--text-light);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-base);
}

.navbar.scrolled .logo {
  color: var(--text-dark);
  text-shadow: none;
}

.logo i {
  font-size: 2rem;
  color: var(--primary-color);
}

.logo span {
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  padding: 8px 0;
}

.navbar.scrolled .nav-links a {
  color: var(--text-dark);
  text-shadow: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-base);
}

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

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

.nav-links .social-icons {
  display: flex;
  gap: var(--spacing-sm);
  margin-left: var(--spacing-md);
}

.nav-links .social-icons i {
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-links .social-icons i:hover {
  transform: translateY(-2px);
  color: var(--primary-color);
}

.menu-btn {
  display: none;
  font-size: 1.75rem;
  color: var(--text-light);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  background: none;
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
  -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
}

.menu-btn i {
  -webkit-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
}

.navbar.scrolled .menu-btn {
  color: var(--text-dark);
  text-shadow: none;
}

/* ========================================
 MODERN BUTTON SYSTEM
 ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(204, 85, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204, 85, 0, 0.4);
}

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

.btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

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

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.btn-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.btn-dark:hover {
  background-color: var(--text-dark);
}

.btn-large {
  padding: 20px 40px;
  font-size: 1rem;
}

.btn-small {
  padding: 12px 24px;
  font-size: 0.85rem;
}

/* ========================================
 PAGE HERO (for secondary pages)
 ======================================== */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../images/imageProxy.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

/* Black overlay for hero images */
.page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--text-light);
}

.page-hero-content h6 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.page-hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

/* ========================================
 HOMEPAGE HERO (homepage-specific, moved from inline index.html)
 ======================================== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  animation: slideInDown 0.8s ease-out;
}

.hero h1 {
  color: var(--text-light);
  font-weight: 800;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../images/imageProxy.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 var(--spacing-md);
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary-color);
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: var(--spacing-sm);
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-description {
  font-size: 1.2rem !important;
  color: var(--text-light) !important;
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
  animation: slideInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: slideInUp 0.8s ease-out 0.6s both;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive tweaks for hero */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ========================================
 ABOUT PAGE STYLES
 ======================================== */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

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

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.stat-card {
  text-align: center;
  padding: var(--spacing-lg);
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  font-family: var(--font-heading);
  margin-bottom: var(--spacing-sm);
}

.stat-label {
  font-size: 1rem;
  color: var(--text-medium);
  font-weight: 600;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.amenity-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.amenity-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.amenity-icon {
  font-size: 2rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.amenity-content h4 {
  margin-bottom: var(--spacing-xs);
  font-size: 1.1rem;
}

.amenity-content p {
  font-size: 0.95rem;
  margin: 0;
}

/* ========================================
 GALLERY PAGE STYLES
 ======================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--spacing-lg);
  padding: var(--spacing-lg) 0;
}

.gallery-item {
  position: relative;
  height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all var(--transition-base);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  padding: var(--spacing-lg);
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h4 {
  color: var(--text-light);
  margin-bottom: var(--spacing-xs);
  font-size: 1.25rem;
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin: 0;
}

/* ========================================
 CONTACT PAGE STYLES
 ======================================== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: start;
}

.contact-form {
  background-color: var(--bg-white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  margin-bottom: var(--spacing-lg);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(204, 85, 0, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.contact-info-cards {
  display: grid;
  gap: var(--spacing-lg);
}

.info-card {
  background-color: var(--bg-white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.info-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  font-size: 1.5rem;
}

.info-card h4 {
  margin: 0;
  font-size: 1.25rem;
}

.info-details p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-medium);
  font-size: 0.95rem;
}

.info-details a {
  color: var(--primary-color);
  font-weight: 600;
}

.info-details a:hover {
  text-decoration: underline;
}

/* ========================================
 CTA SECTION
 ======================================== */
.cta-section {
  background: var(--primary-gradient);
  color: var(--text-light);
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.cta-section h2 {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
}

/* ========================================
 FOOTER
 ======================================== */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: var(--spacing-xl) 0 var(--spacing-md);
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
}

/* Footer animation styles */
.footer-about,
.footer-links,
.footer-contact {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.footer-about.animate,
.footer-links.animate,
.footer-contact.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays */
.footer-about.animate {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.1s;
}

.footer-links:nth-child(2).animate {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

.footer-links:nth-child(3).animate {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.5s;
}

.footer-contact.animate {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.7s;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-about h3 {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-md);
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-light);
  transition: all var(--transition-base);
}

.social-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-4px) rotate(5deg);
  box-shadow: 0 4px 12px rgba(204, 85, 0, 0.4);
}

.footer-links h4 {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
}

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

.footer-links li {
  margin-bottom: var(--spacing-sm);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease-out;
}

.footer-links.animate li {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered list item animations */
.footer-links.animate li:nth-child(1) {
  transition-delay: 0.1s;
}

.footer-links.animate li:nth-child(2) {
  transition-delay: 0.2s;
}

.footer-links.animate li:nth-child(3) {
  transition-delay: 0.3s;
}

.footer-links.animate li:nth-child(4) {
  transition-delay: 0.4s;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 8px;
  transform: translateX(4px);
}

.footer-contact h4 {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  transition: all var(--transition-base);
}

.footer-contact p:hover {
  color: var(--text-light);
  transform: translateX(5px);
}

.footer-contact i {
  color: var(--primary-color);
  width: 20px;
  transition: all var(--transition-base);
}

.footer-contact p:hover i {
  transform: scale(1.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.footer-bottom.animate {
  opacity: 1;
  transform: translateY(0);
  animation-delay: 0.9s;
}

.copyright {
  margin: 0;
}

/* ========================================
 UTILITY CLASSES
 ======================================== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-narrow {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xl) 0;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-light {
  background-color: var(--bg-light);
}

.text-center {
  text-align: center;
}

.mb-sm {
  margin-bottom: var(--spacing-sm);
}

.mb-md {
  margin-bottom: var(--spacing-md);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.mb-xl {
  margin-bottom: var(--spacing-xl);
}

.mt-sm {
  margin-top: var(--spacing-sm);
}

.mt-md {
  margin-top: var(--spacing-md);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.mt-xl {
  margin-top: var(--spacing-xl);
}

/* ========================================
 ANIMATIONS
 ======================================== */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========================================
 RESPONSIVE DESIGN
 ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .story-section {
    grid-template-columns: 1fr;
  }

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

  .contact-section {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 992px) {
  .navbar {
    padding: 0 var(--spacing-md);
    height: 70px;
  }

  .navbar.scrolled {
    height: 70px;
  }

  .menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-white);
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--spacing-lg);
    gap: var(--spacing-md);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    color: var(--text-dark);
    text-shadow: none;
    font-size: 1.1rem;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
  }

  .nav-links .social-icons {
    margin-left: 0;
    margin-top: var(--spacing-md);
  }

  .logo {
    font-size: 1.5rem;
  }

  .navbar.scrolled .nav-links a,
  .nav-links a {
    color: var(--text-dark);
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 300px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
 OLD PRELOADER (Replaced by Homepark style)
 ======================================== */
/* Removed - See "HOMEPARK-INSPIRED TRANSITIONS" section */

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

/* ========================================
 DARK THEME
 ======================================== */

/* Dark Theme Variables */
[data-theme="dark"] {
  /* Neutral Colors - Dark Theme */
  --text-dark: #f0f0f0;
  --text-medium: #b0b0b0;
  --text-light: #ffffff;
  --bg-dark: #0a0a0a;
  --bg-light: #1a1a1a;
  --bg-white: #222222;
  --border-light: #3a3a3a;

  /* Shadows - Dark Theme */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
}

/* Smooth transitions for theme changes */
body,
.navbar,
.btn,
.feature-card,
.property-card,
.stat-card,
.amenity-item,
.gallery-item,
.info-card,
.contact-form,
.footer,
#preloader {
  transition: background-color var(--transition-base),
    color var(--transition-base), border-color var(--transition-base);
}

/* Theme Toggle Button */
.theme-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: var(--text-light);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.theme-toggle:hover {
  transform: translateY(-4px) rotate(15deg);
  box-shadow: var(--shadow-xl);
}

.theme-toggle:active {
  transform: translateY(-2px) rotate(15deg);
}

.theme-toggle i {
  transition: transform var(--transition-base);
}

.theme-toggle:hover i {
  transform: rotate(180deg);
}

/* Dark theme specific adjustments */
[data-theme="dark"] .navbar.scrolled {
  background-color: rgba(34, 34, 34, 0.98);
}

[data-theme="dark"] #preloader {
  background-color: var(--bg-white);
}

[data-theme="dark"] .loader {
  border-color: var(--border-light);
  border-top-color: var(--primary-color);
}

/* Mobile responsive for theme toggle */
@media (max-width: 768px) {
  .theme-toggle {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
}

/* ========================================
 UI/UX ENHANCEMENTS
 ======================================== */

/* Enhanced Button Ripple Effect */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

/* Improved Focus States */
*:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
}

/* Enhanced Form Feedback */
.form-group input:focus,
.form-group textarea:focus {
  transform: translateY(-2px);
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
 HOMEPARK-INSPIRED TRANSITIONS
 ======================================== */

/* ========================================
 1. PRELOADER (Page Load Effect)
 ======================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--primary-color);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transform: translateX(0);
  -webkit-transition: all 700ms cubic-bezier(0.86, 0, 0.07, 1);
  -moz-transition: all 700ms cubic-bezier(0.86, 0, 0.07, 1);
  -ms-transition: all 700ms cubic-bezier(0.86, 0, 0.07, 1);
  -o-transition: all 700ms cubic-bezier(0.86, 0, 0.07, 1);
  transition: all 700ms cubic-bezier(0.86, 0, 0.07, 1);
}

.preloader .inner {
  text-align: center;
  color: white;
}

.preloader .inner figure {
  margin-bottom: 30px;
  opacity: 1;
  transform: scale(1);
  -webkit-transition: all 700ms cubic-bezier(0.86, 0, 0.07, 1);
  -moz-transition: all 700ms cubic-bezier(0.86, 0, 0.07, 1);
  -ms-transition: all 700ms cubic-bezier(0.86, 0, 0.07, 1);
  transition: all 700ms cubic-bezier(0.86, 0, 0.07, 1);
}

.preloader .inner figure img {
  max-width: 120px;
  margin: 0 auto;
}

.preloader .inner p {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 1;
  transform: translateY(0);
  -webkit-transition: all 700ms cubic-bezier(0.86, 0, 0.07, 1);
  -moz-transition: all 700ms cubic-bezier(0.86, 0, 0.07, 1);
  -ms-transition: all 700ms cubic-bezier(0.86, 0, 0.07, 1);
  transition: all 700ms cubic-bezier(0.86, 0, 0.07, 1);
}

/* Active state - slides off screen to the right */
body.page-loaded .preloader {
  opacity: 0;
  transform: translateX(100%);
}

body.page-loaded .preloader .inner figure {
  opacity: 0;
  -webkit-transform: scale(1.5);
  -moz-transform: scale(1.5);
  -ms-transform: scale(1.5);
  transform: scale(1.5);
}

body.page-loaded .preloader .inner p {
  -webkit-transform: translateY(20px);
  -moz-transform: translateY(20px);
  -ms-transform: translateY(20px);
  transform: translateY(20px);
  opacity: 0;
}

/* ========================================
 2. PAGE TRANSITION OVERLAY (Navigation)
 ======================================== */
.transition-overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: var(--primary-color);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  visibility: hidden;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  transition-duration: 700ms;
  -webkit-transition-duration: 700ms;
  transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
}

.transition-overlay.active {
  left: 0;
  pointer-events: auto;
  visibility: visible;
}

.transition-overlay .layer {
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark);
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  transition-duration: 700ms;
  -webkit-transition-duration: 700ms;
  transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  transition-delay: 0.6s;
  -webkit-transition-delay: 0.6s;
}

.transition-overlay.active .layer {
  right: 0;
}

/* ========================================
 3. STAGGERED NAVBAR ANIMATIONS
 ======================================== */
.navbar .container .upper-side {
  opacity: 1;
  transform: translateY(0);
}

body.page-loaded .navbar .container .upper-side {
  -webkit-transition: all 0.7s ease;
  -moz-transition: all 0.7s ease;
  transition: all 0.7s ease;
  transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  transition-delay: 1.2s;
  -webkit-transition-delay: 1.2s;
  opacity: 1;
}

.navbar .logo {
  opacity: 1;
}

body.page-loaded .navbar .logo {
  -webkit-transition: all 0.7s ease;
  -moz-transition: all 0.7s ease;
  transition: all 0.7s ease;
  transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  transition-delay: 1.25s;
  -webkit-transition-delay: 1.25s;
  opacity: 1;
}

.navbar .links {
  opacity: 1;
}

body.page-loaded .navbar .links {
  -webkit-transition: all 0.7s ease;
  -moz-transition: all 0.7s ease;
  transition: all 0.7s ease;
  transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  transition-delay: 1.4s;
  -webkit-transition-delay: 1.4s;
  opacity: 1;
}

/* ========================================
 4. ENHANCED CARD HOVER EFFECTS
 ======================================== */
.feature-card,
.property-card,
.gallery-item,
.amenity-card {
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  transition-duration: 500ms;
  -webkit-transition-duration: 500ms;
  transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
}

.feature-card:hover,
.property-card:hover,
.gallery-item:hover,
.amenity-card:hover {
  -webkit-transform: translateY(-12px);
  -moz-transform: translateY(-12px);
  -ms-transform: translateY(-12px);
  transform: translateY(-12px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

/* Smooth image zoom on card hover */
.property-card .property-image,
.gallery-item .image-container {
  overflow: hidden;
}

.property-card .property-image img,
.gallery-item .image-container img {
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  transition: all 0.5s ease;
  transition-duration: 700ms;
  -webkit-transition-duration: 700ms;
  transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
}

.property-card:hover .property-image img,
.gallery-item:hover .image-container img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

/* ========================================
 5. HERO SECTION ENTRANCE
 ======================================== */
.hero .hero-content {
  opacity: 1;
  transform: scale(1);
  transition: none;
}

body.page-loaded .hero .hero-content {
  -webkit-transition: all 0.7s ease;
  -moz-transition: all 0.7s ease;
  transition: all 0.7s ease;
  transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  transition-delay: 1.25s;
  -webkit-transition-delay: 1.25s;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}

/* ========================================
 TYPOGRAPHY ENHANCEMENTS
 ======================================== */

/* Better font hierarchy */
.cta-section h2 {
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  font-weight: 800;
  line-height: 1.1;
}

.cta-section p {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem) !important;
  font-weight: 300;
  line-height: 1.6;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  font-size: 1.125rem !important;
  padding: 20px 48px !important;
}

/* Feature cards */
.feature-card h4 {
  font-size: 1.35rem !important;
  font-weight: 700;
}

.feature-card p {
  font-size: 1.05rem !important;
  line-height: 1.7;
}

/* Property cards */
.property-title {
  font-size: 1.65rem !important;
  font-weight: 700;
}

.property-content p {
  font-size: 1.05rem !important;
  line-height: 1.7;
}

/* Section headings */
section .text-center h2 {
  font-size: clamp(2.25rem, 4vw, 3.5rem) !important;
}

section .text-large {
  font-size: 1.2rem !important;
  line-height: 1.8;
}

/* Hero section */
.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

/* Alert Messages */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInUp 0.4s ease-out;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.alert-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.alert-close {
  margin-left: auto;
  cursor: pointer;
  font-size: 1.25rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.alert-close:hover {
  opacity: 1;
}
