/* sellmyproperty.store — Premium CSS */
/* Design system: Inter, ocean blue accent, clean/light, premium feel */

:root {
  --primary: #0a4d8c;
  --primary-dark: #073d70;
  --primary-light: #1478c8;
  --accent: #c9a96e;
  --bg: #fafafa;
  --bg-dark: #0f1c2e;
  --text: #1a1a1a;
  --text-muted: #666;
  --text-light: #999;
  --border: #e5e5e5;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p { color: var(--text-muted); }

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

/* Layout */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-tight { padding: 48px 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; font-size: 16px; font-weight: 600; border: none; border-radius: var(--radius-sm);
  cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.8); }
.btn-outline:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-lg { padding: 18px 40px; font-size: 18px; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); transition: box-shadow 0.3s;
}
.nav-scrolled { box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 120px; }
.nav-logo img { height: 96px; width: auto; display: block; }
.nav-logo:hover { opacity: 0.85; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--text); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { background: var(--primary); color: var(--white) !important; padding: 10px 24px; border-radius: var(--radius-sm); }
.nav-cta:hover { background: var(--primary-dark); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; font-size: 24px; color: var(--text); }

/* Hero */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #0f1c2e 0%, #0a4d8c 50%, #073d70 100%);
  color: var(--white); overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero p { color: rgba(255,255,255,0.8); font-size: 1.25rem; margin-bottom: 36px; max-width: 580px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 64px; }
.hero-stat .num { font-size: 2.5rem; font-weight: 800; color: var(--white); }
.hero-stat .label { font-size: 0.875rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }

/* Trust bar */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 20px 0; }
.trust-inner { display: flex; justify-content: space-around; align-items: center; gap: 24px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-muted); }
.trust-item svg { width: 24px; height: 24px; fill: var(--primary); }

/* How it works */
.how-it-works { background: var(--white); }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.125rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step {
  text-align: center; padding: 32px 24px; background: var(--bg); border-radius: var(--radius);
  border: 1px solid var(--border); transition: all 0.3s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.step-icon {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
}
.step-icon svg { width: 28px; height: 28px; fill: var(--white); }
.step h3 { margin-bottom: 12px; }
.step p { font-size: 0.95rem; }
.step-num { font-size: 0.75rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; display: block; }

/* Featured properties */
.featured { background: var(--bg); }
.properties-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 32px; }
.property-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all 0.3s; cursor: pointer;
  text-decoration: none; display: block;
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.property-image { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.property-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.property-card:hover .property-image img { transform: scale(1.05); }
.property-badge {
  position: absolute; top: 16px; left: 16px; background: rgba(20,120,200,0.95);
  color: var(--white); padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600;
}
.property-badge.tour { background: rgba(201,169,110,0.95); }
.property-body { padding: 24px; }
.property-price { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.property-title { font-size: 1.125rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.property-location { font-size: 0.875rem; color: var(--text-light); margin-bottom: 16px; }
.property-specs { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.875rem; color: var(--text-muted); }
.property-specs span { display: flex; align-items: center; gap: 4px; }

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, #0a4d8c 0%, #073d70 100%);
  color: var(--white); text-align: center; padding: 80px 0;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.125rem; margin-bottom: 32px; }

/* Footer */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { font-size: 24px; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.footer-brand span { color: var(--primary-light); }
.footer p { color: rgba(255,255,255,0.5); font-size: 0.875rem; }
.footer h4 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.875rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; font-size: 0.875rem; color: rgba(255,255,255,0.4); }

/* Property detail page */
.property-hero {
  position: relative; height: 60vh; min-height: 400px; display: flex; align-items: flex-end;
  background-size: cover; background-position: center; color: var(--white);
}
.property-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60%; background: linear-gradient(transparent, rgba(0,0,0,0.7)); }
.property-hero-content { position: relative; z-index: 2; padding: 40px 0; }
.property-hero h1 { color: var(--white); margin-bottom: 8px; }
.property-hero .location { color: rgba(255,255,255,0.8); font-size: 1.125rem; margin-bottom: 16px; }
.property-hero .price { font-size: 2rem; font-weight: 800; color: var(--accent); }

.property-detail { padding: 48px 0; }
.property-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.property-main h2 { margin-bottom: 20px; margin-top: 32px; }
.property-main h2:first-child { margin-top: 0; }
.property-main p { margin-bottom: 16px; line-height: 1.8; }

.specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 32px; }
.spec-item { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--bg); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.spec-item .icon { width: 40px; height: 40px; border-radius: 8px; background: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.spec-item .icon svg { width: 20px; height: 20px; fill: var(--white); }
.spec-item .label { font-size: 0.75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
.spec-item .value { font-size: 1rem; font-weight: 600; color: var(--text); }

.feature-list { list-style: none; margin-bottom: 32px; }
.feature-list li { padding: 10px 0; padding-left: 28px; position: relative; color: var(--text); }
.feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* Tour embed */
.tour-section { margin: 32px 0; }
.tour-embed { width: 100%; height: 500px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.tour-embed iframe { width: 100%; height: 100%; border: none; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 32px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.2s; }
.gallery img:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }

/* Sidebar / contact card */
.property-sidebar { position: sticky; top: 90px; }
.contact-card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.contact-card h3 { margin-bottom: 8px; }
.contact-card .price { font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 20px; }
.contact-card .btn { width: 100%; margin-bottom: 12px; }
.contact-info { border-top: 1px solid var(--border); padding-top: 20px; margin-top: 20px; }
.contact-info p { font-size: 0.875rem; margin-bottom: 8px; }

/* Language selector */
.lang-selector { display: flex; gap: 4px; align-items: center; }
.lang-btn { padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; background: transparent; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text); transition: all 0.2s; }
.lang-btn:hover { border-color: var(--primary); color: var(--primary); }
.lang-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
@media (max-width: 768px) { .lang-selector { margin-top: 12px; } }

/* Responsive — Tablet */
@media (max-width: 968px) {
  .steps { grid-template-columns: 1fr; }
  .property-layout { grid-template-columns: 1fr; }
  .property-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 24px; }
  .nav-inner { height: 80px; }
  .nav-logo img { height: 56px; }
}

