/* Variables for the luxury real estate website */
:root {
  /* Primary Colors */
  --black: #000000;
  --gold: #D4AF37;
  --red: #990000; /* Luxury Red - enhanced */
  
  /* Supporting Colors */
  --charcoal: #333333;
  --cream: #F5F5F0;
  --light-gold: #F0E68C;
  --dark-red: #800000; /* Burgundy Red */
  --bright-red: #c41e3a; /* Crimson Red */
  
  /* Text Colors */
  --white: #FFFFFF;
  --dark-gray: #222222;
  
  /* UI Element Colors */
  --success: #006400;
  --error: var(--red);
  --neutral: var(--gold);
  
  /* Font Families */
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Montserrat', sans-serif;
  --accent-font: 'Cormorant Garamond', serif;
  
  /* Font Sizes */
  --fs-xl: 3rem;
  --fs-lg: 2.5rem;
  --fs-md: 1.8rem;
  --fs-sm: 1.2rem;
  --fs-xs: 1rem;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Border Radius */
  --border-radius-sm: 3px;
  --border-radius-md: 5px;
  --border-radius-lg: 10px;
  
  /* Box Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.3);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Container Widths */
  --container-max-width: 1200px;
  --container-padding: 1rem;
}

.zillow-iframe-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  border-radius: 8px;
  overflow: hidden;
}

.zillow-agent-profile {
  background-color: #fff;
  padding: 60px 20px;
}

.profile-card {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.profile-photo {
  flex: 0 0 120px;
}

.agent-photo {
  width: 120px;
  height: 120px;
  border-radius: 100%;
  object-fit: cover;
}

.profile-details {
  flex: 1;
  min-width: 220px;
}

.profile-stats {
  flex: 1;
  padding-left: 40px;
  min-width: 250px;
}

.agent-name {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 0.2rem;
}

.agent-title {
  font-size: 1rem;
  color: #1c73e8;
  margin-bottom: 0.3rem;
}

.agent-pronouns {
  color: #777;
  font-size: 0.9rem;
  margin-left: 6px;
}

.agent-broker {
  color: #444;
  margin-bottom: 0.5rem;
}

.premier-link {
  color: #1c73e8;
  text-decoration: none;
}

.zillow-review-link {
  color: #d4af37;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-top: 8px;
}

.profile-stats ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-stats li {
  margin-bottom: 10px;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-stats {
    padding-left: 0;
  }
}

.testimonials-zillow {
  background: #fff;
  padding: 60px 20px;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  color: #222;
}

.testimonials-zillow .container {
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

.review-count {
  text-align: center;
  color: #555;
  margin-bottom: 40px;
  font-size: 1rem;
}

.review-box {
  background: #f9f9f9;
  border: 1px solid #eee;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.review-header {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.review-title {
  color: #222;
}

.review-rating {
  color: #1c73e8; /* Zillow blue */
  font-weight: 500;
}

.rating-number {
  font-weight: bold;
}

.blue-stars {
  color: #1c73e8;
  letter-spacing: 1px;
  font-size: 1rem;
}

.review-meta {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.5;
}

.star-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  color: #d4af37; /* Gold stars */
  font-weight: bold;
  font-size: 0.95rem;
}

.review-body {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Pagination styles */
.pagination {
  text-align: center;
  margin-top: 30px;
}

.page {
  display: inline-block;
  margin: 0 6px;
  padding: 8px 12px;
  border-radius: 4px;
  background: #eee;
  color: #444;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}

.page:hover {
  background: #ddd;
}

.page.active {
  background: #1c73e8;
  color: white;
  font-weight: bold;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .review-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .star-breakdown {
    flex-direction: column;
  }

  .review-box {
    padding: 20px;
  }

  .section-title {
    font-size: 1.5rem;
  }
}



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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--dark-gray);
  line-height: 1.6;
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
  color: var(--black);
}

h1 {
  font-size: var(--fs-xl);
}

h2 {
  font-size: var(--fs-lg);
}

h3 {
  font-size: var(--fs-md);
}

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

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

a:hover {
  color: var(--light-gold);
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Section Styles */
.section {
  padding: var(--spacing-lg) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--red);
  margin: var(--spacing-xs) auto;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  font-family: var(--body-font);
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-medium);
}

