/* Prevent iOS zoom on input focus */
@media screen and (max-width: 768px) {
  input, select, textarea {
    font-size: 16px;
  }
}

/* Shedroll - Shared Styles */

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

:root {
  --primary: #4a3728;
  --primary-dark: #2a1f18;
  --accent: #8b4513;
  --accent-light: #d4a574;
  --bg-light: #f5f0eb;
  --bg-white: #ffffff;
  --text-dark: #1a1a1a;
  --text-secondary: #666666;
  --text-muted: #999999;
  --border: #d4c4b0;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #dc2626;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--border) var(--bg-light);
}

/* Navigation */
.nav {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(74, 55, 40, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo {
  height: 36px;
  filter: brightness(0) invert(1);
}

.nav-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: white;
  opacity: 1;
}

.nav-links a.active {
  color: white;
  border-bottom: 2px solid var(--accent-light);
  padding-bottom: 4px;
}

.nav-cta {
  background: var(--accent);
  color: white !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-cta:hover {
  background: #6d3610;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  background: linear-gradient(135deg, var(--primary) 0%, #2a1f18 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-bg video,
.hero-bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + 40px);
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-bg img {
  display: none;
}

.hero-video-mobile-wrapper {
  display: none;
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-bottom: 24px;
}

.hero-video-mobile {
  width: calc(100% + 40px);
  display: block;
}

.hero-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.hero-video-play-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.hero-video-play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--primary);
  margin-left: 4px;
}

.hero-video-play-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 20px 100px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: #d4a574;
}

.hero-content .tagline {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 500px;
}

.search-form {
  background: rgba(255,255,255,0.5);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  color: var(--text-dark);
}

.search-form h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input, .form-group select {
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--accent);
}

.search-btn {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 8px;
}

.search-btn:hover {
  background: #6d3610;
}

/* Listing Preview */
.listings-preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Stats Bar */
.stats-bar {
  background: var(--primary);
  padding: 30px 20px;
}

.stats-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.stat {
  color: white;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #d4a574;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--primary);
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Property Types */
.properties {
  padding: 80px 20px;
  background: var(--bg-light);
}

.properties-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.property-card {
  background: #f8f6f2;
  border-radius: 4px;
  padding: 12px 12px 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  cursor: pointer;
}

.property-card:nth-child(odd) {
  transform: rotate(-1.5deg);
}

.property-card:nth-child(even) {
  transform: rotate(1.5deg);
}

.property-card:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
  z-index: 10;
}

.property-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(0,0,0,0.1);
}

.property-card h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin: 16px 0 6px;
  font-family: 'Caveat', cursive;
  font-weight: 700;
}

.property-card p {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.4;
}

/* Property Polaroid Modal */
.polaroid-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.polaroid-modal-overlay.active {
  display: flex;
}

.polaroid-modal {
  position: relative;
  max-width: 500px;
  width: 100%;
}

.polaroid-modal-card {
  background: #f8f6f2;
  border-radius: 4px;
  padding: 20px 20px 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: rotate(-1deg);
  transition: transform 0.3s ease;
}

.polaroid-modal-card:hover {
  transform: rotate(0deg);
}

.polaroid-modal-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.polaroid-modal-title {
  font-family: 'Caveat', cursive;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin: 24px 0 8px;
}

.polaroid-modal-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.5;
}

.polaroid-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.polaroid-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.polaroid-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.polaroid-modal-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.polaroid-modal-prev {
  left: -70px;
}

.polaroid-modal-next {
  right: -70px;
}

.polaroid-modal-counter {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-top: 20px;
}

@media (max-width: 700px) {
  .polaroid-modal-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .polaroid-modal-prev {
    left: -50px;
  }

  .polaroid-modal-next {
    right: -50px;
  }

  .polaroid-modal-title {
    font-size: 2rem;
  }
}

@media (max-width: 550px) {
  .polaroid-modal-overlay {
    padding: 60px 40px;
  }

  .polaroid-modal-prev {
    left: -35px;
  }

  .polaroid-modal-next {
    right: -35px;
  }
}

/* Amenities */
.amenities {
  padding: 80px 20px;
  background: white;
}

.amenities-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.amenity-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.amenity-card:hover {
  background: var(--primary);
  color: white;
}