/* Responsive — Mobile */
@media (max-width: 640px) {
  /* Navbar */
  .nav-inner { height: 64px; }
  .nav-logo img { height: 42px; }
  .container { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: var(--white);
    padding: 20px 16px; box-shadow: var(--shadow-md); gap: 16px;
  }
  .nav-links.open a { font-size: 16px; padding: 8px 0; }

  /* Language selector */
  .lang-selector { gap: 2px; }
  .lang-btn { padding: 4px 6px; font-size: 11px; }

  /* Hero */
  .hero { min-height: 85vh; }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: 1.75rem; margin-bottom: 16px; }
  .hero p { font-size: 1rem; margin-bottom: 24px; }
  .hero-buttons { flex-direction: column; gap: 12px; }
  .hero-buttons .btn { width: 100%; padding: 14px 24px; font-size: 15px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; margin-top: 40px; }
  .hero-stat .num { font-size: 1.5rem; }
  .hero-stat .label { font-size: 0.7rem; }

  /* Trust bar */
  .trust-inner { flex-direction: column; gap: 12px; padding: 16px 0; }
  .trust-item { font-size: 13px; }

  /* Sections */
  .section { padding: 40px 0; }
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: 1.5rem; }
  .section-header p { font-size: 0.95rem; }

  /* Steps */
  .step { padding: 24px 16px; }
  .step-icon { width: 52px; height: 52px; }
  .step-icon svg { width: 24px; height: 24px; }
  .step h3 { font-size: 1.1rem; }
  .step p { font-size: 0.9rem; }

  /* Properties */
  .properties-grid { grid-template-columns: 1fr; gap: 20px; }
  .property-body { padding: 16px; }
  .property-price { font-size: 1.25rem; }
  .property-title { font-size: 1rem; }
  .property-specs { gap: 8px; font-size: 0.8rem; }

  /* CTA */
  .cta-section { padding: 48px 0; }
  .cta-section h2 { font-size: 1.5rem; }
  .cta-section p { font-size: 1rem; }
  .cta-section .btn { width: 100%; padding: 14px 24px; }

  /* Footer */
  .footer { padding: 40px 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
  .footer-brand img { height: 36px; }
  .footer h4 { font-size: 13px; margin-bottom: 10px; }
  .footer-bottom { font-size: 0.75rem; padding-top: 16px; }

  /* Property detail */
  .property-hero { height: 45vh; min-height: 280px; }
  .property-hero h1 { font-size: 1.5rem; }
  .property-hero .price { font-size: 1.5rem; }
  .property-hero .location { font-size: 0.95rem; }
  .property-detail { padding: 24px 0; }
  .property-main h2 { font-size: 1.3rem; margin-top: 24px; }
  .property-main p { font-size: 0.95rem; }
  .specs-grid { grid-template-columns: 1fr; gap: 10px; }
  .spec-item { padding: 12px; }
  .spec-item .icon { width: 36px; height: 36px; }
  .spec-item .icon svg { width: 18px; height: 18px; }

  /* Tour embed */
  .tour-embed { height: 320px; border-radius: 8px; }

  /* Gallery */
  .gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
  .gallery img { border-radius: 6px; }

  /* Contact card */
  .contact-card { padding: 20px; }
  .contact-card .price { font-size: 1.5rem; }
  .contact-card .btn { padding: 12px 20px; font-size: 14px; }

  /* How it works page */
  .how-grid { grid-template-columns: 1fr; }
  .how-step { padding: 20px; }
  .pricing-card { padding: 24px; }
}

/* Responsive — Small mobile (iPhone SE etc) */
@media (max-width: 380px) {
  .nav-logo img { height: 36px; }
  .hero h1 { font-size: 1.5rem; }
  .hero-stat .num { font-size: 1.25rem; }
  .lang-btn { padding: 3px 4px; font-size: 10px; }
  .container { padding: 0 12px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .tour-embed { height: 260px; }
}