/* Text Visibility Fixes */

/* Ensure all text is visible */
* {
    color: inherit !important;
}

body {
    color: #333 !important;
}

/* Fix main content text */
.brochure-content,
.brochure-content * {
    color: #333 !important;
}

.brochure-content h1,
.brochure-content h2,
.brochure-content h3,
.brochure-content h4 {
    color: #222 !important;
    opacity: 1 !important;
}

.brochure-content p,
.brochure-content li,
.brochure-content span {
    color: #444 !important;
    opacity: 1 !important;
}

/* Fix background opacity issues */
.brochure-content {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(8px) !important;
}

/* Ensure glass cards have proper backgrounds */
.glass-card {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #333 !important;
}

/* Fix distance stats visibility */
.distance-stats {
    background: rgba(255, 255, 255, 0.98) !important;
}

.distance-stats .stat-item {
    background: linear-gradient(135deg, rgba(232, 97, 0, 0.1), rgba(0, 153, 204, 0.1)) !important;
    color: #333 !important;
}

.distance-stats .stat-value {
    color: #E86100 !important;
    font-weight: bold !important;
}

.distance-stats .stat-label {
    color: #666 !important;
}

/* Fix icon visibility */
i, .icon, [class*="lni-"], [class*="fa-"] {
    color: inherit !important;
    opacity: 1 !important;
}

.stat-item i {
    color: #E86100 !important;
    opacity: 1 !important;
}

/* Fix hero text */
.hero-content h1,
.hero-content p {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

/* Fix CTA button text */
.cta-button {
    color: white !important;
    background: #E86100 !important;
    border: 2px solid #E86100 !important;
    opacity: 1 !important;
}

.cta-button:hover {
    background: #A23E2D !important;
    border-color: #A23E2D !important;
    color: white !important;
}

.cta-secondary {
    background: white !important;
    color: #E86100 !important;
    border: 2px solid #E86100 !important;
}

.cta-secondary:hover {
    background: #E86100 !important;
    color: white !important;
}

/* Fix navigation text */
.navbar a,
.navbar-nav .nav-link {
    color: #333 !important;
    opacity: 1 !important;
}

/* Fix internal links */
.internal-links a {
    background: white !important;
    color: #E86100 !important;
    border: 1px solid #E86100 !important;
    opacity: 1 !important;
}

.internal-links a:hover {
    background: #E86100 !important;
    color: white !important;
}

/* Remove any problematic filters */
.brochure-frame *:not(img) {
    filter: none !important;
}

/* Ensure proper contrast for all text elements */
h1, h2, h3, h4, h5, h6 {
    opacity: 1 !important;
    font-weight: 600 !important;
}

p, li, span, div {
    opacity: 1 !important;
}

/* Fix FAQ section */
.faq-item {
    background: rgba(255, 255, 255, 0.98) !important;
}

.faq-item h3 {
    color: #E86100 !important;
}

.faq-item p {
    color: #444 !important;
}

/* Ensure icons in buttons are visible */
.cta-button i,
.btn i {
    color: currentColor !important;
    margin-right: 8px !important;
}

/* Fix any transparent text issues */
.text-white {
    color: white !important;
}

.text-dark {
    color: #333 !important;
}

/* Override any rgba colors that might be too transparent */
[style*="rgba"] {
    opacity: 1 !important;
}




/* ============================================
   HERO TEXT VISIBILITY & RESPONSIVE TYPOGRAPHY
   ============================================ */

/* Hero text improvements */
.hero-location {
    position: relative;
    background: linear-gradient(135deg, rgba(232, 97, 0, 0.9), rgba(162, 62, 45, 0.9));
}

.hero-location::before {
    opacity: 0.2 !important; /* Darker overlay for better text contrast */
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-content h1 {
    color: white !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7) !important;
    font-size: clamp(1.75rem, 5vw, 2.5rem) !important; /* More reasonable responsive size */
    line-height: 1.2 !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6) !important;
    font-size: clamp(1rem, 2vw, 1.125rem) !important;
    line-height: 1.6 !important;
    max-width: 600px !important;
    margin: 0 auto 1.5rem !important;
}