.amenity-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.amenity-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.amenity-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.amenity-card:hover p {
  color: rgba(255,255,255,0.7);
}

/* How It Works */
.how-it-works {
  padding: 80px 20px;
  background: var(--bg-light);
}

.steps-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.step {
  text-align: center;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Pricing */
.pricing {
  padding: 80px 20px;
  background: white;
}

.pricing-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--bg-light);
  border-radius: 20px;
  padding: 36px;
  text-align: center;
  border: 2px solid transparent;
}

.pricing-card.featured {
  border-color: var(--accent);
  position: relative;
}

.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-card h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin: 16px 0;
}

.pricing-card .price span {
  font-size: 1rem;
  color: var(--text-secondary);
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}

.pricing-card li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-card li::before {
  content: '~';
  color: var(--accent);
  font-weight: 700;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: #6d3610;
}

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

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

/* Testimonials */
.testimonials {
  padding: 80px 20px;
  background: var(--bg-light);
}

.testimonials-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
}

.testimonial-rating {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.testimonial-card blockquote {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author strong {
  display: block;
  color: var(--text-dark);
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Press */
.press {
  padding: 60px 20px;
  background: white;
}

.press-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.press h3 {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.press-quotes {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.press-quote {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* CTA */
.cta {
  padding: 80px 20px;
  background: var(--primary);
  text-align: center;
  color: white;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta .btn {
  background: #d4a574;
  color: var(--primary);
}

.cta .btn:hover {
  background: #c49564;
}

/* Footer */
.footer {
  background: #2a1f18;
  color: white;
  padding: 60px 20px 30px;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo {
  height: 36px;
  filter: brightness(0) invert(1);
}

.footer-brand span {
  font-size: 1.3rem;
  font-weight: 700;
}

.footer-tagline {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer-links h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.5);
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #d4a574;
}

/* ============================================
   SHEDS MAP PAGE STYLES
   ============================================ */

/* Map Page Layout */
.map-page {
  min-height: 100vh;
  background: var(--bg-light);
  padding-top: 92px; /* nav height */
}

/* Main Layout */
.main-container {
  display: flex;
  position: fixed;
  top: 92px;
  left: 0;
  right: 0;
  bottom: 0;
}

/* Sidebar - Shed List */
.sidebar {
  width: 420px;
  background: white;
  overflow-y: auto;
  border-left: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  background: white;
  z-index: 10;
}

.sidebar-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.sidebar-header p {
  font-size: 13px;
  color: var(--text-secondary);
}

.filter-bar {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-btn {
  padding: 5px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  border-color: var(--primary);
  color: white;
  background: var(--primary);
}

.shed-list {
  padding: 12px;
}

/* Shed Card */
.shed-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}

.shed-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.shed-card.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
}

.shed-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  background: #f0f0f0;
}

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

.shed-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-premium {
  background: linear-gradient(135deg, var(--accent-light), #ffa500);
  color: var(--primary);
}

.badge-standard {
  background: var(--primary);
  color: white;
}

.badge-economy {
  background: #6b7280;
  color: white;
}

.badge-available {
  background: var(--success);
  color: white;
}

.badge-occupied {
  background: var(--warning);
  color: white;
}

.shed-details {
  padding: 16px;
}

.shed-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.shed-address {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.shed-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag {
  padding: 4px 8px;
  background: var(--bg-light);
  border-radius: 4px;
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

.feature-tag.highlight {
  background: #dcfce7;
  color: #166534;
}

.shed-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  margin-top: 12px;
}

.shed-price .price {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.shed-price .price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
}

.shed-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

.shed-rating .stars {
  color: var(--accent);
}

.shed-rating .count {
  color: var(--text-secondary);
  font-size: 12px;
}

/* Map Container */
.map-container {
  flex: 1;
  position: relative;
}

#map {
  width: 100%;
  height: 100%;
}

/* Custom Map Markers */
.shed-marker {
  background: var(--primary);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  white-space: nowrap;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.shed-marker::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--primary);
}

.shed-marker.premium {
  background: linear-gradient(135deg, var(--accent-light), #ffa500);
  color: var(--primary);
}

.shed-marker.premium::after {
  border-top-color: var(--accent-light);
}

.shed-marker.selected {
  background: var(--text-dark);
  transform: scale(1.1);
}

.shed-marker.selected::after {
  border-top-color: var(--text-dark);
}

.shed-marker .marker-icon {
  font-size: 16px;
}

/* Powered by badge */
.powered-by-badge {
  position: absolute;
  bottom: 24px;
  right: 16px;
  z-index: 1000;
  background: white;
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}

.powered-by-badge:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transform: translateY(-1px);
}

.powered-by-badge-icon {
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #ea4335 25%, #fbbc04 25%, #fbbc04 50%, #34a853 50%, #34a853 75%, #1a73e8 75%);
  border-radius: 3px;
}

.powered-by-badge-text {
  font-size: 10px;
  color: #5f6368;
  font-weight: 500;
}

.powered-by-badge-text span {
  color: #202124;
  font-weight: 600;
}

/* Map Controls */
.map-controls {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.map-control-btn {
  width: 44px;
  height: 44px;
  background: white;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s;
}

.map-control-btn:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.map-control-btn svg {
  width: 20px;
  height: 20px;
  color: var(--text-dark);
}

/* Shed Details Modal */
.shed-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2500;
  display: none;
  overflow-y: auto;
}

.shed-modal-overlay.active {
  display: block;
}

.shed-modal {
  background: white;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.shed-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shed-modal-gallery {
  position: relative;
  height: 400px;
  background: #f0f0f0;
}

.shed-modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shed-modal-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 16px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 14px;
  border-radius: 6px;
}

.shed-modal-content {
  padding: 32px;
}

.shed-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.shed-modal-name {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
}

.shed-modal-address {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.shed-modal-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 16px;
}

.shed-modal-rating .stars {
  color: var(--accent);
  font-size: 20px;
}

.shed-modal-cta {
  text-align: right;
}

.shed-modal-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.shed-modal-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
}

.shed-modal-cta-btn {
  padding: 16px 32px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.shed-modal-cta-btn:hover {
  background: #6d3610;
}

.shed-modal-section {
  margin-bottom: 32px;
}

.shed-modal-section h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.shed-modal-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.shed-modal-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-light);
  border-radius: 8px;
  font-size: 14px;
}

.shed-modal-feature.highlight {
  background: #dcfce7;
  color: #166534;
}

.shed-modal-feature-icon {
  font-size: 18px;
}

.shed-modal-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
}

/* Map Popup */
.leaflet-popup-content-wrapper {
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
}

.leaflet-popup-content {
  margin: 0;
  width: 280px !important;
}

.popup-content {
  padding: 0;
}

.popup-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #f0f0f0;
}

.popup-details {
  padding: 16px;
}

.popup-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.popup-address {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.popup-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.popup-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}

.popup-rating {
  font-size: 13px;
  color: var(--text-secondary);
}

.popup-rating .stars {
  color: var(--accent);
}

.popup-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--accent);
  color: white !important;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  border: none;
}

