/* ShortStayInDC - Luxury Vacation Rentals CSS
   Premium design system for sophisticated DC rental properties */

/* CSS Variables - Luxury Color Palette */
:root {
  /* Primary Colors */
  --luxury-navy: #0c1f3f;
  --deep-ocean: #112e5a;
  --midnight: #071429;
  
  /* Gold Accents */
  --warm-gold: #d4a574;
  --deep-gold: #b8935f;
  --light-gold: #e6c299;
  
  /* Neutrals */
  --warm-cream: #fdfcf7;
  --soft-beige: #f9f5ed;
  --light-gray: #f5f2eb;
  --medium-gray: #e8e4dc;
  --charcoal: #2c2c2c;
  --dark-gray: #0C1F3F; /* Changed to match navy brand color */
  
  /* Functional Colors */
  --success: #22c55e;
  --error: #ef4444;
  --info: #3b82f6;
  
  /* Typography */
  --font-primary: 'Cormorant Garamond', Georgia, serif;
  --font-secondary: 'Montserrat', -apple-system, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Account for sticky elements */
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background-color: var(--warm-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.2;
  color: var(--luxury-navy);
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
  margin-bottom: 1rem;
  color: var(--charcoal);
  font-size: 1.125rem;
  line-height: 1.8;
}

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

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

/* Container System */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  /* Adjust scroll offset for mobile */
  html {
    scroll-padding-top: 80px;
  }
}

/* Luxury Header */
.luxury-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-base);
}

.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  min-height: 80px;
}

.brand-link {
  text-decoration: none;
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.brand-link:hover .brand-name {
  color: var(--warm-gold);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-mark {
  width: 48px;
  height: 48px;
  background: var(--luxury-navy);
  color: var(--warm-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.5rem;
  border-radius: 4px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--luxury-navy);
  line-height: 1;
}

.brand-tagline {
  font-family: var(--font-secondary);
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--warm-gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.luxury-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.luxury-nav a {
  font-family: var(--font-secondary);
  font-weight: 500;
  color: var(--charcoal);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
  position: relative;
}

.luxury-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--warm-gold);
  transition: width var(--transition-fast);
}

.luxury-nav a:hover {
  color: var(--warm-gold);
}

.luxury-nav a:hover::after {
  width: 100%;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 180px;
  box-shadow: var(--shadow-lg);
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  margin-top: 0.25rem;
  z-index: 1000;
  padding: 0.25rem 0;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--charcoal);
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: normal;
  transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
  background: var(--light-gray);
  color: var(--warm-gold);
}

/* Header RESERVE Button Styles */
.reserve-dropdown {
  margin-left: 1rem;
}