/* Hero badges with better contrast */
.hero-badges {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #333 !important;
    padding: 0.75rem 1.25rem !important;
    border-radius: 25px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.hero-badges i {
    color: #E86100 !important;
}

/* Hero features with better visibility */
.hero-features {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(10px) !important;
    padding: 1rem !important;
    border-radius: 12px !important;
    margin-top: 1.5rem !important;
}

.hero-features span {
    color: white !important;
    font-size: 0.95rem !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5) !important;
}

/* Responsive typography for better readability */
body {
    font-size: 16px !important; /* Base size for better scaling */
    line-height: 1.6 !important;
}

/* Responsive headings */
h1 {
    font-size: clamp(1.5rem, 4vw, 2.25rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 1.5rem !important;
    color: #1a1a1a !important;
}

h2 {
    font-size: clamp(1.25rem, 3vw, 1.875rem) !important;
    line-height: 1.3 !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    color: #2a2a2a !important;
}

h3 {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem) !important;
    line-height: 1.4 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.75rem !important;
    color: #333 !important;
}

/* Responsive paragraphs */
p {
    font-size: clamp(0.95rem, 1.5vw, 1.0625rem) !important;
    line-height: 1.7 !important;
    margin-bottom: 1.25rem !important;
    color: #4a4a4a !important;
}

/* Better content spacing */
.brochure-content {
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem) !important;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.75rem !important;
    }
    
    .hero-content p {
        font-size: 1rem !important;
    }
    
    body {
        font-size: 15px !important;
    }
    
    p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
    
    .brochure-content {
        padding: 1.5rem 1rem !important;
    }
    
    h1 { font-size: 1.5rem !important; }
    h2 { font-size: 1.25rem !important; }
    h3 { font-size: 1.125rem !important; }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    body {
        font-size: 16px !important;
    }
    
    p {
        font-size: 1rem !important;
    }
    
    .hero-content h1 {
        font-size: 2rem !important;
    }
}

/* Desktop optimizations */
@media (min-width: 1025px) {
    body {
        font-size: 17px !important;
    }
    
    p {
        font-size: 1.0625rem !important;
        max-width: 70ch !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .hero-content h1 {
        font-size: 2.25rem !important;
    }
    
    .hero-content p {
        font-size: 1.125rem !important;
    }
}

/* Large desktop optimizations */
@media (min-width: 1440px) {
    body {
        font-size: 18px !important;
    }
    
    p {
        font-size: 1.125rem !important;
    }
    
    .hero-content h1 {
        font-size: 2.5rem !important;
    }
    
    .hero-content p {
        font-size: 1.25rem !important;
    }
}

/* Visual improvements */
.brochure-content {
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.98),
        rgba(248, 245, 240, 0.98)) !important;
}

/* Softer text colors for easier reading */
.content-section {
    color: #3a3a3a !important;
}

.content-section h2 {
    color: #E86100 !important;
    border-bottom: 2px solid rgba(232, 97, 0, 0.2);
    padding-bottom: 0.5rem;
}

/* Better list styling */
ul li, ol li {
    font-size: clamp(0.95rem, 1.5vw, 1.0625rem) !important;
    line-height: 1.8 !important;
    margin-bottom: 0.5rem !important;
    color: #4a4a4a !important;
}

/* Improved CTA buttons */
.cta-button {
    font-size: clamp(0.9rem, 1.5vw, 1rem) !important;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem) !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
}

/* Better distance stats */
.distance-stats {
    gap: 1rem !important;
}

.distance-stats .stat-item {
    padding: clamp(1rem, 2vw, 1.5rem) !important;
}

.distance-stats .stat-value {
    font-size: clamp(1.25rem, 2vw, 1.5rem) !important;
    color: #E86100 !important;
}

.distance-stats .stat-label {
    font-size: clamp(0.875rem, 1.2vw, 0.95rem) !important;
    color: #666 !important;
}

/* FAQ improvements */
.faq-item h3 {
    font-size: clamp(1.0625rem, 2vw, 1.25rem) !important;
    color: #E86100 !important;
}

.faq-item p {
    font-size: clamp(0.95rem, 1.5vw, 1.0625rem) !important;
    color: #555 !important;
}

/* Remove excessive shadows for cleaner look */
* {
    text-shadow: none !important;
}

.hero-content h1,
.hero-content p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

/* Smooth all transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease !important;
}



/* Performance Optimizations */
* {
    /* Disable heavy animations during scroll */
    scroll-behavior: smooth !important;
}

