/* Home Realtors - Main Stylesheet */

:root {
  --primary: #667eea;
  --primary-dark: #764ba2;
  --secondary: #ff6b6b;
  --text: #2c3e50;
  --text-light: #7f8c8d;
  --bg: #ffffff;
  --bg-light: #f8f9fa;
  --border: #e0e0e0;
  --success: #27ae60;
  --warning: #f39c12;
  --danger: #e74c3c;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

/* Navbar */
.navbar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.nav-menu a:hover {
  opacity: 0.8;
}

.cta-link {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  transition: background 0.3s;
}

.cta-link:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content .subtitle {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  opacity: 0.95;
}

.hero-content .tagline {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

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

.btn-secondary:hover {
  background: var(--bg-light);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-large {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
}

.link-btn {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  text-decoration: underline;
  font-size: 1rem;
}

/* Typography */
h1 { font-size: 2.5rem; margin: 1.5rem 0 0.5rem; }
h2 { font-size: 2rem; margin: 2rem 0 1rem; }
h3 { font-size: 1.5rem; margin: 1rem 0 0.5rem; }
h4 { font-size: 1.2rem; margin: 0.8rem 0 0.3rem; }

.subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Properties Grid */
.properties-grid {
  padding: 4rem 0;
  background: var(--bg-light);
}

.properties-grid h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.property-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.property-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.property-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 1.5rem;
}

.property-header h3 {
  margin: 0;
}

.location {
  margin: 0.5rem 0 0;
  opacity: 0.9;
}

.property-details {
  padding: 1.5rem;
}

.property-details ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.property-details li {
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 6px;
  font-size: 0.9rem;
}

.property-cta {
  padding: 0 1.5rem 1.5rem;
}

.property-cta .btn {
  width: 100%;
}

/* Buyer Personas */
.buyer-personas {
  padding: 4rem 0;
}

.buyer-personas h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.personas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.persona {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  transition: all 0.3s;
}

.persona:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.persona h3 {
  margin-top: 0;
  color: var(--primary);
}

.persona-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.persona-link:hover {
  color: var(--primary-dark);
}

/* Features */
.why-us {
  padding: 4rem 0;
  background: var(--bg-light);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  text-align: center;
  padding: 2rem;
}

.feature .icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.feature h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Pricing Section */
.pricing-section {
  padding: 3rem 0;
  border-top: 2px solid var(--border);
}

.pricing-intro {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.price-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s;
}

.price-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.price-header {
  margin-bottom: 1rem;
}

.price-header h3 {
  margin: 0 0 0.5rem 0;
}

.unit-size {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

.price-display {
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 6px;
}

.inr-price .label {
  font-size: 0.85rem;
  color: var(--text-light);
  display: block;
}

.amount {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary);
  margin: 0;
}

.rental-info,
.yield-info {
  margin: 1rem 0;
  font-size: 0.95rem;
}

.rental-info .label,
.yield-info .label {
  color: var(--text-light);
  font-size: 0.85rem;
}

.yield {
  font-weight: 600;
  color: var(--success);
}

.multi-currency {
  margin: 1rem 0;
}

.multi-currency summary {
  cursor: pointer;
  color: var(--primary);
  font-weight: 500;
  padding: 0.5rem;
}

.currency-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.currency-details p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.forex-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 1rem;
}

.price-note {
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.price-note p {
  margin: 0.5rem 0;
  color: var(--text);
  font-size: 0.95rem;
}

/* Form Styles */
.nurture-form-section {
  padding: 4rem 0;
  background: var(--bg-light);
}

.form-container {
  max-width: 500px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
  text-align: center;
  margin-top: 0;
}

.form-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group.checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.form-group.checkbox input {
  width: auto;
  margin-right: 0.5rem;
}

.form-group.checkbox label {
  margin-bottom: 0;
}

.form-privacy {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 1rem;
}

.form-alternative {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.form-alternative p {
  margin: 0.5rem 0;
}

.form-alternative a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

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

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

.footer-section h4 {
  color: white;
}

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

.footer-section a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: white;
}

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

.footer-bottom a {
  color: #bbb;
  text-decoration: none;
  margin: 0 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .nav-menu ul {
    gap: 1rem;
  }

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

  .btn {
    width: 100%;
  }

  .property-details ul {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }

  .hero {
    padding: 3rem 1rem;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content .subtitle {
    font-size: 1rem;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .navbar-content {
    flex-direction: column;
  }

  .feature {
    padding: 1rem;
  }

  .feature .icon {
    font-size: 2rem;
  }
}
