/*
Theme Name: Street View Apartments
Theme URI: https://streetviewdominica.com
Author: Street View Hospitality
Author URI: https://streetviewdominica.com
Description: Bespoke Elementor-compatible boutique guest apartment theme for Street View in Stockfarm, Roseau, Dominica.
Version: 1.5.1
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: street-view
*/
:root {
  --sv-obsidian: #0d1015;
  --sv-charcoal: #151a22;
  --sv-slate: #1e2530;
  --sv-gold: #c8a25c;
  --sv-gold-light: #e2c488;
  --sv-gold-dark: #9c7938;
  --sv-text-light: #f3f4f6;
  --sv-text-muted: #9ca3af;
  --sv-border-gold: rgba(200, 162, 92, 0.28);
  --sv-font-serif: 'Cormorant Garamond', Georgia, serif;
  --sv-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --sv-container: 1280px;
  --sv-radius: 10px;
  --sv-transition: all 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  --sv-hero-overlay-opacity: 0.45;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { margin: 0; font-family: var(--sv-font-sans); background-color: var(--sv-obsidian); color: var(--sv-text-light); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sv-gold); text-decoration: none; transition: var(--sv-transition); }
a:hover { color: var(--sv-gold-light); }
h1, h2, h3, h4, h5, h6 { font-family: var(--sv-font-serif); font-weight: 600; line-height: 1.15; margin-top: 0; color: #ffffff; }
.sv-container { width: 100%; max-width: var(--sv-container); margin: 0 auto; padding: 0 24px; }
.sv-header { position: sticky; top: 0; z-index: 999; background: rgba(13, 16, 21, 0.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--sv-border-gold); }
.sv-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 20px; }
.sv-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.sv-brand img, .custom-logo { max-height: 56px; width: auto; object-fit: contain; }
.sv-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: nowrap; gap: 24px; }
.sv-nav a { color: var(--sv-text-light); font-size: 0.86rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; position: relative; padding: 6px 0; }
.sv-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1.5px; background: var(--sv-gold); transition: var(--sv-transition); }
.sv-nav a:hover::after, .sv-nav .current-menu-item > a::after { width: 100%; }
.sv-header-cta { flex-shrink: 0; }
.sv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 26px; border-radius: 6px; font-family: var(--sv-font-sans); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; cursor: pointer; border: 1px solid transparent; transition: var(--sv-transition); }
.sv-btn-gold { background: linear-gradient(135deg, var(--sv-gold), var(--sv-gold-dark)); color: #0d1015; box-shadow: 0 8px 24px rgba(200, 162, 92, 0.25); }
.sv-btn-gold:hover { background: linear-gradient(135deg, var(--sv-gold-light), var(--sv-gold)); color: #0d1015; transform: translateY(-2px); }
.sv-btn-outline { background: rgba(13, 16, 21, 0.65); backdrop-filter: blur(6px); border-color: var(--sv-gold); color: var(--sv-gold-light); }
.sv-btn-outline:hover { background: rgba(200, 162, 92, 0.22); color: #ffffff; }
.sv-menu-toggle { display: none; background: none; border: 1px solid var(--sv-border-gold); color: var(--sv-gold); padding: 8px 12px; border-radius: 6px; font-size: 1.25rem; cursor: pointer; }
.sv-hero { position: relative; padding: 108px 0 96px; background-color: #0d1015; border-bottom: 1px solid var(--sv-border-gold); overflow: hidden; }
.sv-hero-slideshow { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.sv-hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1); transition: opacity 1.6s ease-in-out, transform 8s ease-out; will-change: opacity, transform; }
.sv-hero-slide.active { opacity: 1; transform: scale(1.08); }
.sv-hero-overlay { position: absolute; inset: 0; z-index: 1; background-color: rgba(13, 16, 21, var(--sv-hero-overlay-opacity)); background-image: linear-gradient(90deg, rgba(13, 16, 21, calc(var(--sv-hero-overlay-opacity) + 0.18)) 0%, rgba(13, 16, 21, var(--sv-hero-overlay-opacity)) 55%, rgba(13, 16, 21, calc(var(--sv-hero-overlay-opacity) + 0.08)) 100%); }
.sv-hero .sv-container { position: relative; z-index: 2; }
.sv-hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.sv-hero-dot { width: 28px; height: 3px; border: none; border-radius: 2px; background: rgba(255, 255, 255, 0.35); cursor: pointer; padding: 0; transition: var(--sv-transition); }
.sv-hero-dot.active { background: var(--sv-gold); width: 44px; }
.sv-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sv-gold); margin-bottom: 18px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65); }
.sv-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--sv-gold); }
.sv-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center; }
.sv-hero h1 { font-size: clamp(2.8rem, 5vw, 4.4rem); margin-bottom: 22px; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.75); }
.sv-hero h1 span { color: var(--sv-gold); font-style: italic; }
.sv-hero-lead { font-size: 1.12rem; color: #f3f4f6; max-width: 600px; margin-bottom: 34px; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75); }
.sv-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }
.sv-hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.sv-stat-num { font-family: var(--sv-font-serif); font-size: 2.2rem; font-weight: 700; color: var(--sv-gold); line-height: 1; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65); }
.sv-stat-label { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: #e5e7eb; margin-top: 6px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65); }
.sv-hero-card { background: rgba(21, 26, 34, 0.88); backdrop-filter: blur(14px); border: 1px solid var(--sv-border-gold); border-radius: 14px; padding: 36px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); }
.sv-hero-card h3 { font-size: 1.75rem; margin-bottom: 8px; }
.sv-hero-card p { color: var(--sv-text-muted); font-size: 0.94rem; margin-bottom: 24px; }
.sv-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sv-form-group { margin-bottom: 14px; }
.sv-form-group.full { grid-column: 1 / -1; }
.sv-form-group label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sv-gold-light); margin-bottom: 6px; }
.sv-input, .sv-select, .sv-textarea { width: 100%; padding: 12px 14px; background: var(--sv-obsidian); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 6px; color: #ffffff; font-family: var(--sv-font-sans); font-size: 0.94rem; }
.sv-input:focus, .sv-select:focus, .sv-textarea:focus { outline: none; border-color: var(--sv-gold); }
.sv-section { padding: 96px 0; }
.sv-section-alt { background: var(--sv-charcoal); border-top: 1px solid rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.sv-section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sv-section-head h2 { font-size: clamp(2.2rem, 3.8vw, 3.2rem); margin-bottom: 14px; }
.sv-section-head p { color: var(--sv-text-muted); font-size: 1.05rem; }
.sv-filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 42px; }
.sv-filter-btn { background: var(--sv-slate); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--sv-text-light); padding: 9px 20px; border-radius: 999px; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: var(--sv-transition); }
.sv-filter-btn.active, .sv-filter-btn:hover { background: var(--sv-gold); color: #0d1015; border-color: var(--sv-gold); }
.sv-apartments-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px; }
.sv-apt-card { background: var(--sv-charcoal); border: 1px solid var(--sv-border-gold); border-radius: var(--sv-radius); overflow: hidden; display: flex; flex-direction: column; transition: var(--sv-transition); }
.sv-apt-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45); border-color: var(--sv-gold); }
.sv-apt-media { position: relative; height: 215px; background: linear-gradient(135deg, #1b2430, #10151c); overflow: hidden; }
.sv-apt-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.sv-apt-card:hover .sv-apt-media img { transform: scale(1.06); }
.sv-apt-badge { position: absolute; top: 14px; left: 14px; background: rgba(13, 16, 21, 0.88); border: 1px solid var(--sv-gold); color: var(--sv-gold-light); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 11px; border-radius: 4px; }
.sv-apt-price { position: absolute; bottom: 14px; right: 14px; background: var(--sv-gold); color: #0d1015; font-weight: 700; font-size: 0.9rem; padding: 5px 12px; border-radius: 4px; }
.sv-apt-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.sv-apt-meta { display: flex; gap: 12px; font-size: 0.8rem; color: var(--sv-gold-light); margin-bottom: 10px; }
.sv-apt-body h3 { font-size: 1.55rem; margin-bottom: 10px; }
.sv-apt-body p { font-size: 0.92rem; color: var(--sv-text-muted); margin-bottom: 20px; flex: 1; }
.sv-apt-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.sv-tourism-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sv-tourism-card { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--sv-border-gold); min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; background-size: cover; background-position: center; }
.sv-tourism-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 16, 21, 0.08) 0%, rgba(13, 16, 21, 0.88) 85%); }
.sv-tourism-card > * { position: relative; z-index: 1; }
.sv-tourism-tag { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sv-gold-light); margin-bottom: 8px; }
.sv-tourism-card h3 { font-size: 1.65rem; margin-bottom: 8px; }
.sv-tourism-card p { margin: 0; font-size: 0.92rem; color: #e5e7eb; }
.sv-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.sv-feature-box { background: var(--sv-obsidian); border: 1px solid rgba(200, 162, 92, 0.22); border-radius: var(--sv-radius); padding: 28px; }
.sv-feature-icon { width: 44px; height: 44px; border-radius: 8px; background: rgba(200, 162, 92, 0.14); color: var(--sv-gold); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 16px; }
.sv-feature-box h4 { font-size: 1.35rem; margin-bottom: 8px; }
.sv-feature-box p { margin: 0; color: var(--sv-text-muted); font-size: 0.92rem; }
.sv-location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sv-distance-list { list-style: none; padding: 0; margin: 24px 0 0; }
.sv-distance-list li { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.09); font-size: 0.96rem; }
.sv-distance-list span:last-child { color: var(--sv-gold); font-weight: 600; }
.elementor-page .sv-main-content { padding: 0; }
.elementor-template-full-width .sv-container, .elementor-template-canvas .sv-container { max-width: 100%; padding: 0; }
.sv-footer { background: #090b0e; border-top: 1px solid var(--sv-border-gold); padding: 72px 0 32px; }
.sv-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.sv-footer h4 { font-size: 1.35rem; color: var(--sv-gold-light); margin-bottom: 18px; }
.sv-footer ul { list-style: none; padding: 0; margin: 0; }
.sv-footer li { margin-bottom: 10px; font-size: 0.92rem; color: var(--sv-text-muted); }
.sv-footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 0.85rem; color: var(--sv-text-muted); }
.sv-modal { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(5, 7, 10, 0.84); backdrop-filter: blur(8px); align-items: center; justify-content: center; padding: 20px; }
.sv-modal.open { display: flex; }
.sv-modal-dialog { background: var(--sv-charcoal); border: 1px solid var(--sv-gold); border-radius: 12px; max-width: 540px; width: 100%; padding: 32px; position: relative; }
.sv-modal-close { position: absolute; top: 16px; right: 18px; background: none; border: none; color: var(--sv-text-muted); font-size: 1.5rem; cursor: pointer; }
@media (max-width: 992px) {
  .sv-hero-grid, .sv-location-grid, .sv-footer-grid, .sv-tourism-grid { grid-template-columns: 1fr; }
  .sv-menu-toggle { display: inline-block; }
  .sv-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--sv-obsidian); border-bottom: 1px solid var(--sv-border-gold); padding: 20px 24px; }
  .sv-nav.open { display: block; }
  .sv-nav ul { flex-direction: column; align-items: flex-start; gap: 16px; }
}