/* Enable hardware acceleration */
.brochure-frame,
.brochure-content,
.hero-location,
.glass-card {
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Optimize backdrop filters for performance */
@media (min-width: 768px) {
    .brochure-content {
        /* Reduce blur intensity for better performance */
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }
}

/* Disable backdrop filter on mobile for performance */
@media (max-width: 767px) {
    .brochure-content,
    .glass-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.95) !important;
    }
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth !important;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
}

/* Reduce animation complexity */
@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.02);
        opacity: 0.9;
    }
}

/* Optimize transitions */
* {
    transition-duration: 0.3s !important;
}

.cta-button,
.internal-links a {
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

/* Reduce shadow complexity for performance */
.brochure-frame {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.glass-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

/* Optimize image rendering */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Reduce repaints on hover */
a:hover,
button:hover,
.cta-button:hover {
    transform: translateY(-2px);
}



/* Location Pages - Spanish Theme Matching Main Website */

/* Import Spanish Color Palette */
:root {
  --primary: #E86100;      /* Spanish Orange */
  --secondary: #A23E2D;    /* Terracotta */
  --accent: #0099CC;       /* Mediterranean Blue */
  --olive: #708238;        /* Olive Green */
  --amber: #FFBF00;        /* Amber */
  --cream: #F8F5F0;        /* Cream */
  --text: #333;            /* Dark Gray */
  --light: #F8F5F0;
  --white: #FFFFFF;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Professional Hero Section - Spanish Theme */
.hero-location {
  position: relative;
  min-height: 500px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 80px 20px;
}

.hero-location::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/content/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.hero-location::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--white) 0%, transparent 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeInUp 1.0s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.badge-premium {
  background: var(--white);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  animation: pulse 2.0s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.badge-premium i {
  color: var(--amber);
  font-size: 16px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  opacity: 0.95;
  margin-bottom: 30px;
  font-weight: 300;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  opacity: 0.9;
}

.hero-feature i {
  font-size: 20px;
  color: var(--amber);
}

/* Content Sections with Icons */
.content-section {
  padding: 60px 0;
  position: relative;
}

.content-section:nth-child(even) {
  background: var(--cream);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-lg);
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.section-icon i {
  font-size: 36px;
  color: white;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--secondary);
  margin-bottom: 15px;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text);
  opacity: 0.8;
}

/* Icon Cards Grid */
.icon-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.icon-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.icon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.icon-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.icon-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.icon-card-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-card-icon i {
  font-size: 24px;
  color: white;
}

.icon-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary);
  margin: 0;
}

.icon-card-content {
  color: var(--text);
  line-height: 1.6;
}

