@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    padding-top: 90px; /* Add space for fixed navbar */
    background-color: #F2F7F8;
    background-image: url('https://crucemundo.com/images/bgrios.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-blend-mode: overlay;
}
/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

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

/* Animation classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}
/* Button hover effects */
.btn-hover-effect {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-hover-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Cruise Card Styles */
.cruise-card {
    transition: all 0.3s ease;
    max-width: 360px;
    margin: 0 auto;
}

.cruise-card:hover {
transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Filter Styles */
#shipFilter, 
#destinationFilter, 
#priceFilter, 
#durationFilter, 
#departureFilter {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

/* Featured Tag */
.bg-highlight {
    background-color: var(--highlight);
}
/* Search widget styles */
.search-widget-button {
    background-color: #037ab1 !important;
    background-image: none !important;
}

.search-widget-button:hover {
    background-color: #025a87 !important;
}

/* Search widget input/select styles */
input[type="date"], select {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

input[type="date"]::placeholder, select option {
    color: rgba(255, 255, 255, 0.8) !important;
}

input[type="date"]:focus, select:focus {
    background-color: rgba(255, 255, 255, 0.3) !important;
}
/* Search widget select styles */
select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

/* Remove default arrow for custom select */
select[class*="appearance-none"] {
    background-image: none;
}
/* Expand search transition */
#extra-fields {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

#extra-fields:not(.hidden) {
    max-height: 200px;
    opacity: 1;
}
/* Form input focus styles */
input:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.15);
}
/* Newsletter input placeholder */
input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    transition: opacity 0.3s ease;
}

input:focus::placeholder {
    opacity: 0.5;
}