.popup-btn:hover {
  background: #6d3610;
  color: white !important;
}

/* Mobile View Toggle */
.mobile-view-toggle {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  background: white;
  border-radius: 30px;
  padding: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.mobile-view-toggle .toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: none;
  background: transparent;
  border-radius: 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-view-toggle .toggle-btn.active {
  background: var(--primary);
  color: white;
}

.mobile-view-toggle .toggle-btn svg {
  stroke: currentColor;
}

/* Loading State */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Hobo Sign Markers */
.hobo-sign-marker {
  width: 28px;
  height: 28px;
  background: #f5f0e6;
  border: 2px solid #8b7355;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 1px 2px 4px rgba(0,0,0,0.2);
}

.hobo-sign-marker:hover {
  transform: scale(1.15);
  box-shadow: 2px 4px 8px rgba(0,0,0,0.3);
}

.hobo-sign-marker svg {
  width: 18px;
  height: 18px;
  stroke: var(--icon-color, #4a4a4a);
}

/* Hobo Sign Popup */
.hobo-popup {
  text-align: center;
  padding: 8px;
  min-width: 180px;
}

.hobo-popup-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
  background: #f5f0e6;
  border: 2px solid #8b7355;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hobo-popup-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--icon-color, #4a4a4a);
}

.hobo-popup-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.hobo-popup-meaning {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.hobo-popup-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
  font-size: 10px;
  color: #a0a0a0;
  font-style: italic;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 900px) {
  .hero-bg video {
    display: none;
  }

  .hero-bg img {
    display: block;
    opacity: 0.15;
  }

  .hero-video-mobile-wrapper {
    display: block;
    width: calc(100% + 40px);
    margin-left: -20px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 70px 0 80px;
    margin-top: 0;
  }

  .hero-content {
    padding: 0 20px;
  }

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

  .hero-content .tagline {
    margin: 0 auto 32px;
  }

  .nav-links {
    display: none;
  }

  .stats-container {
    flex-wrap: wrap;
    gap: 30px;
  }

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

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

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

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

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Hide sidebar footer on desktop (uses body footer instead) */
.sidebar-footer-wrapper {
  display: none;
}

/* Sheds page responsive */
@media (max-width: 1023px) {
  .mobile-view-toggle {
    display: flex;
  }

  .main-container {
    flex-direction: column;
  }

  .map-container {
    position: fixed;
    top: 92px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
  }

  .sidebar {
    position: fixed;
    top: 92px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 2;
    border-left: none;
    display: none;
  }

  .main-container.view-map .map-container {
    display: block;
  }

  .main-container.view-map .sidebar {
    display: none;
  }

  .main-container.view-list .map-container {
    display: none;
  }

  .main-container.view-list .sidebar {
    display: block;
    position: static;
    width: 100%;
    padding-bottom: 80px;
    overflow-y: visible;
  }

  /* Show footer inside sidebar on mobile list view */
  .sidebar-footer-wrapper {
    display: block;
    margin-top: 24px;
    padding: 0 16px 100px;
  }

  .shed-card {
    display: flex;
    flex-direction: row;
  }

  .shed-image {
    width: 140px;
    aspect-ratio: 1 / 1;
    min-height: 140px;
  }

  .shed-details {
    flex: 1;
  }
}

@media (min-width: 1024px) {
  .sidebar {
    width: 400px;
  }

  .shed-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .shed-card {
    margin-bottom: 0;
  }
}

@media (min-width: 1280px) {
  .sidebar {
    width: 780px;
    flex-shrink: 0;
  }

  .shed-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .shed-card {
    margin-bottom: 0;
  }

  .map-container {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 12px 20px;
  }

  .nav-logo {
    height: 32px;
  }

  .nav-title {
    font-size: 1.2rem;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 13px;
  }

  /* Shed modal responsive */
  .shed-modal {
    margin: 0;
    border-radius: 0;
    min-height: 100vh;
  }

  .shed-modal-gallery {
    height: 250px;
  }

  .shed-modal-content {
    padding: 20px;
  }

  .shed-modal-header {
    flex-direction: column;
    gap: 16px;
  }

  .shed-modal-cta {
    text-align: left;
    width: 100%;
  }

  .shed-modal-cta-btn {
    width: 100%;
    text-align: center;
  }

  .shed-modal-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2rem;
  }

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

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

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

  .steps-container {
    grid-template-columns: 1fr;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  .nav {
    padding: 12px 16px;
  }

  .nav-title {
    font-size: 18px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }
}

/* Leaflet overrides */
.leaflet-top.leaflet-right {
  top: 12px;
  right: 12px;
}

.leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
}

.leaflet-control-zoom a {
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  font-size: 18px !important;
}

@media (max-width: 600px) {
  .leaflet-control-attribution {
    display: none;
  }
}

/* Geocoder styling */
.leaflet-control-geocoder {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  border: none;
  margin: 16px !important;
}

.leaflet-control-geocoder-form input {
  padding: 12px 16px;
  font-size: 14px;
  border: none;
  border-radius: 8px;
  width: 280px;
  font-family: 'Inter', sans-serif;
}

.leaflet-control-geocoder-form input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary);
}

.leaflet-control-geocoder-alternatives {
  background: white;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  max-height: 300px;
  overflow-y: auto;
}

.leaflet-control-geocoder-alternatives li {
  padding: 10px 16px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.leaflet-control-geocoder-alternatives li:hover {
  background: var(--bg-light);
}

.leaflet-control-geocoder-alternatives li:last-child {
  border-bottom: none;
}