/* Feature List with Icons */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.feature-list li:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon i {
  color: white;
  font-size: 18px;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.feature-description {
  color: var(--text);
  line-height: 1.5;
}

/* Distance Info Box */
.distance-box {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: white;
  padding: 40px;
  border-radius: 20px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.distance-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.distance-content {
  position: relative;
  z-index: 1;
}

.distance-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.distance-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.distance-icon i {
  font-size: 28px;
}

.distance-title {
  font-size: 1.8rem;
  font-weight: 700;
}

.distance-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.distance-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.distance-item i {
  font-size: 20px;
  opacity: 0.9;
}

/* Activities Grid */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.activity-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.activity-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.activity-icon {
  height: 120px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.activity-icon i {
  font-size: 48px;
  color: white;
}

.activity-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--amber);
  color: var(--secondary);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.activity-content {
  padding: 20px;
}

.activity-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 10px;
}

.activity-description {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  opacity: 0.3;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-icon {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.cta-icon i {
  font-size: 48px;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta {
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-cta-primary {
  background: white;
  color: var(--primary);
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.btn-cta-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-cta-secondary:hover {
  background: white;
  color: var(--primary);
}

/* FAQ Section with Icons */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  cursor: pointer;
  position: relative;
}

.faq-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-icon i {
  color: white;
  font-size: 18px;
}

.faq-question-text {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
}

.faq-toggle {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 25px 25px 85px;
  color: var(--text);
  line-height: 1.6;
}

/* Internal Links Section */
.internal-links-section {
  background: var(--cream);
  padding: 60px 20px;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.link-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.link-card:hover::before {
  opacity: 1;
}

.link-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  color: white;
}

.link-card-content {
  position: relative;
  z-index: 1;
}

.link-icon {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.link-card:hover .link-icon {
  color: white;
}

.link-title {
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

/* Floating Action Button */
.fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.fab-main {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  animation: bounce 2.0s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.fab-main:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-location {
    min-height: 400px;
    padding: 60px 20px;
  }
  
  .icon-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .activities-grid {
    grid-template-columns: 1fr;
  }
  
  .distance-details {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-cta {
    width: 100%;
    max-width: 300px;
  }
}

/* Loading Animation */
@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 1000px 100%;
  animation: shimmer 2.0s infinite;
}

/* ============================================
   CALL-TO-ACTION BUTTONS
   ============================================ */

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    transition: width 0.3s ease;
    z-index: -1;
}

.cta-button:hover::before {
    width: 100%;
}

/* Primary CTA - Book Now */
.cta-primary {
    background: linear-gradient(135deg, #E86100 0%, #FF8C42 100%);
    color: white;
    border: 2px solid transparent;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 97, 0, 0.4);
    color: white;
}

/* Secondary CTA - Contact */
.cta-secondary {
    background: linear-gradient(135deg, #0099CC 0%, #00B4D8 100%);
    color: white;
    border: 2px solid transparent;
}

.cta-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 153, 204, 0.4);
    color: white;
}

/* Tertiary CTA - View Gallery */
.cta-tertiary {
    background: linear-gradient(135deg, #A23E2D 0%, #C85A44 100%);
    color: white;
    border: 2px solid transparent;
}

.cta-tertiary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(162, 62, 45, 0.4);
    color: white;
}

/* Outline CTA - Learn More */
.cta-outline {
    background: transparent;
    color: #E86100;
    border: 2px solid #E86100;
}

.cta-outline:hover {
    background: #E86100;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 97, 0, 0.3);
}

/* Hero CTA Container */
.hero-cta-container {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Section CTA Container */
.section-cta-container {
    text-align: center;
    margin: 40px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(232, 97, 0, 0.05) 0%, rgba(0, 153, 204, 0.05) 100%);
    border-radius: 15px;
}

.section-cta-container .cta-text {
    margin-bottom: 20px;
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

/* Floating CTA (removed as per cleanup) */
.floating-cta {
    display: none !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero-cta-container {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
    }
}

/* CTA Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(232, 97, 0, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(232, 97, 0, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(232, 97, 0, 0.4);
    }
}

.cta-primary {
    animation: pulse 2s infinite;
}

/* Icon support for CTAs */
.cta-button i {
    margin-right: 8px;
}


/* ============================================
   DESKTOP TYPOGRAPHY FIXES
   ============================================ */

/* Base typography improvements */
body {
    font-size: 18px !important;
    line-height: 1.8 !important;
}

p {
    font-size: 18px !important;
    line-height: 1.8 !important;
    margin-bottom: 1.5rem !important;
    letter-spacing: 0.3px !important;
}

.brochure-content p {
    font-size: 18px !important;
    line-height: 1.9 !important;
    margin-bottom: 1.5rem !important;
}

/* Heading adjustments for better hierarchy */
h1 {
    font-size: clamp(2rem, 4vw, 3.5rem) !important;
    line-height: 1.3 !important;
    margin-bottom: 2rem !important;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
    line-height: 1.4 !important;
    margin-top: 3rem !important;
    margin-bottom: 1.5rem !important;
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
    line-height: 1.4 !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1.25rem !important;
}

/* List items readability */
ul li, ol li {
    font-size: 18px !important;
    line-height: 1.8 !important;
    margin-bottom: 0.75rem !important;
}

/* Content sections spacing */
.content-section {
    padding: 3rem 2rem !important;
}

/* Desktop-specific adjustments */
@media (min-width: 992px) {
    .brochure-content {
        padding: 4rem 3rem !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
    }
    
    /* Constrain text width for optimal reading */
    .brochure-content p,
    .brochure-content ul,
    .brochure-content ol {
        max-width: 75ch !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .hero-content h1 {
        font-size: 3.5rem !important;
        letter-spacing: -0.5px !important;
    }
    
    .hero-content p {
        font-size: 1.25rem !important;
        max-width: 800px !important;
        margin: 0 auto 2rem !important;
    }
    
    /* Better spacing for content blocks */
    .distance-stats {
        padding: 2rem !important;
        margin: 2rem 0 !important;
    }
    
    .distance-stats .stat-item {
        padding: 1.5rem !important;
    }
    
    .distance-stats .stat-value {
        font-size: 1.75rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .distance-stats .stat-label {
        font-size: 1rem !important;
    }
    
    /* FAQ section improvements */
    .faq-item {
        margin-bottom: 2rem !important;
    }
    
    .faq-item h3 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .faq-item p {
        font-size: 18px !important;
        line-height: 1.8 !important;
    }
    
    /* CTA buttons spacing */
    .cta-button {
        font-size: 18px !important;
        padding: 1rem 2.5rem !important;
        margin: 1.5rem 0 !important;
    }
    
    /* Internal links section */
    .internal-links {
        margin: 3rem 0 !important;
        padding: 2rem !important;
    }
    
    .internal-links a {
        font-size: 18px !important;
        padding: 0.75rem 1.5rem !important;
        margin: 0.5rem !important;
    }
}

/* Ultra-wide screens (1400px+) */
@media (min-width: 1400px) {
    .brochure-content {
        max-width: 1400px !important;
        padding: 5rem 4rem !important;
    }
    
    p, ul li, ol li {
        font-size: 19px !important;
        line-height: 1.9 !important;
    }
    
    .hero-content h1 {
        font-size: 4rem !important;
    }
}

/* Extra large screens (1920px+) */
@media (min-width: 1920px) {
    .brochure-content {
        font-size: 20px !important;
        line-height: 1.9 !important;
        padding: 5rem 6rem !important;
    }
    
    .brochure-content p,
    .brochure-content ul,
    .brochure-content ol {
        max-width: 70ch !important;
        font-size: 20px !important;
    }
}

/* Fix spacing between sections */
.brochure-content > * + * {
    margin-top: 2.5rem !important;
}

.brochure-content h2 + p,
.brochure-content h3 + p {
    margin-top: 1rem !important;
}

/* Ensure content doesn't get too wide on large screens */
.brochure-frame {
    max-width: 1600px !important;
    margin: 0 auto !important;
}

@media (min-width: 1200px) {
    .brochure-frame {
        padding: 2rem !important;
    }
}




/* Hero Section - Full Background Image */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4rem 1rem;
    background: #667eea; /* Fallback color */
}

/* Dark overlay for text readability */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Darker overlay */
    z-index: 1;
}

/* Hero background image - full coverage */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Hero content with glass morphism */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.08); /* Very subtle glass effect */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Ensure text is visible on dark background */
.hero-content h1 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-size: clamp(1.75rem, 5vw, 2.5rem) !important;
    margin-bottom: 1rem !important;
}

.hero-content .tagline {
    color: #f0f0f0 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7) !important;
    font-size: clamp(1rem, 2.5vw, 1.25rem) !important;
    margin-bottom: 2rem !important;
}

.hero-content .hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem 0;
}

.hero-content .hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6) !important;
    font-size: clamp(0.9rem, 2vw, 1rem) !important;
}

.hero-content .hero-feature i {
    color: #ffd700 !important; /* Gold icons for visibility */
    font-size: 1.2rem !important;
}

/* Hero badges */
.hero-badges {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/* Darker overlay for text visibility */
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}


/* Center all section headers */
.content-section h2,
.attractions-section h2,
.beaches-section h2,
.dining-section h2,
.practical-section h2,
.faq-section h2,
.cta-section h2,
.internal-links h2,
section h2 {
    text-align: center !important;
    margin: 0 auto 2rem !important;
    padding: 0 1rem !important;
}

.content-section h3,
.attractions-section h3,
.beaches-section h3,
.dining-section h3,
.practical-section h3,
section h3 {
    text-align: center !important;
    margin: 0 auto 1.5rem !important;
}

/* Ensure content cards maintain their layout */
.content-card h3 {
    text-align: left !important;
}

/* FAQ items should stay left-aligned */
.faq-item h3 {
    text-align: left !important;
}


/* Ensure villa images load properly */
.hero-background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Fallback if image doesn't load */
.hero-section:not(:has(.hero-background img)) {
    background: linear-gradient(135deg, #E86100 0%, #A23E2D 100%);
}

/* Make sure random villa image is visible */
.hero-section .hero-background {
    opacity: 1 !important;
    visibility: visible !important;
}