/* Newsletter form adjustments */
@media (min-width: 640px) {
    .newsletter-signup form {
        display: flex;
        align-items: center;
    }
    
    .newsletter-signup .relative {
        min-width: 300px;
    }
}
/* Datepicker styling */
.datepicker {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.datepicker-dropdown {
    border: 1px solid rgba(255,255,255,0.2);
}

.datepicker-months {
    width: 100%;
}

.datepicker-months .month {
    cursor: pointer;
    padding: 0.5rem;
    margin: 0.1rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.datepicker-months .month:hover {
    background: rgba(255,255,255,0.1) !important;
}

.datepicker-months .month.active {
    background: var(--primary) !important;
    color: white !important;
}

.datepicker-months .month.focused {
    background: rgba(255,255,255,0.1) !important;
}

.datepicker-months table thead tr {
    background: #444 !important;
    color: white;
}

.datepicker-months table thead tr th {
    padding: 0.5rem;
    color: white;
}

.datepicker-months table thead tr .datepicker-switch {
    font-weight: 600;
}

.datepicker-months table thead tr .prev,
.datepicker-months table thead tr .next {
    color: white;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.datepicker-months table thead tr .prev:hover,
.datepicker-months table thead tr .next:hover {
    opacity: 1;
    background: transparent !important;
}
/* Section spacing */
.section-spacing {
    padding: 5rem 0;
}

/* Responsive typography */
@media (max-width: 768px) {
    .responsive-text {
        font-size: 1.5rem;
    }
}
/* Hero slider styles */
.hero-swiper {
    width: 100%;
    height: 100vh;
}

.hero-swiper .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
    background: var(--accent);
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(0,0,0,0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0,0,0,0.5);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.5rem;
    font-weight: bold;
}
.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
    background: var(--accent);
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: white;
    background: rgba(0,0,0,0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: rgba(0,0,0,0.5);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Swiper slider styles */
.swiper-container {
    padding: 20px 0;
}
.swiper-slide {
    transition: all 0.3s ease;
    height: auto;
    width: 100% !important;
    max-width: 300px;
    padding: 0;
    margin: 0 auto;
}
.swiper-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 300px;
}
.swiper-slide .relative {
    overflow: hidden;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    width: 100%;
}
/* Cruise price badge styles */
.text-red-300 {
    color: #fca5a5;
}
.swiper-slide .bg-white {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.swiper-slide .relative {
    min-height: 200px;
    max-width: 300px;
}
.swiper-slide .bg-\[#236FF9\] {
    padding: 0.75rem;
background-color: #236FF9;
    color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 1rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.swiper-slide:hover .bg-\[#236FF9\] {
    opacity: 1;
}

.swiper-slide .bg-\[#236FF9\] .line-through,
.swiper-slide .bg-\[#236FF9\] .text-lg,
.swiper-slide .bg-\[#236FF9\] .text-sm {
    color: white !important;
}
.swiper-slide img {
    height: 100%;
    width: 100%;
    max-width: 300px;
    object-fit: cover;
    display: block;
}
.bg-\[#236FF9\] .text-white,
.bg-\[#236FF9\] .text-lg.font-bold {
    color: white !important;
}
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
}
/* Quick links card effects */
.quick-link-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.quick-link-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12), 0 10px 10px rgba(0, 0, 0, 0.08);
}

.quick-link-card i {
    transition: all 0.3s ease;
}

.quick-link-card:hover i {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
/* River Cards Styles */
.river-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: #333333;
    color: white;
}

.river-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.river-card .relative {
    transition: all 0.3s ease;
}

.river-card:hover .relative {
    transform: scale(1.02);
}

.river-card i {
    color: white;
}

.river-card h3 {
    color: white;
}

.river-card p {
    color: rgba(255,255,255,0.8);
}

.river-card a {
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.river-card a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
/* River Map Styles */
.river-map-container {
    position: relative;
    height: 0;
    padding-bottom: 60%;
    overflow: hidden;
    border-radius: 0.5rem;
    background-color: #f8fafc;
}

.river-overlay {
    pointer-events: none;
}

.river-path {
    opacity: 0;
    transition: opacity 0.3s ease;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.river-path.active {
    opacity: 1;
}

.river-marker {
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    stroke: white;
    stroke-width: 2;
}

.river-path.active ~ .river-marker {
    opacity: 1;
}

.river-marker:hover {
    transform: scale(1.5);
}

/* Tooltip styles */
.river-marker::after {
    content: attr(data-city);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.river-marker:hover::after {
    opacity: 1;
}
.river-tab {
    transition: all 0.3s ease;
    white-space: nowrap;
}

.river-tab.active {
    color: var(--primary);
}

.river-info-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.river-info-content.active {
    display: block;
}

/* Tooltip for markers */
[data-city] {
    position: relative;
}

[data-city]::after {
    content: attr(data-city);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

[data-city]:hover::after {
    opacity: 1;
}
/* Fleet page specific styles */
.fleet-feature-icon {
    transition: transform 0.3s ease;
}

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

.fleet-highlight {
    position: relative;
}

.fleet-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.fleet-highlight:hover::after {
    width: 100%;
}

/* Fleet cards grid */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 300px));
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
}

@media (min-width: 768px) {
    .fleet-grid {
        grid-template-columns: repeat(3, minmax(280px, 300px));
    }
}
/* Make the cards container full width */
.cruises-container,
.cruise-cards-wrapper,
.cards-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 20px;
  padding-right: 20px;
}

/* Make individual cards full width */
.cruise-card,
.card {
  width: 100% !important;
  max-width: 100% !important;
  margin-bottom: 20px;
}

/* If cards are in a grid, make it single column */
.cruise-grid,
.cards-grid {
  grid-template-columns: 1fr !important;
  display: grid;
  gap: 20px;
}

/* If cards are in flexbox */
.cruise-flex,
.cards-flex {
  flex-direction: column !important;
  display: flex;
}

.cruise-flex > *,
.cards-flex > * {
  width: 100% !important;
  flex: 0 0 100% !important;
}

/* Remove any max-width constraints on parent containers */
.container,
.main-content,
.page-content {
  max-width: 100% !important;
}

/* Ensure card images scale properly */
.cruise-card img,
.card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}