/* Global Styles */
:where([class^="ri-"])::before {
    content: "\f3c2";
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
}

/* Header Styles */
.header-solid .logo-text {
    color: #1B365D !important;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

.header-solid .logo-subtext {
    color: rgba(27, 54, 93, 0.9) !important;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

.header-transparent {
    background-color: rgba(255, 255, 255, 0);
    transition: background-color 0.3s ease;
}

.header-solid {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-solid .nav-link {
    color: #1f2937 !important;
}

/* Fix for hamburger menu visibility */
.header-solid #mobile-menu-button {
    color: #1B365D !important;
}

.header-solid #mobile-menu-button:hover {
    color: #FFA726 !important;
}

/* Fix for Nazovi button visibility */
.header-solid .call-now-button {
    background-color: #1B365D !important;
    color: white !important;
    border-color: #1B365D !important;
}

.header-solid .call-now-button:hover {
    background-color: #FFA726 !important;
    color: white !important;
    border-color: #FFA726 !important;
}

/* Fix for Nazovi button hover effect when header is transparent */
.header-transparent .call-now-button {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #1B365D !important;
    border-color: #1B365D !important;
}

.header-transparent .call-now-button:hover {
    background-color: #1B365D !important;
    color: white !important;
    border-color: #1B365D !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    height: 85vh;
    min-height: 600px;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: opacity 1000ms;
    overflow: hidden;
}

.hero-slide .hero-slide-bg {
    position: absolute;
    inset: 0;
    transform: scale(1.3);
    background-size: cover;
    background-position: center;
    transform-origin: 50% 50%;
    backface-visibility: hidden;
    animation: kenburns 20s ease-out forwards;
}

.hero-slide .hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
}

.hero-content {
    opacity: 0;
    transform: translateX(10px);
    transition: all 1000ms;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateX(0);
}

/* Slider Navigation */
.slider-navigation {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    gap: 0.75rem;
}

.slider-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background-color: white;
    opacity: 0.6;
    transition: opacity 300ms;
}

.slider-dot:hover {
    opacity: 1;
}

.slider-dot.active {
    opacity: 1;
}

/* Hero Slide 1 */
.hero-slide-1 .hero-slide-bg {
    background-image: url('hero/SoleNautica1.jpg');
}

/* Hero Slide 2 */
.hero-slide-2 .hero-slide-bg {
    background-image: url('hero/SoleNautica2.jpg');
}

/* Hero Slide 3 */
.hero-slide-3 .hero-slide-bg {
    background-image: url('hero/SoleNautica3.jpg');
}

/* Form Elements */
.date-picker::-webkit-calendar-picker-indicator {
    opacity: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="search"]::-webkit-search-cancel-button {
    display: none;
}

.custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Custom Checkbox */
.custom-checkbox {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #D1D5DB;
    background-color: white;
    cursor: pointer;
}

.custom-checkbox.checked {
    background-color: #0078C8;
    border-color: #0078C8;
}

.custom-checkbox.checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Custom Switch */
.custom-switch {
    position: relative;
    width: 48px;
    height: 24px;
    border-radius: 12px;
    background-color: #D1D5DB;
    cursor: pointer;
    transition: background-color 0.3s;
}

.custom-switch.active {
    background-color: #0078C8;
}

.custom-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    transition: transform 0.3s;
}

.custom-switch.active::after {
    transform: translateX(24px);
}

/* Card Hover Effects */
.testimonial-card {
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.boat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.destination-card {
    transition: transform 0.3s ease;
}

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

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.price-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Animation */
@keyframes kenburns {
    0% {
        transform: scale(1.3) translate(0);
    }
    100% {
        transform: scale(1.1) translate(-2%, -2%);
    }
}

/* Mobile Menu */
.mobile-menu-open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Gallery Overlay */
.gallery-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.gallery-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.gallery-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.gallery-overlay.active .gallery-content {
    transform: scale(1);
}

/* Quick View Modal */
.quick-view-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.quick-view-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.quick-view-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.quick-view-modal.active .quick-view-content {
    transform: scale(1);
}

/* Boat Image Hover */
.boat-image-hover {
    position: relative;
    overflow: hidden;
}

.boat-image-hover .boat-image-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.boat-image-hover:hover .boat-image-overlay {
    opacity: 1;
}

/* Price List Hero */
.price-list-hero {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.price-list-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.price-list-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.price-list-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    z-index: 2;
}

/* FAQ Styles */
.faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    cursor: pointer;
    font-weight: 500;
}

.faq-question span {
    padding-left: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1rem;
    color: #4b5563;
}

.faq-answer.active {
    max-height: 1000px;
    padding-bottom: 1rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding-bottom: 1rem;
}

.faq-item.active .faq-icon-plus {
    display: none;
}

.faq-item.active .faq-icon-minus {
    display: block;
}

.faq-item .faq-icon-minus {
    display: none;
}

/* FAQ Category Navigation Active State */
.faq-category-link {
    transition: all 0.3s ease;
}

.faq-category-link.active {
    background-color: #1B365D !important;
    color: white !important;
}

.faq-category-link.active:hover {
    background-color: #1B365D !important;
    color: white !important;
}

/* About Hero */
.about-hero {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Fleet Hero */
.fleet-hero {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.fleet-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://res.cloudinary.com/chrisvz/image/upload/c_fill,w_1920,h_1080,ar_16:9/v1749729906/AdobeStock_471842975-min_rx3zbk.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.fleet-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }
}

@media (max-width: 640px) {
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }
}

/* Additional styles for inline elements */
.boat-image-bg {
    background-image: url('https://res.cloudinary.com/chrisvz/image/upload/c_scale,h_400,r_0,w_600/v1749648457/ranieri_stargate_5_-min_1_r8m5tq.jpg');
    background-size: cover;
    background-position: center;
}