.btn-nav-reserve {
  background: var(--luxury-navy);
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.btn-nav-reserve:hover {
  background: var(--deep-ocean);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(12, 31, 63, 0.3);
}

.btn-nav-reserve::after {
  content: '▼';
  font-size: 0.7rem;
  margin-left: 0.5rem;
  transition: transform var(--transition-fast);
}

.reserve-dropdown:hover .btn-nav-reserve::after {
  transform: rotate(180deg);
}

.reserve-dropdown .dropdown-menu {
  min-width: 180px;
  margin-top: 0.5rem;
}

.dropdown-menu a::after {
  display: none;
}

/* Header actions removed - all navigation items now in main nav */
/* .header-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
} */

.luxury-cta {
  background: var(--luxury-navy);
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.luxury-cta:hover {
  background: var(--deep-ocean);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Luxury Trust Bar - REMOVED */
/* .luxury-trust-bar {
  background: var(--light-gray);
  border-bottom: 1px solid var(--medium-gray);
}

.trust-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  color: var(--charcoal);
  font-weight: 500;
}

.trust-item i {
  color: var(--warm-gold);
  font-size: 1.125rem;
}

.highlight-trust {
  background: var(--warm-gold);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  margin-left: auto;
}

.highlight-trust i {
  color: white;
} */

/* Split Screen Hero */
.split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 65vh; /* Adjusted to hide brown container while showing luxury text */
  max-height: 70vh; /* Cap maximum height for consistency */
  position: relative;
}

.hero-split {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center; /* Ensure consistent positioning */
}

/* Specific positioning for each hero to ensure consistency */
.foggy-bottom-hero .hero-image-container img {
  object-position: center center;
}

.capitol-hill-hero .hero-image-container img {
  object-position: center center; /* Match Foggy Bottom positioning */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(12, 31, 63, 0.8) 0%, rgba(17, 46, 90, 0.6) 100%);
}

/* Add vertical divider between desktop/tablet heroes */
@media (min-width: 769px) {
  .hero-split:first-child::after,
  .foggy-bottom-hero::after {
    content: "";
    display: block;
    width: 1px;
    height: 60%;
    background-color: rgba(255, 255, 255, 0.3);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
  }
  
  /* Alternative border approach for vertical divider */
  .hero-split:first-child,
  .foggy-bottom-hero {
    border-right: 1px solid rgba(255, 255, 255, 0.25);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 2rem; /* Slightly increased for better balance */
  color: white;
  text-align: center;
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Center align all children including badges */
  gap: 0.75rem; /* Slightly reduced gap for tighter grouping */
}

.property-badge {
  width: auto !important;
  max-width: 200px !important;
  padding: 8px 20px !important;
  display: inline-block !important;
  white-space: nowrap !important;
  background: var(--warm-gold);
  color: white;
  border-radius: 30px;
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.hero-title {
  font-family: var(--font-primary);
  font-size: 2.5rem; /* Reduced from 3rem for smaller hero */
  font-weight: 400;
  color: white;
  margin-bottom: 0.5rem; /* Reduced margin */
  line-height: 1.1;
}

.hero-subtitle {
  font-family: var(--font-secondary);
  font-size: 1rem; /* Slightly reduced */
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem; /* Reduced from 2rem */
  line-height: 1.3;
  padding: 0 0.5rem;
  max-width: 100%;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 1.2rem; /* Slightly reduced gap */
  margin-bottom: 1.5rem; /* Reduced for smaller hero */
  flex-wrap: nowrap;
  white-space: nowrap;
}

.hero-features span {
  display: flex;
  align-items: center;
  gap: 0.4rem; /* Reduced gap */
  font-family: var(--font-secondary);
  font-size: 0.85rem; /* Reduced from 0.95rem */
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  position: relative;
}

.hero-features span:not(:last-child)::after {
  content: '|';
  position: absolute;
  right: -0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
}

.hero-features span i {
  font-size: 0.875rem;
  opacity: 0.9;
}

.hero-price {
  display: none; /* Hiding pricing elements */
  margin-bottom: 2rem;
}

.hero-price .from {
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-price .price {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 300;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-price .night {
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
  display: flex;
  gap: 0.8rem; /* Reduced gap */
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem; /* Add small top margin */
}

/* Luxury Buttons */
.btn-primary,
.btn-secondary {
  padding: 0.75rem 1.5rem; /* Reduced padding for smaller hero */
  border: none;
  border-radius: 4px;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.9rem; /* Slightly smaller font */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--warm-gold);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--deep-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-secondary:active {
  transform: translateY(-1px);
}

/* Enhanced hero button hover effects */
.hero-actions button {
  position: relative;
  overflow: hidden;
}

.hero-actions button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.hero-actions button:hover::before {
  width: 300px;
  height: 300px;
}

/* Luxury Vacation Homes Section */
.luxury-vacation-homes {
  padding: 5rem 0;
  background: white;
  text-align: center;
}

.vacation-homes-content {
  max-width: 900px;
  margin: 0 auto;
}

.vacation-homes-title {
  font-family: var(--font-primary);
  font-size: 4rem;
  font-weight: 600;
  color: var(--luxury-navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.vacation-homes-locations {
  font-family: var(--font-primary);
  font-size: 2.25rem;
  font-weight: 600;
  color: #8B1538; /* Rich burgundy for prestigious neighborhood names */
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

/* Style the bullet separator in dark navy */
.vacation-homes-locations .location-separator {
  color: var(--luxury-navy);
  margin: 0 0.5rem;
}

.vacation-homes-subtitle {
  font-family: var(--font-secondary);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.section-title {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 600;
  color: var(--luxury-navy);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-family: var(--font-secondary);
  font-size: 1.125rem;
  color: #666;
  font-weight: 300;
}

/* Value grid styles removed - replaced with luxury vacation homes section */

.link-button {
  background: none;
  border: none;
  color: var(--warm-gold);
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.link-button:hover {
  color: var(--deep-gold);
}

/* Luxury Properties Section */
.luxury-properties {
  padding: 5rem 0;
  background: var(--light-gray);
}

.section-header.elegant {
  text-align: center;
  margin-bottom: 4rem;
}

.luxury-property-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 600px;
}

.luxury-property-card:nth-child(even) {
  grid-template-columns: 45% 55%;
}

.luxury-property-card:nth-child(even) .property-gallery-section {
  order: 2;
}

/* Property Gallery Section */
.property-gallery-section {
  flex: 1.5;
  min-height: 600px;
  position: relative;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
}

.main-gallery {
  position: relative;
  height: 100%;
  min-height: 600px;
}

.gallery-container {
  display: flex;
  height: 100%;
  transition: transform var(--transition-slow);
}

.gallery-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

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

.gallery-slide.active {
  display: block;
}

.gallery-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(5px);
}

.gallery-control:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.1);
}

.gallery-control.prev {
  left: 1.5rem;
}

.gallery-control.next {
  right: 1.5rem;
}

.gallery-indicators {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.indicator.active {
  width: 30px;
  border-radius: 5px;
  background: white;
}


/* Property Details Section */
.property-details-section {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.property-header-luxury {
  margin-bottom: 2rem;
}

.property-name {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--luxury-navy);
  margin-bottom: 0.5rem;
}

.property-neighborhood {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  color: var(--warm-gold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.property-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stars {
  color: var(--warm-gold);
  font-size: 1.125rem;
}

.rating-text {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  color: #666;
}

.property-description-luxury {
  margin-bottom: 1rem;
}

.property-description-luxury p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #555;
}

.property-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.highlight i {
  font-size: 1.25rem;
  color: var(--warm-gold);
}

.highlight span {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  color: var(--charcoal);
  font-weight: 500;
}

.property-amenities-preview {
  margin-bottom: 2rem;
}

.property-amenities-preview h4 {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  color: var(--luxury-navy);
  margin-bottom: 1rem;
}

.property-amenities-preview ul {
  list-style: none;
}

.property-amenities-preview li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  color: #555;
}

.property-amenities-preview i {
  color: var(--warm-gold);
}

/* Amenity Name - Prominent */
.property-amenities-preview .amenity-name {
  font-weight: 600;
  color: var(--luxury-navy);
  font-family: var(--font-primary);
  font-size: 1.1rem;
}

/* Amenity Description - Subdued */
.property-amenities-preview .amenity-desc {
  color: #888;
  font-size: 1rem;
  font-weight: 400;
  font-family: var(--font-primary);
}

.property-location-preview {
  margin-bottom: 1.5rem;
}

.property-location-preview h4 {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  color: var(--luxury-navy);
  margin-bottom: 0.5rem;
}

.property-location-preview p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

/* Property Calendar Widget Styling */
.property-calendar-widget {
  margin: 2rem 0 0.5rem 0;
  padding: 0;
  background: transparent;
  border: none;
  min-height: 500px; /* Ensure adequate space for full calendar */
}

.property-calendar-widget h4 {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--luxury-navy);
  margin: 0 0 1rem 0;
  text-transform: none;
  letter-spacing: 0;
  text-align: left;
}

.calendar-widget-container {
  overflow-x: auto;
  overflow-y: visible;
  padding: 0;
  margin-bottom: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  min-height: 400px; /* Ensure adequate height for full month display */
}

/* Single month calendar styling */
.calendar-widget-container.single-month {
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
}

.calendar-widget-container .ownerrez-widget {
  display: block;
  width: 100%;
  min-height: 350px; /* Minimum height for widget */
}

/* Force iframe to show full calendar */
.calendar-widget-container iframe {
  min-height: 350px !important;
  height: auto !important;
  display: block !important;
}

/* =============================================
   OWNERREZ CALENDAR CUSTOM STYLING
   ============================================= */

/* Override widget fonts to match luxury aesthetic */
.property-calendar-widget .ownerrez-widget,
.property-calendar-widget .ownerrez-widget * {
  font-family: 'Georgia', 'Times New Roman', serif !important;
}

/* Clean up widget wrapper */
.property-calendar-widget .ownerrez-widget > div {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Style the calendar container */
.property-calendar-widget .ownerrez-calendar,
.property-calendar-widget .calendar-container,
.property-calendar-widget [class*="calendar"]:not(th):not(td) {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Month header styling */
.property-calendar-widget .month-header,
.property-calendar-widget .calendar-month-header,
.property-calendar-widget [class*="month-name"] {
  font-family: var(--font-primary) !important;
  font-size: 1.3rem !important;
  font-weight: 400 !important;
  color: var(--luxury-navy) !important;
  text-align: center !important;
  margin-bottom: 1rem !important;
  letter-spacing: 1px !important;
  text-transform: capitalize !important;
}

/* Navigation arrows */
.property-calendar-widget .calendar-nav,
.property-calendar-widget .nav-prev,
.property-calendar-widget .nav-next,
.property-calendar-widget [class*="arrow"],
.property-calendar-widget button[class*="nav"] {
  background: transparent !important;
  border: 1px solid #f0f0f0 !important;
  color: var(--luxury-navy) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 4px !important;
  font-size: 1rem !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.property-calendar-widget .calendar-nav:hover,
.property-calendar-widget .nav-prev:hover,
.property-calendar-widget .nav-next:hover,
.property-calendar-widget [class*="arrow"]:hover,
.property-calendar-widget button[class*="nav"]:hover {
  background: var(--light-gray) !important;
  border-color: var(--warm-gold) !important;
  color: var(--deep-ocean) !important;
}

/* Single month table - full width */
.calendar-widget-container.single-month table,
.property-calendar-widget table {
  display: table !important;
  width: 100% !important;
  margin: 0 auto !important;
  max-width: 100% !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  background: transparent !important;
}

/* Remove default widget borders and shadows */
.property-calendar-widget .ownerrez-widget table {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Legend styling if present */
.property-calendar-widget .legend,
.property-calendar-widget .calendar-legend {
  margin-top: 1rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid #f0f0f0 !important;
  font-family: 'Georgia', 'Times New Roman', serif !important;
  font-size: 0.85rem !important;
  color: #666 !important;
}

/* Navigation arrows for month browsing */
.calendar-widget-container .month-nav {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 0.5rem !important;
}

.calendar-widget-container .month-nav button,
.calendar-widget-container .nav-arrow {
  background: var(--luxury-navy) !important;
  color: white !important;
  border: none !important;
  padding: 0.5rem 1rem !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  font-family: var(--font-secondary) !important;
  transition: all 0.3s ease !important;
}

.calendar-widget-container .month-nav button:hover,
.calendar-widget-container .nav-arrow:hover {
  background: var(--deep-ocean) !important;
  transform: translateY(-1px) !important;
}

/* Style calendar table headers */
.calendar-widget-container th,
.property-calendar-widget th,
.property-calendar-widget .ownerrez-widget th {
  background: transparent !important;
  color: var(--luxury-navy) !important;
  font-family: 'Georgia', 'Times New Roman', serif !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  padding: 0.75rem 0.5rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border-bottom: 2px solid #f0f0f0 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}

/* Style calendar cells */
.calendar-widget-container td,
.property-calendar-widget td,
.property-calendar-widget .ownerrez-widget td {
  font-family: 'Georgia', 'Times New Roman', serif !important;
  font-size: 1rem !important;
  padding: 0.75rem 0.5rem !important;
  border: 1px solid #f5f5f5 !important;
  position: relative !important;
  min-height: 65px !important;
  vertical-align: top !important;
  background: #ffffff !important;
  transition: all 0.2s ease !important;
}

/* Hover effect on cells */
.property-calendar-widget td:hover {
  background: #fafafa !important;
  border-color: var(--warm-gold) !important;
}

/* Rate display within calendar cells */
.calendar-widget-container .rate,
.calendar-widget-container .price,
.property-calendar-widget .rate,
.property-calendar-widget .price,
.property-calendar-widget .ownerrez-widget .rate,
.property-calendar-widget .ownerrez-widget .price {
  display: block !important;
  font-size: 0.85rem !important;
  color: var(--luxury-navy) !important;
  font-weight: 400 !important;
  margin-top: 4px !important;
  font-style: italic !important;
}

/* Date numbers */
.calendar-widget-container .date-number,
.property-calendar-widget .date-number,
.property-calendar-widget .ownerrez-widget .date-number,
.property-calendar-widget .ownerrez-widget .day-number {
  font-weight: 400 !important;
  display: block !important;
  margin-bottom: 2px !important;
  font-size: 1.1rem !important;
  color: #333 !important;
}

/* Available dates */
.calendar-widget-container .available,
.property-calendar-widget .available,
.property-calendar-widget .ownerrez-widget .available {
  background: #ffffff !important;
  color: var(--text-dark) !important;
  cursor: pointer;
  border-color: #f0f0f0 !important;
}

.calendar-widget-container .available:hover,
.property-calendar-widget .available:hover,
.property-calendar-widget .ownerrez-widget .available:hover {
  background: rgba(212, 165, 116, 0.1) !important;
  border-color: var(--warm-gold) !important;
}

/* Unavailable dates */
.calendar-widget-container .unavailable,
.calendar-widget-container .booked,
.property-calendar-widget .unavailable,
.property-calendar-widget .booked,
.property-calendar-widget .ownerrez-widget .unavailable,
.property-calendar-widget .ownerrez-widget .booked {
  background: #fafafa !important;
  color: #ccc !important;
  border-color: #f5f5f5 !important;
  opacity: 0.6 !important;
}

/* Today's date */
.calendar-widget-container .today,
.property-calendar-widget .today,
.property-calendar-widget .ownerrez-widget .today {
  font-weight: 400 !important;
  border: 2px solid var(--warm-gold) !important;
  background: rgba(212, 165, 116, 0.05) !important;
}

/* Responsive - optimize for mobile */
@media (max-width: 768px) {
  .calendar-widget-container {
    padding: 0;
    min-height: 350px; /* Maintain minimum height on mobile */
  }
  
  .property-calendar-widget {
    margin: 1.5rem 0;
    padding: 0;
    border-radius: 0;
    min-height: 450px; /* Adequate space on mobile */
  }
  
  .calendar-widget-container.single-month table {
    max-width: 100% !important;
    font-size: 0.85rem !important;
  }
  
  .calendar-widget-container td {
    min-height: 50px !important;
    padding: 0.3rem !important;
    font-size: 0.8rem !important;
  }
  
  .calendar-widget-container .rate,
  .calendar-widget-container .price {
    font-size: 0.7rem !important;
  }
}

.property-actions-luxury {
  margin-top: 0.5rem;
  padding-top: 0;
  border-top: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price-from {
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-amount {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--luxury-navy);
}

.price-period {
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: #666;
}

.action-buttons {
  display: flex;
  gap: 1rem;
}

.btn-luxury-primary,
.btn-luxury-secondary {
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 4px;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-luxury-primary {
  background: var(--luxury-navy);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-luxury-primary:hover {
  background: #c9a96e;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(201, 169, 110, 0.3);
  transition: all 0.3s ease;
}

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

.btn-luxury-secondary:hover {
  background: var(--warm-gold);
  color: white;
  transform: translateY(-2px);
}

/* Calendar Section */
.calendar-section {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--light-gray);
  border-radius: 8px;
}

.calendar-section h4 {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  color: var(--luxury-navy);
  margin-bottom: 1.5rem;
}

/* Experience Section */
.luxury-experience {
  padding: 5rem 0;
  background: white;
}

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

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

.experience-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.experience-icon i {
  font-size: 2.5rem;
  color: var(--warm-gold);
}

.experience-card:hover .experience-icon {
  background: var(--warm-gold);
  transform: scale(1.05);
}

.experience-card:hover .experience-icon i {
  color: white;
}

.experience-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.experience-card p {
  font-size: 1rem;
  color: #666;
}

/* Premium Amenities Section */
.premium-amenities {
  padding: 5rem 0;
  background: #f8f9fa;
}

.amenity-category {
  margin-bottom: 40px;
}

.amenity-category:last-child {
  margin-bottom: 0;
}

.category-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-secondary);
  font-size: 2rem;
  color: var(--luxury-navy);
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--warm-gold);
}

.category-title i {
  font-size: 1.75rem;
  color: var(--warm-gold);
}

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

.amenity-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
  cursor: pointer;
  text-align: center;
}

.amenity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--warm-gold);
}

.amenity-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--warm-gold) 0%, #e8b04b 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  transition: all var(--transition-smooth);
}

.amenity-icon i {
  font-size: 1.75rem;
  color: white;
}

.amenity-card:hover .amenity-icon {
  transform: scale(1.1);
}

.amenity-card h4 {
  font-family: var(--font-secondary);
  font-size: 16px;
  color: var(--luxury-navy);
  margin-bottom: 8px;
  font-weight: 600;
  text-align: center;
}

.amenity-card p {
  line-height: 1.4;
  font-size: 14px;
  color: #666;
  text-align: center;
}

/* About Your Host Section */
.about-host-section {
  padding: 0;
  background: linear-gradient(to bottom, #fafbfc 0%, #f5f7fa 50%, #fafbfc 100%);
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.host-content-wrapper {
  padding: 6rem 0;
}

.host-header {
  text-align: center;
  margin-bottom: 4rem;
}

.host-title {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--luxury-navy);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.host-subtitle {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  color: var(--warm-gold);
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: none;
}

/* Single-Column Centered Layout */
.host-story {
  max-width: 900px;
  margin: 3rem auto 4rem;
  text-align: center;
}

.host-narrative {
  font-family: var(--font-secondary);
  font-size: 1.375rem;
  color: #444;
  line-height: 1.9;
  font-weight: 400;
  margin-bottom: 2rem;
  text-align: center;
}

.host-narrative em {
  font-style: italic;
  color: var(--warm-gold);
  font-weight: 500;
}

.host-tagline {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  color: var(--luxury-navy);
  margin-top: 2rem;
  font-weight: 500;
  line-height: 1.4;
  font-style: italic;
  text-align: center;
}

.host-signature {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  color: var(--luxury-navy);
  font-weight: 600;
  margin-top: 2rem;
  font-style: italic;
  letter-spacing: 0.5px;
  text-align: center;
}

.host-differentiators {
  max-width: 1000px;
  margin: 3rem auto 4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.differentiators-title {
  font-family: var(--font-secondary);
  font-size: 2rem;
  color: var(--luxury-navy);
  text-align: center !important;
  margin-bottom: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 1.5rem;
  width: 100%;
}

.differentiators-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--warm-gold), transparent);
}

.differentiators-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto !important;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.differentiator-card {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  width: 100%;
  min-height: 140px;
  height: 100%;
  display: flex;
  align-items: center;
}

.differentiator-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: rgba(212, 165, 116, 0.4);
}

.differentiator-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  height: 100%;
  text-align: center;
  flex-direction: column;
  justify-content: center;
}

.differentiator-item:hover {
  /* Remove individual item hover since card handles it */
}

.differentiator-item i {
  font-size: 1.75rem;
  color: var(--warm-gold);
  flex-shrink: 0;
  margin-bottom: 0.5rem;
}

.differentiator-content {
  text-align: center;
  width: 100%;
}

.differentiator-content h4 {
  font-family: var(--font-secondary);
  font-size: 1.125rem;
  color: var(--luxury-navy);
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.differentiator-content p {
  font-size: 0.9rem;
  color: #4a4a4a;
  line-height: 1.5;
  font-weight: 400;
  text-align: center;
  margin: 0;
}

.host-promise {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.host-promise p {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  color: var(--luxury-navy);
  font-style: italic;
  line-height: 1.6;
  font-weight: 500;
}

/* Decorative divider before section */
/* Gold line removed as requested */

/* Testimonials Section */
.luxury-testimonials {
  padding: 5rem 0;
  background: var(--light-gray);
}

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

/* Reviews Carousel Styles */
.reviews-carousel-container {
  position: relative;
  overflow: hidden;
  padding: 0 60px; /* Space for arrows */
}

.reviews-carousel-track {
  overflow: hidden;
  position: relative;
}

.reviews-carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
}

/* Carousel Navigation Buttons - Below Carousel */
.carousel-nav-btn {
  background: white;
  border: 1px solid #D4A574;
  color: #D4A574;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-nav-btn:hover {
  background: #D4A574;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.carousel-nav-btn:active {
  transform: translateY(0);
}

/* Navigation Container */
.carousel-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #D4A574;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: #D4A574;
  width: 30px;
  border-radius: 15px;
}

/* Legacy grid support for non-carousel view */
.luxury-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

/* Tablet Optimizations */
@media (max-width: 991px) {
  .luxury-review-card {
    flex: 0 0 80%;
    max-width: 80%;
    margin: 0 10%;
  }
}

/* Mobile Optimizations for Reviews Carousel */
@media (max-width: 768px) {
  .reviews-carousel-container {
    padding: 0 20px; 
  }
  
  .luxury-review-card {
    flex: 0 0 90%;
    max-width: 90%;
    margin: 0 5%;
    min-height: 240px;
  }
  
  /* Stack navigation vertically on mobile */
  .carousel-navigation {
    flex-direction: column;
    gap: 15px;
  }
  
  /* Horizontal button layout on mobile */
  .carousel-navigation > :first-child,
  .carousel-navigation > :last-child {
    order: 1;
  }
  
  .carousel-dots {
    order: 0;
    margin-bottom: 15px;
  }
  
  /* Button container for mobile */
  .carousel-nav-btn {
    font-size: 13px;
    padding: 8px 16px;
  }
  
  .luxury-review-card {
    padding: 1.5rem;
  }
  
  .review-text {
    font-size: 14px;
    line-height: 1.5;
  }
  
  .carousel-dots {
    margin-top: 15px;
  }
}

@media (max-width: 480px) {
  .reviews-carousel-container {
    padding: 0 30px;
  }
  
  .carousel-arrow {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

.luxury-review-card {
  background: white;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  flex: 0 0 45%;
  max-width: 45%;
  margin: 0 2.5%;
}

/* First and last card margins */
.reviews-carousel-inner .luxury-review-card:first-child {
  margin-left: 0;
}

.reviews-carousel-inner .luxury-review-card:nth-child(2n) {
  margin-right: 0;
}

.luxury-review-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.review-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-stars {
  color: #fbbf24;
  font-size: 1.25rem;
  letter-spacing: 2px;
  display: block !important;
  white-space: nowrap !important;
}

.platform-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.platform-badge.vrbo {
  background: #0051a5;
  color: white;
}

.platform-badge.airbnb {
  background: #ff5a5f;
  color: white;
}

.platform-badge.google {
  background: #4285f4;
  color: white;
}

.platform-badge.direct {
  background: var(--warm-gold);
  color: white;
}

.review-content {
  margin: 1.25rem 0;
}

.review-text {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4a4a4a;
  font-style: italic;
  overflow: visible !important;
  text-overflow: initial !important;
  white-space: normal !important;
  display: block !important;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.review-author {
  display: block !important;
}

.review-author strong {
  display: inline-block !important;
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  color: var(--luxury-navy);
  margin-bottom: 0.25rem;
  white-space: nowrap !important;
  overflow: visible !important;
}

.review-property {
  display: block;
  font-size: 0.85rem;
  color: #888;
  font-weight: 500;
}

.review-date {
  font-size: 0.85rem;
  color: #999;
  font-weight: 500;
}

.reviews-cta {
  text-align: center;
  margin: 3rem 0 2rem;
}

.reviews-cta .btn-luxury-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card.featured {
  grid-column: span 2;
  background: var(--luxury-navy);
  color: white;
}

.quote-icon {
  font-size: 2rem;
  color: var(--warm-gold);
  margin-bottom: 1rem;
}

.testimonial-card.featured .quote-icon {
  color: var(--light-gold);
}

.testimonial-text {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.testimonial-card.featured .testimonial-text {
  color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-family: var(--font-secondary);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-card.featured .author-info h4 {
  color: white;
}

.author-info p {
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.testimonial-card.featured .author-info p {
  color: rgba(255, 255, 255, 0.7);
}

.testimonial-rating {
  color: var(--warm-gold);
}

/* Property Policies Section */
.luxury-policies {
  padding: 5rem 0;
  background: var(--light-gray);
}

.policies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.policy-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.policy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--warm-gold);
}

.policy-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--warm-gold) 0%, #b8935f 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.policy-icon i {
  font-size: 1.5rem;
  color: white;
}

.policy-card:hover .policy-icon {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(212, 165, 116, 0.3);
}

.policy-title {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--luxury-navy);
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.policy-description {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Responsive Policies Grid */
@media (max-width: 1200px) {
  .policies-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

@media (max-width: 992px) {
  .policies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .policies-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .policy-card {
    padding: 1.5rem;
  }
  
  .policy-icon {
    width: 50px;
    height: 50px;
  }
  
  .policy-icon i {
    font-size: 1.25rem;
  }
}

/* Locations Section */
.luxury-locations {
  padding: 5rem 0;
  background: white;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.location-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.location-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.location-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.location-card:hover .location-image img {
  transform: scale(1.05);
}

.location-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.location-overlay h3 {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: white;
  margin-bottom: 0;
}

.location-content {
  padding: 2rem;
  background: white;
}

.location-content h4 {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  color: var(--warm-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.location-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.location-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  color: #555;
}

.location-item i {
  color: var(--luxury-navy);
  width: 20px;
}

.location-map {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.location-map iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--warm-gold);
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.map-link:hover {
  color: var(--luxury-navy);
}

.map-link i {
  font-size: 0.8rem;
}

/* Booking CTA Section */
.luxury-booking-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--luxury-navy) 0%, var(--deep-ocean) 100%);
  color: white;
  text-align: center;
}

.booking-cta-content h2 {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 400;
  color: white;
  margin-bottom: 1rem;
}

.booking-cta-content p {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
}

.cta-buttons-group {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-luxury-white,
.btn-luxury-gold,
.btn-luxury-outline {
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-luxury-white {
  background: white;
  color: var(--luxury-navy);
  box-shadow: var(--shadow-md);
}

.btn-luxury-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-luxury-gold {
  background: var(--warm-gold);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-luxury-gold:hover {
  background: var(--deep-gold);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-luxury-outline:hover {
  background: white;
  color: var(--luxury-navy);
  transform: translateY(-2px);
}

/* Full width button styling */
.btn-luxury-primary.full-width,
.btn-luxury-secondary.full-width {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

/* Amenities button specific styling */
.property-amenities-preview .btn-luxury-secondary {
  margin-top: 1rem;
}

.booking-note {
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Things to Note Section */
.things-to-note-section {
  padding: 5rem 0;
  background: white;
}

.note-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.note-category {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 2rem;
  transition: all var(--transition-base);
  border: 1px solid #e8e8e8;
}

.note-category:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--warm-gold);
}

.category-header i {
  font-size: 1.5rem;
  color: var(--warm-gold);
}

.category-header h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--luxury-navy);
  margin: 0;
}

.note-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.note-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  transition: all var(--transition-fast);
}

.note-item:hover {
  transform: translateX(5px);
}

.note-item i {
  font-size: 0.9rem;
  color: var(--warm-gold);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.note-item span {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-dark);
  flex: 1;
}

.note-item strong {
  color: var(--luxury-navy);
  font-weight: 600;
}

.note-highlight {
  background: #fff9f0;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 165, 116, 0.3);
}

.note-highlight i {
  color: var(--luxury-navy);
}

.note-highlight span em {
  color: var(--luxury-navy);
  font-style: italic;
}

/* Dedicated Cancellation Policy Section */
.cancellation-policy-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #fdfcfb 0%, #f8f6f3 100%);
  border-top: 1px solid rgba(212, 165, 116, 0.2);
  border-bottom: 1px solid rgba(212, 165, 116, 0.2);
}

.cancellation-container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(212, 165, 116, 0.15);
}

/* Policy Overview */
.policy-overview {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f7f5 0%, #f0ede8 100%);
  border-radius: 15px;
  border: 1px solid rgba(212, 165, 116, 0.25);
}

.policy-overview h3 {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  color: var(--luxury-navy);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.policy-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  max-width: 400px;
  margin: 0 auto;
}

.policy-points li {
  font-family: var(--font-secondary);
  font-size: 1.125rem;
  color: var(--text-dark);
  line-height: 1.5;
  padding-left: 1.5rem;
  position: relative;
}

.policy-points li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--warm-gold);
  font-size: 1.25rem;
  font-weight: bold;
}

.policy-points strong {
  color: var(--luxury-navy);
  font-weight: 600;
}

.cancellation-calculator {
  padding: 0;
}

.date-input-wrapper {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 1.75rem;
  background: linear-gradient(135deg, #faf8f5 0%, #f5f2ed 100%);
  border-radius: 12px;
  border: 1px solid rgba(212, 165, 116, 0.2);
}

.date-input-group {
  text-align: center;
}

.date-input-group label {
  display: block;
  font-family: var(--font-primary);
  font-size: 1.125rem;
  color: var(--luxury-navy);
  font-weight: 600;
  margin-bottom: 1rem;
}

.date-input {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-family: var(--font-secondary);
  border: 2px solid var(--warm-gold);
  border-radius: 8px;
  background: white;
  color: var(--luxury-navy);
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
}

.date-input:hover {
  border-color: var(--luxury-navy);
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.2);
}

.date-input:focus {
  outline: none;
  border-color: var(--luxury-navy);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}


/* Timeline Styles - Horizontal Layout */
.cancellation-timeline {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 0;
}

.timeline-header h4 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  color: var(--luxury-navy);
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 600;
}

/* Horizontal Timeline */
.timeline-visual-horizontal {
  position: relative;
  padding: 2rem 0 4rem;
  margin-bottom: 2rem;
}

.timeline-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 2rem;
}

.timeline-progress-line {
  position: absolute;
  top: 25px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, 
    #22c55e 0%, 
    #22c55e 30%,
    #fbbf24 30%,
    #fbbf24 70%,
    #ef4444 70%,
    #ef4444 100%);
  z-index: 1;
}

.timeline-marker {
  position: relative;
  flex: 1;
  text-align: center;
  z-index: 2;
}

.marker-dot {
  width: 50px;
  height: 50px;
  background: white;
  border: 3px solid var(--warm-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.timeline-marker.today .marker-dot {
  border-color: #22c55e;
  background: #f0fdf4;
}

.timeline-marker.cutoff .marker-dot {
  border-color: #fbbf24;
  background: #fef3c7;
}

.timeline-marker.checkin .marker-dot {
  border-color: var(--luxury-navy);
  background: #e0e7ff;
}

.marker-dot i {
  font-size: 1.25rem;
  color: var(--luxury-navy);
}

.timeline-marker.today .marker-dot i {
  color: #22c55e;
}

.timeline-marker.cutoff .marker-dot i {
  color: #f59e0b;
}

.marker-info {
  min-width: 120px;
}

.marker-info strong {
  display: block;
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: var(--luxury-navy);
  margin-bottom: 0.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.marker-info span {
  display: block;
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.25rem;
  font-weight: normal;
}

.cutoff-time, .checkin-time {
  font-size: 0.875rem;
  color: #666;
  font-style: italic;
  font-weight: normal;
}

/* Refund Periods - Horizontal Layout */
.refund-periods-horizontal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.refund-period {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
}

.refund-period.full-refund {
  background: #f0fdf4;
  border-color: #86efac;
}

.refund-period.no-refund {
  background: #ffe4e6;
  border-color: #f87171;
  opacity: 1 !important;
}

.period-icon {
  flex-shrink: 0;
}

.period-icon i {
  font-size: 2.5rem;
}

.full-refund .period-icon i {
  color: #22c55e;
}

.no-refund .period-icon i {
  color: #dc2626;
  opacity: 1;
}

.period-content h5 {
  font-family: var(--font-primary);
  font-size: 1.375rem;
  color: var(--luxury-navy);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.period-content p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  font-weight: normal;
}

.period-content strong {
  color: var(--luxury-navy);
  font-weight: 600;
  font-size: 1.125rem;
}

.refund-amount {
  display: inline-block;
  font-size: 1.125rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.full-refund .refund-amount {
  background: #dcfce7;
  color: #15803d;
}

.no-refund .refund-amount {
  background: #fca5a5;
  color: #991b1b;
  font-weight: 800;
}

/* Days Alert */
.days-alert {
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.days-alert i {
  color: #f59e0b;
  font-size: 1.25rem;
}

.days-alert span {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  color: #92400e;
  font-weight: 500;
}

/* Default Policy Cards */
.default-policy {
  padding: 2rem 0;
}

.policy-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.policy-card-item {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 2px solid #e5e5e5;
  transition: all 0.3s ease;
}

.policy-card-item.full {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #86efac;
}

.policy-card-item.none {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-color: #fca5a5;
}

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

.policy-card-item i {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.policy-card-item.full i {
  color: #22c55e;
}

.policy-card-item.none i {
  color: #ef4444;
}

.policy-card-item h4 {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  color: var(--luxury-navy);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.policy-card-item p {
  font-family: var(--font-secondary);
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.policy-badge {
  display: inline-block;
  padding: 0.625rem 1.75rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.policy-card-item.full .policy-badge {
  background: #22c55e;
  color: white;
}

.policy-card-item.none .policy-badge {
  background: #ef4444;
  color: white;
}

.policy-note {
  text-align: center;
  font-size: 1rem;
  color: #666;
  font-style: italic;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(212, 165, 116, 0.2);
}

/* Responsive Things to Note */
@media (max-width: 1200px) {
  /* Host Section Responsive */
  .host-differentiators {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
  }
  
  /* Keep 2x2 grid - already set in main rule with !important */
  
  .differentiator-card {
    padding: 1.25rem;
  }
  
  .note-categories {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .note-category {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .refund-periods {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) {
  /* Ensure 2-column layout on tablets and desktop */
  .differentiators-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  /* Cancellation Policy Mobile Styles */
  .cancellation-container {
    padding: 1.75rem 1.25rem;
    border-radius: 15px;
  }
  
  .policy-overview {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .policy-overview h3 {
    font-size: 1.5rem;
  }
  
  .policy-points li {
    font-size: 1rem;
  }
  
  .date-input-wrapper {
    padding: 1.25rem;
  }
  
  .date-input-group label {
    font-size: 1rem;
  }
  
  .cancellation-timeline {
    padding: 1.5rem 1rem;
  }
  
  .timeline-track {
    flex-direction: column;
    padding: 0;
  }
  
  .timeline-progress-line {
    display: none;
  }
  
  .timeline-marker {
    margin-bottom: 1.5rem;
  }
  
  .marker-dot {
    width: 45px;
    height: 45px;
  }
  
  .marker-dot i {
    font-size: 1.125rem;
  }
  
  .marker-info strong {
    font-size: 1rem;
  }
  
  .marker-info span {
    font-size: 0.9rem;
  }
  
  .refund-periods-horizontal {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .policy-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .policy-card-item {
    padding: 1.5rem;
  }
  
  .policy-card-item i {
    font-size: 3rem;
  }
  
  .policy-card-item h4 {
    font-size: 1.5rem;
  }
  
  .policy-card-item p {
    font-size: 1.05rem;
  }
  
  .policy-badge {
    font-size: 1.125rem;
  }
  
  .refund-period {
    padding: 1.25rem;
  }
  
  .period-icon i {
    font-size: 2rem;
  }
  
  .period-content h5 {
    font-size: 1.25rem;
  }
  
  .period-content p {
    font-size: 1rem;
  }
  
  .period-content strong {
    font-size: 1.125rem;
  }
  
  .refund-amount {
    font-size: 1rem;
    padding: 0.4rem 0.875rem;
  }
}
  /* Host Section Mobile Styles */
  .host-story {
    padding: 0 1rem;
    margin: 2rem auto 3rem;
  }
  
  .host-narrative {
    font-size: 1.125rem;
    line-height: 1.8;
  }
  
  .host-tagline {
    font-size: 1.25rem;
    margin-top: 1.5rem;
  }
  
  .host-signature {
    font-size: 1.25rem;
  }
  
  .host-differentiators {
    padding: 0 1rem;
    margin: 0 0 3rem;
  }
  
  .differentiators-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
  }
  
  .differentiators-title::after {
    width: 60px;
    height: 2px;
  }
  
  .differentiators-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .differentiator-card {
    padding: 1rem;
  }
  
  .differentiator-item {
    gap: 1rem;
  }
  
  .differentiator-item i {
    font-size: 1.5rem;
    min-width: 25px;
  }
  
  .differentiator-content h4 {
    font-size: 1.125rem;
  }
  
  .differentiator-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .things-to-note-section {
    padding: 3rem 0;
  }
  
  .note-category {
    padding: 1.5rem;
  }
  
  .category-header {
    margin-bottom: 1rem;
  }
  
  .category-header i {
    font-size: 1.25rem;
  }
  
  .category-header h3 {
    font-size: 1.25rem;
  }
  
  .note-item {
    padding: 0.5rem 0;
  }
  
  .note-item span {
    font-size: 0.9rem;
  }
}

/* Luxury Footer */
.luxury-footer {
  background: #0C1F3F !important;
  background-color: #0C1F3F !important;
  color: #fff !important;
  padding: 6rem 0 2rem;
  padding-top: 6rem !important;
  margin-top: 6rem;
  border-top: 2px solid rgba(212, 165, 116, 0.4);
  position: relative;
  clear: both;
  overflow: visible;
}

footer.luxury-footer {
  background: #0C1F3F !important;
  background-color: #0C1F3F !important;
  padding-top: 6rem !important;
}

.luxury-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: var(--warm-gold);
  z-index: 10;
}

/* Ensure footer content starts below the top border */
.luxury-footer > .container {
  padding-top: 2rem;
  position: relative;
  z-index: 1;
}

/* Prevent any overlapping issues */
section:last-of-type {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

.luxury-footer {
  display: block !important;
  width: 100%;
  box-sizing: border-box;
}

/* FORCE CENTER THE WHAT SETS US APART GRID */
.host-content-wrapper .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Removed global text-align center - now handled per element */

/* Ensure all footer elements have proper colors */
.luxury-footer * {
  color: inherit;
}

.luxury-footer,
.luxury-footer p,
.luxury-footer h4,
.luxury-footer span,
.luxury-footer li {
  color: #fff !important;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-top: 1rem;
  margin-top: 0;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo-link {
  text-decoration: none;
  display: inline-block;
}

.footer-logo-link:hover .brand-name {
  color: var(--warm-gold);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo .brand-mark {
  background: var(--warm-gold);
  color: var(--dark-gray);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 4px;
}

.footer-logo .brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.footer-logo .brand-name {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  transition: color var(--transition-fast);
}

.footer-logo .brand-tagline {
  font-family: var(--font-secondary);
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--warm-gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  white-space: nowrap;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all var(--transition-fast);
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: var(--warm-gold);
  border-color: var(--warm-gold);
  transform: translateY(-2px);
  color: var(--dark-gray);
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-secondary);
  font-size: 1.125rem;
  color: white;
  margin-bottom: 1.5rem;
}

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

.footer-links li,
.footer-contact li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--warm-gold);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-secondary);
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--warm-gold);
  width: 20px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-secondary);
  font-size: 0.875rem;
}

.footer-bottom a {
  color: var(--warm-gold);
  margin: 0 1rem;
}

/* Modals */
.luxury-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.luxury-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.luxury-modal-dialog {
  background: white;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: 98vh;
  min-height: 90vh;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: modalSlideIn 0.3s ease;
}

.luxury-modal-dialog.large {
  max-width: 900px;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.luxury-modal-header {
  padding: 0;
  border-bottom: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.luxury-modal-header h3 {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  color: var(--luxury-navy);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  transition: color var(--transition-fast);
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  z-index: 10;
}

.modal-close:hover {
  color: var(--luxury-navy);
  background: var(--light-gray);
}

.luxury-modal-body {
  padding: 2rem;
  padding-bottom: 10px;
  height: auto;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.calculator-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.calculator-intro p {
  font-size: 1.125rem;
  color: #666;
}

/* Hybrid Savings Calculator Styles */
.savings-calculator-dialog {
  max-width: 960px;
  width: 80%;
  height: auto !important;
  overflow: visible !important;
  padding-bottom: 0 !important;
}

/* Centered Modal Title with Luxury Font */
.modal-title-centered {
  text-align: center !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600;
  font-size: 2.75rem !important;
  letter-spacing: 1px;
  margin: 1.5rem auto 1.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border-bottom: 3px solid var(--warm-gold);
  position: relative;
  width: 100%;
}

/* Luxury Brand Name in Calculator */
.luxury-brand-name {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.625rem !important;
  font-weight: 200;
  letter-spacing: 0.75px;
  color: var(--luxury-navy);
}

/* Removed calculator subtitle */

.calculator-inputs {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.calculator-inputs .input-group {
  flex: 0 0 200px;
}

.calculator-inputs .input-group.single-input {
  flex: 0 0 350px;
}

.input-helper {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #666;
  text-align: center;
}

.calculator-inputs label {
  display: block;
  font-family: var(--font-secondary);
  font-weight: 600;
  color: var(--luxury-navy);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.input-wrapper {
  position: relative;
  display: inline-block;
}

.input-prefix {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-weight: 600;
  font-size: 1.125rem;
}

.input-wrapper .luxury-input {
  padding-left: 2rem;
}

.calculator-inputs .luxury-input {
  width: 150px;
  padding: 0.5rem 0.5rem 0.5rem 2rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  transition: border-color 0.3s ease;
}

.calculator-inputs .luxury-input:focus {
  outline: none;
  border-color: var(--warm-gold);
}

.calculator-inputs .luxury-input.compact {
  width: 90px;
  padding: 0.35rem 0.15rem 0.35rem 1.6rem;
  text-align: center;
}

/* Centered Input Styling */
.centered-input {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.centered-label {
  display: block;
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  width: 100%;
}

.input-wrapper-centered {
  position: relative;
  display: inline-block;
}

.input-wrapper-centered .input-prefix {
  position: absolute;
  left: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  font-weight: 600;
  color: #666;
}

/* Comparison Cards Layout */
.comparison-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 0;
  align-items: stretch;
}

.comparison-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.comparison-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.comparison-card.direct-booking {
  border: 3px solid var(--warm-gold);
  box-shadow: 0 4px 16px rgba(212, 165, 116, 0.2);
}

.comparison-card.direct-booking .brand-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--warm-gold);
  letter-spacing: 0.5px;
}

.comparison-card.direct-booking .card-header {
  background: linear-gradient(to bottom, rgba(212, 165, 116, 0.05), transparent);
}

.best-value-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #22c55e;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 1;
}

.card-header {
  padding: 0.25rem 0.15rem;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark-small {
  width: 40px;
  height: 40px;
  background: var(--luxury-navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 8px;
}

.brand-logo span {
  font-family: var(--font-secondary);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--luxury-navy);
}

.platform-logo {
  font-size: 1.625rem;
  font-weight: 700;
}

.platform-logo.vrbo-logo {
  color: #0051a5;
}

.platform-logo.airbnb-logo {
  color: #ff5a5f;
}

.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.line-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.item-description {
  color: #666;
  font-family: var(--font-secondary);
}

.item-amount {
  font-family: var(--font-secondary);
  font-weight: 600;
  color: var(--luxury-navy);
  white-space: nowrap;
}

.fee-zero {
  color: var(--luxury-green);
  font-weight: 600;
}

/* Sophisticated Luxury Green Variables */
:root {
  --luxury-green: #2a7f62;
  --luxury-green-light: #f0f7f4;
}

.luxury-green {
  color: var(--luxury-green) !important;
  font-weight: 600;
}

.total-black-underline {
  color: #000 !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.total-green-underline {
  color: var(--luxury-green) !important;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #000;
  text-underline-offset: 2px;
}

.success-amount {
  color: var(--luxury-green) !important;
  font-weight: 700 !important;
}

.separator {
  height: 1px;
  background: #e0e0e0;
  margin: 0.75rem 0;
}

.line-item.subtotal,
.line-item.total {
  font-weight: 600;
}

.line-item.total {
  font-size: 1.125rem;
}

.line-item.total .item-description,
.line-item.total .item-amount {
  color: var(--luxury-navy);
  font-weight: 700;
}

.savings-message {
  margin-top: auto;
  padding: 0.75rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.875rem;
}

.savings-message.success {
  background: var(--luxury-green-light);
  color: var(--luxury-green);
  font-weight: 600;
}

.savings-message.luxury-green-bg {
  background: var(--luxury-green-light);
  color: var(--luxury-green);
  font-weight: 600;
}

.savings-message.warning {
  background: #fef2f2;
}

.additional-cost-label {
  display: block;
  color: #666;
  font-size: 0.95rem;
  font-family: var(--font-secondary);
  margin-bottom: 0.5rem;
}

.additional-cost-label.underlined {
  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.additional-cost {
  color: #ef4444;
  font-weight: 700;
  font-size: 1.125rem;
  font-family: var(--font-secondary);
}

.additional-cost i {
  font-size: 0.5rem;
  vertical-align: middle;
  margin-right: 0.25rem;
}

/* Modal CTA Section */
.modal-cta-section {
  text-align: center;
  padding: 0.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  margin-top: 1rem;
  margin-bottom: 0;
  position: relative;
  z-index: 100;
  min-height: auto;
}

.modal-cta-section h4 {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  color: var(--luxury-navy);
  margin-bottom: 1rem;
}

.modal-cta-section h4.cta-heading-large {
  font-size: 3rem !important;
  font-weight: 600;
  line-height: 1.2;
}

.modal-cta-section p {
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.btn-luxury-primary.large {
  padding: 0.75rem 2.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0.25rem 0;
}

.btn-luxury-primary.luxury-font {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 1.5px;
}

/* Savings Dropdown Styles */
.savings-dropdown-wrapper {
  position: relative;
  display: inline-block;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.btn-luxury-primary.dropdown-trigger {
  position: relative;
  padding-right: 3rem;
  cursor: pointer;
  margin-bottom: 0;
}

.dropdown-arrow {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  transition: transform 0.3s ease;
  pointer-events: none;
  opacity: 0.8;
}

.btn-luxury-primary.dropdown-trigger.active .dropdown-arrow {
  transform: translateY(-50%) rotate(180deg);
}

/* Create visual connection when dropdown is open */
.btn-luxury-primary.dropdown-trigger.active {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 2px 8px rgba(212, 165, 116, 0.2);
  margin-bottom: 0;
}

.savings-dropdown-menu.show {
  animation: dropdownSlide 0.2s ease-out;
}

@keyframes dropdownSlide {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.savings-dropdown-menu {
  position: relative !important;
  top: -40px !important;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 2px solid var(--warm-gold);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
  display: flex;
  flex-direction: row;
  gap: 8px;
  padding: 8px;
  width: auto;
  min-width: auto;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

.savings-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
}

.dropdown-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  min-width: 150px;
  background: white;
  white-space: nowrap;
}

.dropdown-option:hover {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(12, 31, 63, 0.05) 100%);
  border-color: var(--warm-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-option .property-name {
  display: block;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--luxury-navy);
  margin-bottom: 0.15rem;
  text-align: center;
}

.dropdown-option .property-subtitle {
  display: block;
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  color: var(--warm-gold);
  font-style: italic;
  text-align: center;
}

/* Responsive Styles for Savings Calculator */
@media (max-width: 992px) {
  .comparison-cards {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .comparison-card {
    max-width: 500px;
    margin: 0 auto;
  }
  
  /* Reorder cards on mobile: ShortStayInDC first */
  .comparison-card.direct-booking {
    order: 1;
  }
  
  .comparison-card.vrbo-card {
    order: 2;
  }
  
  .comparison-card.airbnb-card {
    order: 3;
  }
  
  .savings-calculator-dialog {
    width: 98%;
  }
}

@media (max-width: 576px) {
  .calculator-inputs {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .calculator-inputs .input-group {
    width: 100%;
    max-width: 300px;
  }
  
  .modal-cta-section {
    padding: 1.5rem 1rem;
  }
  
  .btn-luxury-primary.large {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

.price-input-group {
  margin-bottom: 2rem;
}

.price-input-group label {
  display: block;
  font-family: var(--font-secondary);
  font-weight: 600;
  color: var(--luxury-navy);
  margin-bottom: 0.5rem;
}

.luxury-input {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 1.125rem;
  font-family: var(--font-secondary);
  transition: border-color var(--transition-fast);
}

.luxury-input:focus {
  outline: none;
  border-color: var(--warm-gold);
}

.luxury-price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.luxury-price-table th {
  background: var(--light-gray);
  padding: 1rem;
  font-family: var(--font-secondary);
  font-weight: 600;
  color: var(--luxury-navy);
  text-align: left;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.luxury-price-table td {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  font-family: var(--font-secondary);
}

.luxury-price-table tr:hover {
  background: var(--light-gray);
}

.highlight-row {
  background: #f0f9ff;
}

.highlight-row td {
  font-weight: 600;
  color: var(--luxury-navy);
}

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

.total-price {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--luxury-navy);
}

.savings-summary {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 2rem;
}

.savings-summary h4 {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  color: var(--luxury-navy);
  margin-bottom: 1.5rem;
}

.savings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.savings-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.savings-item .platform {
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.savings-item .amount {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 400;
  color: var(--success);
}

.modal-cta {
  text-align: center;
}

.booking-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.booking-intro p {
  font-size: 1.125rem;
  color: #666;
}

.widget-container {
  min-height: 500px;
  background: var(--light-gray);
  border-radius: 8px;
  padding: 1rem;
}

/* Floating Elements */
.luxury-float-button {
  position: fixed;
  bottom: 80px;
  right: 30px;
  background: var(--warm-gold);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(20px);
  z-index: 998;
}

.luxury-float-button.visible {
  opacity: 1;
  transform: translateY(0);
}

.luxury-float-button:hover {
  background: var(--deep-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--luxury-navy);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 997;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--deep-ocean);
  transform: translateY(-3px) rotate(360deg);
  box-shadow: var(--shadow-xl);
}

/* Utility Classes */
.hidden {
  display: none !important;
}

/* Responsive Design */
/* Exclude landscape tablets from single column rule */
@media (max-width: 1200px) and (orientation: portrait), 
       (max-width: 768px) {
  .split-hero {
    grid-template-columns: 1fr;
    min-height: auto; /* Allow natural height on tablets */
  }
  
  .hero-split {
    min-height: 50vh; /* Adjusted for tablets to match desktop proportion */
  }
}

/* iPad Landscape - Force side-by-side layout */
@media (min-width: 769px) and (max-width: 1200px) and (orientation: landscape) {
  .split-hero {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    min-height: 60vh !important;
  }
  
  .hero-split {
    min-height: 100% !important;
  }
  
  .luxury-property-card,
  .luxury-property-card:nth-child(even) {
    grid-template-columns: 1fr;
  }
  
  .property-gallery-section {
    height: 400px;
  }
  
  .main-gallery {
    min-height: 400px;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  /* Hide both Check Availability AND View Details buttons in heroes only on mobile */
  .hero-actions .check-availability-btn,
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    display: none !important;
  }
  
  /* Remove hero actions container since no buttons */
  .hero-actions {
    display: none !important;
  }
  
  /* CRITICAL FIX: Flexbox vertical alignment for header */
  .luxury-header, header, .site-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 60px !important;
    padding: 10px 20px !important;
    margin: 0 !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
  }
  
  .header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  /* Vertically center logo */
  .brand-link, .logo, .site-title {
    margin: 0 !important;
    padding: 0 !important;
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
  }
  
  .brand {
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .brand-name {
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .brand-tagline {
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Reduce hero heights on mobile */
  .split-hero {
    min-height: auto; /* Remove minimum height constraint */
    max-height: none; /* Remove maximum height constraint */
    position: relative; /* For absolute positioned divider */
  }
  
  .hero-split {
    min-height: 40vh; /* Reduced from 50vh */
    max-height: 45vh; /* Cap height */
    position: relative; /* For absolute positioned divider */
  }
  
  /* Add subtle divider between hero sections on mobile */
  .hero-split:first-child::after {
    content: "";
    display: block;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    width: 80%;
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
  }
  
  /* Alternative border approach for better visibility */
  .hero-split:first-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }
  
  /* Adjust hero content for no buttons */
  .hero-content {
    padding: 1.5rem 1rem; /* Reduced padding */
    gap: 0.5rem; /* Tighter spacing */
  }
  
  /* Smaller hero elements for compact mobile view */
  .hero-title {
    font-size: 2rem; /* Smaller on mobile */
    margin-bottom: 0.25rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .hero-features {
    margin-bottom: 0.5rem; /* Much less margin since no buttons */
  }
  
  .hero-features span {
    font-size: 0.75rem;
  }
  
  .brand {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin-bottom: 0; /* Remove bottom margin */
    margin-top: 0; /* Remove any top margin */
    display: flex;
    align-items: center;
  }
  
  /* Vertically center hamburger menu with flexbox */
  .mobile-menu-toggle, .hamburger, .menu-toggle {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: center !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-blue);
    cursor: pointer;
    padding: 0.5rem;
    margin: 0;
  }
  
  /* Reduce brand text size on mobile for better fit */
  .brand-name {
    font-size: 1.25rem; /* Smaller on mobile */
  }
  
  .brand-tagline {
    font-size: 0.5rem; /* Smaller tagline */
  }
  
  /* MAKE LOCATION BADGES CLICKABLE ON MOBILE */
  .property-badge {
    cursor: pointer !important;
    width: auto !important;
    max-width: 160px !important;
    padding: 6px 16px !important;
    font-size: 0.7rem !important;
    transition: transform 0.2s ease;
  }
  
  /* FIX: Maintain gold appearance in all states */
  .property-badge,
  .property-badge:hover,
  .property-badge:active,
  .property-badge:visited,
  .property-badge:focus {
    background-color: var(--warm-gold) !important; /* Keep gold background */
    background: var(--warm-gold) !important;
    color: white !important; /* Keep white text */
    opacity: 1 !important; /* Prevent fading */
    outline: none !important; /* Remove focus outline */
  }
  
  /* Subtle animation on tap */
  .property-badge:active {
    transform: scale(0.95) !important; /* Slight scale down on tap */
  }
  
  .luxury-nav {
    display: none; /* Hide navigation menu on mobile */
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--light-gray);
    margin-top: 0;
    display: none;
  }
  
  .nav-dropdown:hover .dropdown-menu {
    display: block;
  }
  
  /* .header-actions {
    order: 2;
    width: 100%;
    justify-content: space-between;
  } */
  
  .header-phone span {
    display: none;
  }
  
  /* .trust-container {
    padding: 1rem;
    gap: 1rem;
  }
  
  .trust-item {
    font-size: 0.75rem;
  }
  
  .highlight-trust {
    width: 100%;
    text-align: center;
  } */
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-price .price {
    font-size: 2.5rem;
  }
  
  .hero-content {
    padding: 2rem 1.5rem;
    max-width: 100%;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    padding: 0 0.25rem;
    line-height: 1.3;
  }
  
  .hero-features {
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero-features span {
    font-size: 0.8rem;
  }
  
  .hero-features span i {
    font-size: 0.75rem;
  }
  
  .property-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card.featured {
    grid-column: span 1;
  }
  
  .luxury-reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .locations-grid {
    grid-template-columns: 1fr;
  }
  
  .location-map iframe {
    height: 250px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .luxury-modal-dialog {
    margin: 1rem;
    width: calc(100% - 2rem);
  }
  
  .luxury-float-button {
    bottom: 70px;
    right: 20px;
    padding: 0.875rem 1.25rem;
  }
  
  .luxury-float-button span {
    display: none;
  }
  
  .scroll-top {
    width: 45px;
    height: 45px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .experience-grid {
    grid-template-columns: 1fr;
  }
  
  .amenity-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .category-title {
    font-size: 1.5rem;
  }
  
  .amenity-card {
    padding: 1.5rem;
  }
  
  .host-title {
    font-size: 2.5rem;
  }
  
  .host-tagline {
    font-size: 1.5rem;
  }
  
  .differentiators-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .host-promise p {
    font-size: 1.25rem;
  }
  
  .host-content-wrapper {
    padding: 4rem 0;
  }
  
  .host-story {
    margin-bottom: 3rem;
  }
  
  .host-differentiators {
    margin-bottom: 3rem;
  }
  
  .differentiators-title {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
  }
  
  .differentiator-item i {
    font-size: 1.75rem;
  }
  
  .differentiator-content h4 {
    font-size: 1.25rem;
  }
  
  .differentiator-content p {
    font-size: 1rem;
  }
  
  .host-narrative {
    font-size: 1.125rem;
  }
  
  .cta-buttons-group {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-buttons-group a,
  .cta-buttons-group button {
    width: 100%;
  }
}

/* Print Styles */
@media print {
  .luxury-header,
  .hero-actions,
  .action-buttons,
  .luxury-float-button,
  .scroll-top,
  .luxury-footer {
    display: none;
  }
}

/* =============================================
   SIMPLE MODAL STYLES - GUARANTEED TO WORK
   ============================================= */

/* Hidden by default */
.simple-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

/* Show state */
.simple-modal.show {
  display: block;
}

/* Full screen backdrop */
.simple-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 20, 41, 0.9);
  cursor: pointer;
}

/* Modal content - SIMPLE TALL STRUCTURE */
.simple-modal-content {
  position: fixed;
  top: 1vh !important;
  bottom: 1vh !important;
  left: 50%;
  transform: translateX(-50%);
  width: 750px !important;
  max-width: 90vw;
  min-height: 95vh;
  height: auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Header styling - compact and elegant */
.simple-modal-header {
  background: linear-gradient(135deg, var(--luxury-navy) 0%, var(--deep-ocean) 100%);
  color: white;
  padding: 0.75rem 1.25rem !important;
  position: relative;
  flex-shrink: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(212, 165, 116, 0.3);
  min-height: auto !important;
}

.simple-modal-header h3 {
  font-family: var(--font-primary);
  font-size: 1.3rem !important;
  font-weight: 400;
  margin: 0 !important;
  padding: 0 !important;
  color: white;
  letter-spacing: 0.5px;
  line-height: 1.2 !important;
}

/* Close button */
.simple-modal-close {
  position: absolute;
  top: 0.5rem !important;
  right: 1rem !important;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50%;
  font-size: 1.2rem !important;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  line-height: 30px !important;
}

.simple-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* Body content - simple expanding container */
.simple-modal-body {
  padding: 1rem;
  flex: 1;
  min-height: 85vh;
  height: auto;
}

.simple-modal-intro {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  color: var(--text-dark);
  text-align: center;
  margin: 0 0 1rem 0;
  padding: 0.75rem;
  background: var(--light-gray);
  border-radius: 8px;
}

/* Widget container - simple auto-expanding */
.simple-widget-container {
  width: 100%;
  height: auto;
  min-height: 80vh;
  padding-bottom: 40px;
}

.simple-widget-container .ownerrez-widget {
  width: 100%;
  display: block;
  min-height: 1000px;
}

.simple-widget-container iframe {
  width: 100% !important;
  min-height: 1000px !important; /* Large enough to show all content */
  height: auto !important;
  border: none;
  display: block;
}

/* Mobile responsive - simple tall modal */
@media (max-width: 768px) {
  .simple-modal-content {
    top: 1vh !important;
    bottom: 1vh !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    transform: none !important;
    min-height: 95vh;
    height: auto;
  }
  
  .simple-modal-header {
    padding: 0.5rem 1rem !important;
  }
  
  .simple-modal-header h3 {
    font-size: 1.2rem !important;
  }
  
  .simple-modal-body {
    padding: 1rem;
    padding-bottom: 5px; /* Consistent ultra-minimal padding */
  }
  
  .simple-modal-close {
    width: 35px;
    height: 35px;
    font-size: 1.25rem;
    line-height: 33px;
  }
  
  .simple-widget-container {
    padding-bottom: 5px; /* Consistent ultra-minimal padding */
  }
}

/* Tablet responsive - proportional width reduction */
@media (min-width: 769px) and (max-width: 1200px) {
  .simple-modal-content {
    left: 150px;
    right: 150px;
    max-width: 650px;
  }
}

/* Large tablet / small desktop */
@media (min-width: 1201px) and (max-width: 1600px) {
  .simple-modal-content {
    left: 300px;
    right: 300px;
  }
}

/* Ensure body doesn't scroll when modal is open */
body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Elegant scrollbar styling */
.simple-modal-content::-webkit-scrollbar {
  width: 8px;
}

.simple-modal-content::-webkit-scrollbar-track {
  background: #f9f9f9;
  border-radius: 10px;
}

.simple-modal-content::-webkit-scrollbar-thumb {
  background: rgba(12, 31, 63, 0.5);
  border-radius: 10px;
}

.simple-modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(12, 31, 63, 0.7);
}

/* Modal animation for elegant appearance */
.simple-modal.show .simple-modal-content {
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Force modal body to use available space */
.simple-modal-body {
  min-height: 0;
  height: 100%;
}

/* Ensure iframe expands properly - override inline styles */
.simple-widget-container iframe[style] {
  min-height: 850px !important;
  height: auto !important;
}

/* Remove any extra spacing from widget elements */
.simple-widget-container * {
  margin-bottom: 0 !important;
}

.simple-widget-container form {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Dynamic content expansion handling */
.simple-modal-content {
  height: auto !important;
  max-height: calc(100vh - 60px);
}

/* Ensure widget container grows with content */
.simple-widget-container {
  min-height: 850px;
  height: auto !important;
}

/* Simple iframe expansion */
.simple-widget-container iframe,
.simple-modal .ownerrez-widget iframe {
  min-height: 1000px !important;
  height: auto !important;
}

/* Override any inline height styles */
.simple-modal .ownerrez-widget iframe[style] {
  min-height: 1000px !important;
}

/* Ensure scrolling works smoothly */
.simple-modal-content {
  scroll-behavior: smooth;
}

/* AMENITIES MODAL STYLING */
.amenities-modal-content {
  width: 900px !important;
  max-width: 95vw;
}

.amenities-modal-body {
  padding: 2rem !important;
}

.amenities-section {
  margin-bottom: 3.5rem;
  padding: 0 0.5rem;
}

.amenities-section:last-child {
  margin-bottom: 0;
}

.amenities-section-title {
  font-family: var(--font-secondary);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--luxury-navy);
  margin-bottom: 1.5rem;
  text-transform: none;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--warm-gold);
  padding-bottom: 0.5rem;
  text-align: center;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 1.5rem;
  padding: 0 0.5rem;
}

.amenity-item {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.amenity-item i {
  color: var(--warm-gold);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

/* Responsive amenities grid */
@media (max-width: 768px) {
  .amenities-modal-content {
    width: auto !important;
  }
  
  .amenities-grid {
    grid-template-columns: 1fr;
  }
  
  .amenities-modal-body {
    padding: 1rem !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-content {
    max-width: 550px;
  }
  
  .vacation-homes-title {
    font-size: 3rem;
  }
  
  .vacation-homes-locations {
    font-size: 2rem;
  }
  
  .luxury-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .luxury-reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-subtitle {
    font-size: 0.85rem;
    padding: 0;
  }
  
  .hero-content {
    padding: 1.5rem 1rem;
  }
  
  .hero-features {
    gap: 0.5rem;
  }
  
  .hero-features span {
    font-size: 0.75rem;
  }
  
  .hero-features span:not(:last-child)::after {
    display: none;
  }
  
  .vacation-homes-title {
    font-size: 2.5rem;
  }
  
  .vacation-homes-locations {
    font-size: 1.75rem;
  }
  
  .vacation-homes-subtitle {
    font-size: 1.125rem;
    padding: 0 1rem;
    white-space: normal;
  }
}

/* MODAL FOOTER - Fixed button container */
.simple-modal-footer {
  position: sticky;
  bottom: 0;
  background: white;
  padding: 20px;
  border-top: 2px solid #eee;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-shrink: 0;
}

.simple-modal-footer .btn-primary {
  background: var(--luxury-navy);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.simple-modal-footer .btn-primary:hover {
  background: var(--deep-ocean);
  transform: translateY(-2px);
}

.simple-modal-footer .btn-secondary {
  background: white;
  color: var(--luxury-navy);
  padding: 12px 30px;
  border: 2px solid var(--luxury-navy);
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.simple-modal-footer .btn-secondary:hover {
  background: var(--luxury-navy);
  color: white;
}

/* ===== ACCORDION STYLES ===== */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, height 0.3s ease-in-out;
  background: #f9f9f9;
  border-radius: 8px;
  margin-top: 15px;
}

.accordion-content.expanded {
  border: 1px solid rgba(212, 165, 116, 0.3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Amenity item hover effects */
.amenity-item:hover {
  background-color: rgba(212, 165, 116, 0.1) !important;
  cursor: default;
}

/* Short centered section dividers */
.amenities-section-title {
  border-bottom: none !important;
  position: relative;
  text-align: left; /* Keep title left-aligned */
}

.amenities-section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background-color: #D4A574;
  margin: 15px 0 5px 0; /* Left-align the decorative line */
  opacity: 0.5;
}

/* Remove any full-width borders */
.amenities-section {
  border-bottom: none !important;
}

.amenities-section h4 {
  border-bottom: none !important;
}

/* Accordion arrow animation and states */
.accordion-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Arrow states based on button class */
button.open .accordion-arrow,
button[aria-expanded="true"] .accordion-arrow {
  transform: rotate(180deg);
}

/* Ensure arrow content changes with state */
button:not(.open) .accordion-arrow::after {
  content: "▼" !important;
}

button.open .accordion-arrow::after {
  content: "▲" !important;
}

/* Sticky button arrow state */
#sticky-amenities-button.open .accordion-arrow::after {
  content: "▲" !important;
}

/* Sticky button styles */
#sticky-amenities-button {
  animation: slideDown 0.3s ease;
}

#sticky-amenities-button:hover {
  background: #D4A574 !important;
  color: white !important;
  transform: translateX(-50%) scale(1.02);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Mobile optimization for sticky button */
@media (max-width: 768px) {
  #sticky-amenities-button {
    top: 60px !important; /* Adjust for mobile header */
    width: calc(100% - 40px) !important;
    max-width: 400px !important;
    padding: 10px 40px !important;
    font-size: 13px !important;
  }
}

.reservation-accordion {
  display: none; /* Hidden by default - closed state */
  background: white;
  border-radius: 8px;
  margin-top: 15px;
  margin-bottom: 10px !important; /* Just enough to separate from next element */
  transition: all 0.3s ease-in-out;
  width: 100% !important;
  max-width: none !important;
  overflow: hidden !important; /* Restore containment */
}

.reservation-accordion.expanded,
.reservation-accordion.open {
  display: block !important; /* Show when open */
  padding: 15px !important; /* Normal padding */
  padding-bottom: 0px !important; /* No bottom padding */
  border: 1px solid rgba(212, 165, 116, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  height: auto !important;
  min-height: auto !important;
  max-height: 1000px !important; /* Increased to show buttons fully */
  overflow: hidden !important; /* Restore containment */
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important; /* No margins */
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 1 !important; /* Not too high */
}

/* Target OwnerRez widget container directly */
.reservation-accordion .ownerrez-widget,
.reservation-accordion .simple-widget-container {
  width: 95% !important; /* Slightly narrower to prevent clipping */
  margin: 0 auto !important; /* Center it */
  height: auto !important;
  min-height: auto !important;
  max-height: 970px !important; /* Slightly increased for buttons */
  overflow: hidden !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Target OwnerRez iframe specifically */
.reservation-accordion iframe,
.ownerrez-widget iframe,
iframe[src*="ownerrez"],
iframe[id*="ownerrez"] {
  width: 100% !important;
  height: auto !important;
  min-height: auto !important;
  max-height: 970px !important; /* Slightly increased for buttons */
  overflow: hidden !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Target booking buttons and footer elements */
.ownerrez-widget .booking-buttons,
.ownerrez-widget [class*="button"],
.ownerrez-widget .form-actions,
.ownerrez-widget .submit-buttons,
.ownerrez-widget > div:last-child,
.ownerrez-widget .form-footer,
.ownerrez-widget .widget-footer {
  margin-bottom: 0px !important;
  padding-bottom: 0px !important;
}

/* Force container to fit content exactly */
.reservation-form-container {
  height: fit-content !important;
  width: 100% !important;
  max-width: none !important;
  overflow: hidden !important; /* Restore containment */
  margin: 0 !important; /* No margins */
  padding: 15px !important; /* Normal padding */
  padding-bottom: 0px !important;
  box-sizing: border-box !important;
}

/* Remove all height constraints on accordion content */
.accordion-content.reservation-accordion,
.reservation-form-container {
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
}

/* Accordion button states */
button[aria-expanded="true"] {
  background: var(--warm-gold) !important;
  color: white !important;
}

/* Loading state for reservation widget */
.reservation-accordion.loading::before {
  content: "Loading reservation system...";
  display: block;
  text-align: center;
  padding: 20px;
  color: #666;
  font-style: italic;
}

/* Remove all scrollbars from widget containers */
.simple-widget-container,
.ownerrez-widget,
.reservation-accordion * {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.simple-widget-container::-webkit-scrollbar,
.ownerrez-widget::-webkit-scrollbar,
.reservation-accordion *::-webkit-scrollbar {
  display: none !important;
}

/* Force OwnerRez iframe to exact height */
.reservation-accordion.expanded iframe,
.reservation-accordion.open iframe {
  min-height: 970px !important;
  height: 970px !important;
  max-height: 970px !important;
}

/* Specific targeting for OwnerRez booking widget */
#foggy-bottom-reservation-accordion.expanded .ownerrez-widget iframe,
#foggy-bottom-reservation-accordion.open .ownerrez-widget iframe {
  min-height: 970px !important;
  height: 970px !important;
  max-height: 970px !important;
}

/* Target form inputs specifically to prevent clipping */
.ownerrez-widget input,
.ownerrez-widget select,
.ownerrez-widget textarea,
.ownerrez-widget button,
.reservation-accordion input,
.reservation-accordion select,
.reservation-accordion textarea,
.reservation-accordion button {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Ensure form fields have proper container width */
.ownerrez-widget form,
.reservation-accordion form {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* Prevent horizontal overflow */
.reservation-accordion,
.reservation-accordion .ownerrez-widget {
  overflow-x: hidden !important;
  overflow-y: hidden !important;
}

/* Ensure proper width for inner content */
.reservation-accordion .ownerrez-widget > div,
.reservation-accordion .simple-widget-container > div {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Target parent property card containers */
.property-card,
.property-details,
.card-container,
.card-content {
  overflow: hidden !important;
  width: auto !important;
  padding-right: 15px !important;
  padding-left: 15px !important;
}

/* Ensure form fields don't get clipped */
.ownerrez-widget input,
.ownerrez-widget select,
.ownerrez-widget textarea,
.ownerrez-widget button {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  margin-right: 0 !important;
}

/* Ensure buttons remain visible */
.ownerrez-widget .booking-buttons,
.ownerrez-widget button,
.ownerrez-widget [type="submit"],
.ownerrez-widget [type="button"] {
  margin-right: 5px !important;
  padding-right: 10px !important;
}

/* Mobile optimization for accordions */
@media (max-width: 768px) {
  .accordion-content,
  .reservation-accordion {
    margin: 0 !important;
    border-radius: 0;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .accordion-content.expanded,
  .reservation-accordion.expanded,
  .reservation-accordion.open {
    padding: 15px !important;
    height: auto !important;
    overflow: hidden !important;
    width: 100% !important;
    margin: 0 !important; /* No margins */
  }
  
  .ownerrez-widget,
  .ownerrez-widget iframe {
    width: 95% !important; /* Slightly narrower to prevent clipping */
    margin: 0 auto !important; /* Center it */
  }
  
  .property-card,
  .property-details,
  .card-container {
    padding-right: 15px !important;
    padding-left: 15px !important;
  }
}
/* Desktop Header - Ensure proper spacing and no overlap */
@media screen and (min-width: 1025px) {
  .header-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 1.25rem 2rem !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    position: relative !important;
    min-height: 80px !important;
  }
  
  .brand-link {
    text-decoration: none !important;
    position: absolute !important;
    left: 2rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
  }
  
  .brand {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
  }
  
  .luxury-nav {
    display: flex !important;
    gap: 1.5rem !important;
    align-items: center !important;
    margin: 0 !important;
    padding-left: 250px !important; /* Add padding to avoid brand overlap */
  }
  
  .luxury-nav a {
    font-size: 0.95rem !important;
    padding: 0.5rem 0.8rem !important;
  }
  
  .btn-nav-reserve {
    font-size: 0.95rem !important;
    padding: 0.5rem 1.2rem !important;
  }
}

/* iPad Landscape Header - PROPER FLEXBOX ALIGNMENT */
@media screen and (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
  /* Header container setup */
  body .luxury-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 20px !important;
  }
  
  body .luxury-header .header-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }
  
  /* Logo section - fixed size on left */
  body .luxury-header .brand-link {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    transform: scale(0.7) !important;
    transform-origin: left center !important;
    margin-right: -30px !important;
  }
  
  body .luxury-header .brand {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
  }
  
  body .luxury-header .brand-mark {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.75rem !important;
  }
  
  body .luxury-header .brand-name {
    font-size: 0.9rem !important;
    white-space: nowrap !important;
  }
  
  body .luxury-header .brand-tagline {
    font-size: 0.45rem !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
  }
  
  /* Navigation - fills available space in center */
  body .luxury-header .luxury-nav {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 20px !important;
    gap: 25px !important;
    padding: 0 !important;
  }
  
  body .luxury-header .nav-dropdown {
    position: relative !important;
  }
  
  body .luxury-header .luxury-nav > a,
  body .luxury-header .luxury-nav .dropdown-toggle {
    font-size: 0.75rem !important;
    padding: 0.3rem 0.5rem !important;
    white-space: nowrap !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
  }
  
  /* Reserve button - fixed size on right */
  body .luxury-header .reserve-dropdown,
  body .luxury-header .btn-nav-reserve {
    flex: 0 0 auto !important;
    font-size: 0.7rem !important;
    padding: 0.3rem 0.7rem !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }
  
  /* Dropdown menu */
  body .luxury-header .dropdown-menu {
    min-width: 100px !important;
    font-size: 0.7rem !important;
  }
  
  body .luxury-header .dropdown-menu a {
    padding: 0.3rem 0.5rem !important;
    font-size: 0.65rem !important;
  }
}

/* iPad Landscape Header - SCALE DOWN TO FIT */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 2) {
  header.luxury-header {
    padding: 8px 15px !important;
    height: 50px !important; /* Reduced height */
  }
  
  /* Container - horizontal layout */
  header.luxury-header .header-container {
    display: flex !important;
    flex-direction: row !important;  /* Force horizontal layout */
    align-items: center !important;
    justify-content: space-between !important;
    height: 100% !important;
    padding: 0 !important;
    gap: 15px !important; /* Balanced spacing */
  }
  
  /* Scale down the entire logo/brand including SS box */
  body header.luxury-header .brand-link,
  header .brand-link,
  .brand-link {
    transform: scale(0.60) !important;  /* Even smaller */
    transform-origin: left center !important;
    max-width: 180px !important;  /* Force max width */
    flex: 0 0 auto !important;
  }
  
  /* Navigation - horizontal layout with smaller spacing */
  header.luxury-header .luxury-nav {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  header.luxury-header .luxury-nav ul {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important; /* Tight spacing between nav items */
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  
  header.luxury-header .luxury-nav li {
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  header.luxury-header .luxury-nav a {
    font-size: 0.65rem !important;
    padding: 4px 6px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
  
  /* Reserve button - smaller and aligned */
  header.luxury-header .reserve-dropdown {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
  }
  
  header.luxury-header .btn-nav-reserve {
    font-size: 0.65rem !important;
    padding: 5px 10px !important;
    white-space: nowrap !important;
    line-height: 1 !important;
  }
  
  /* Dropdown menus */
  header.luxury-header .dropdown-menu {
    font-size: 0.65rem !important;
  }
  
  header.luxury-header .dropdown-menu a {
    padding: 4px 8px !important;
    font-size: 0.65rem !important;
  }
  
  /* Ensure everything fits in one line */
  header.luxury-header * {
    position: static !important;
  }
  
  header.luxury-header .brand-link,
  header.luxury-header .nav-dropdown {
    position: relative !important;
  }
}