.btn-primary {
  background-color: var(--gold);
  color: var(--black);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: #c4a030; /* Slightly darker gold */
  color: var(--black);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--red);
  color: var(--white);
  border: 1px solid var(--gold);
}

.btn-secondary:hover {
  background-color: var(--dark-red);
  color: var(--white);
  border-color: var(--gold);
}

.btn-tertiary {
  background-color: transparent;
  color: var(--gold);
  text-decoration: underline;
  padding: 0.5rem 0;
}

.btn-tertiary:hover {
  background-color: var(--black);
  color: var(--gold);
  text-decoration: none;
  padding: 0.5rem 1rem;
}

/* Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  padding: 0 15px;
  width: 100%;
}

/* Responsive Columns */
@media (min-width: 768px) {
  .col-md-1 { width: 8.33%; }
  .col-md-2 { width: 16.66%; }
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.33%; }
  .col-md-5 { width: 41.66%; }
  .col-md-6 { width: 50%; }
  .col-md-7 { width: 58.33%; }
  .col-md-8 { width: 66.66%; }
  .col-md-9 { width: 75%; }
  .col-md-10 { width: 83.33%; }
  .col-md-11 { width: 91.66%; }
  .col-md-12 { width: 100%; }
}

@media (min-width: 992px) {
  .col-lg-1 { width: 8.33%; }
  .col-lg-2 { width: 16.66%; }
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.33%; }
  .col-lg-5 { width: 41.66%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.33%; }
  .col-lg-8 { width: 66.66%; }
  .col-lg-9 { width: 75%; }
  .col-lg-10 { width: 83.33%; }
  .col-lg-11 { width: 91.66%; }
  .col-lg-12 { width: 100%; }
}

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

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.py-1 { padding-top: var(--spacing-xs); padding-bottom: var(--spacing-xs); }
.py-2 { padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); }
.py-3 { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-4 { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.py-5 { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }

.px-1 { padding-left: var(--spacing-xs); padding-right: var(--spacing-xs); }
.px-2 { padding-left: var(--spacing-sm); padding-right: var(--spacing-sm); }
.px-3 { padding-left: var(--spacing-md); padding-right: var(--spacing-md); }
.px-4 { padding-left: var(--spacing-lg); padding-right: var(--spacing-lg); }
.px-5 { padding-left: var(--spacing-xl); padding-right: var(--spacing-xl); }

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

.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* Responsive Utilities */
@media (min-width: 768px) {
  .d-md-none { display: none; }
  .d-md-block { display: block; }
  .d-md-flex { display: flex; }
}

@media (min-width: 992px) {
  .d-lg-none { display: none; }
  .d-lg-block { display: block; }
  .d-lg-flex { display: flex; }
}

.section-subtitle {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


/* 3D Y-axis rotation keyframe */
/* 3D Y-axis rotation keyframe */
@keyframes luxury-spin {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* Make sure the parent provides perspective for 3D space */
h1 {
  perspective: 1000px;
}

/* Base logo setup */
.luxury-spin-logo {
  width: 200px;  
  height: auto; /* keeps aspect ratio */
 /* Set logo width to 200px */
  display: inline-block;              /* Allow transform to apply */
  transform-style: preserve-3d;       /* Maintain 3D space */
  backface-visibility: visible;       /* Prevent it from disappearing at 180° */
}

/* Trigger animation on hover */
.luxury-spin-logo:hover {
  animation: luxury-spin 6s linear infinite;  /* Smooth, infinite Y spin */
}

/* Font Import - Add these to the HTML head */
/* 
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital@0;1&family=Montserrat:wght@300;400;500;600&family=Playfair+Display:wght@400;600;700&display=swap" rel="stylesheet">
*/