.marina-image-bg {
    background-image: url('hero/marina.jpg');
    background-size: cover;
    background-position: center;
}

.about-logo-bg {
    background-image: url('logo/soleNauticaLogo.png');
    background-size: cover;
    background-position: center;
}

.iframe-no-border {
    border: 0;
}

/* Hero section Nazovi button styling */
.hero-section .call-now-button {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #1B365D !important;
    border-color: #1B365D !important;
}

.hero-section .call-now-button:hover {
    background-color: #1B365D !important;
    color: white !important;
    border-color: #1B365D !important;
}

/* Premium fleet card Nazovi button styling */
.boat-card .call-now-button {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #1B365D !important;
    border-color: #1B365D !important;
}

.boat-card .call-now-button:hover {
    background-color: #1B365D !important;
    color: white !important;
    border-color: #1B365D !important;
}

/* Taxi boat section Call to Book button styling */
.taxi-boat-section .call-now-button:hover {
    background-color: #1B365D !important;
    color: white !important;
    border-color: #1B365D !important;
}

/* More specific styling for taxi boat section Call to Book button */
.taxi-boat-section a[href^="tel:"] {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #1B365D !important;
    border-color: #1B365D !important;
}

.taxi-boat-section a[href^="tel:"]:hover {
    background-color: #1B365D !important;
    color: white !important;
    border-color: #1B365D !important;
}

/* Very specific styling for the Call to Book button in taxi boat section */
.taxi-boat-section a[href="tel:+385915805907"] {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #1B365D !important;
    border-color: #1B365D !important;
}

.taxi-boat-section a[href="tel:+385915805907"]:hover {
    background-color: #1B365D !important;
    color: white !important;
    border-color: #1B365D !important;
}

/* Fix for hover effect on all call buttons */
a[href^="tel:"]:hover {
    background-color: #1B365D !important;
    color: white !important;
    border-color: #1B365D !important;
}

.cta-btn, .rounded-button {
    border-radius: 0 !important;
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 56px;
    max-height: 56px;
    box-sizing: border-box;
    padding: 0 1.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
    gap: 0.5rem;
    line-height: 1.2;
}

.cta-btn > span,
.cta-btn > span > i {
    line-height: 1;
    height: 1.5em;
    display: flex;
    align-items: center;
}

.cta-btn > span {
    width: 100%;
    justify-content: center;
}

.cta-btn:active {
    transform: scale(0.98);
}

@media (max-width: 640px) {
    .cta-btn {
        min-width: 0;
        width: 100%;
        height: 48px;
        max-height: 48px;
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/*
  Use .section-call-now-button for Nazovi buttons in CTA and Contact Information sections (not header).
  Example usage:
  <a class="section-call-now-button ...">...</a>
*/
.section-call-now-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255,255,255,0.9);
  color: var(--color-primary, #1B365D);
  border: 1px solid var(--color-primary, #1B365D);
  padding: 0.5rem 1rem;
  border-radius: 0;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s, border 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.section-call-now-button:hover {
  background-color: #1B365D;
  color: #fff;
  border-color: #1B365D;
}

/*
  Use .section-whatsapp-button for WhatsApp buttons in CTA and Contact Information sections (not header).
  Example usage:
  <a class="section-whatsapp-button ...">...</a>
*/
.section-whatsapp-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #25D366;
  color: #fff;
  border: 1px solid #25D366;
  padding: 0.5rem 1rem;
  border-radius: 0;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s, border 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.section-whatsapp-button:hover {
  background-color: #128C7E;
  border-color: #128C7E;
  color: #fff;
}

/*
  Use .section-fleet-button for 'View Our Fleet' buttons in CTA and Contact Information sections (not header).
  Example usage:
  <a class="section-fleet-button ...">...</a>
*/
.section-fleet-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #fff;
  color: var(--color-primary, #1B365D);
  border: 1px solid var(--color-primary, #1B365D);
  padding: 0.5rem 1rem;
  border-radius: 0;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s, border 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.section-fleet-button:hover {
  background-color: #f3f4f6;
  color: var(--color-primary, #1B365D);
  border-color: var(--color-primary, #1B365D);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom right,
    rgba(27, 54, 93, 0.55) 0%,
    rgba(82, 165, 197, 0.35) 100%
  );
  pointer-events: none;
}
/* .hero-section > *:not(.hero-overlay) {
  position: relative;
  z-index: 2;
}  */

/* Hero section button hover styles for cjenik.html */
.price-list-hero .btn-whatsapp:hover {
  background-color: #128C7E !important;
  color: #fff !important;
  border-color: #128C7E !important;
}
.price-list-hero .btn-callnow:hover {
  background-color: #1B365D !important;
  color: #fff !important;
  border-color: #1B365D !important;
}
.price-list-hero .btn-secondary:hover {
  background-color: #FFA726 !important;
  color: #fff !important;
  border-color: #FFA726 !important;
}

.chip-speedboat {
  background: #1B365D;
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.12);
}
.chip-rib {
  background: #FFA726;
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.12);
}
.chip-smallboat, .chip-fuel {
  background: #22c55e;
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.12);
}

.cta-wrapper {
    background: linear-gradient(135deg, #1B365D 0%, #2A4A7A 100%);
    color: white;
}

.custom-call-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #FFA726;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    border: 2px solid #FFA726;
}

.custom-call-button:hover {
    background-color: #1B365D;
    color: white;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    border-color: #1B365D;
}

.testimonials-overlay {
    background: linear-gradient(135deg, rgba(27, 54, 93, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
    backdrop-filter: blur(2px);
}