/* --------------------------------------
 * Sticky Header Styles - Matching Wedding Page
 * -------------------------------------- */
.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Add padding to body when header is fixed */
body {
    padding-top: 80px; /* Adjust based on your header height */
}

/* Mobile menu adjustments for sticky header */
@media (max-width: 991.98px) {
    .navbar-collapse {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    body {
        padding-top: 60px; /* Smaller padding for mobile */
    }
}

/* --------------------------------------
 * General Styles
 * -------------------------------------- */
:root {
    /* Brand Color System - Updated to match site standards */
    --primary-color: #28a745;           /* Primary green color - Brand standard */
    --primary-dark: #218838;            /* Darker green for hover states */
    --secondary-color: #0056b3;         /* Secondary blue color */
    --secondary-dark: #003d7a;          /* Darker blue for hover states */
    --accent-color: #ff8c00;            /* Orange accent color */
    --accent-dark: #e67e00;             /* Darker orange for hover states */
    --text-color: #333;                 /* Main text color */
    --text-light: #666;                 /* Lighter text color */
    --light-text: #fff;                 /* White text color */
    --background-light: #f8f9fa;        /* Light background color */
    --border-color: #dee2e6;            /* Border color */
    
    /* Spacing variables */
    --section-spacing: 5rem;            /* Vertical spacing between sections */
    --element-spacing: 1.5rem;          /* Spacing between elements */
}

/* Global typography adjustments */
body {
    color: var(--text-color);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Ensure all sections have consistent spacing */
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.section-title {
    font-family: var(--font-primary, 'RobotoBold_0', 'Roboto Slab', sans-serif);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
    position: relative;
    z-index: 5;
    clear: both;
    text-align: center;
    padding: 0 15px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.section-title .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 10px;
}

.title-divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto 30px;
}

.bg-light {
    background-color: var(--background-light) !important;
}

/* --------------------------------------
 * Header/Banner Styles
 * -------------------------------------- */
.main-banner {
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 8rem 0;
    color: var(--light-text);
}

.main-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 30%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.main-banner .container {
    position: relative;
    z-index: 2;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.banner-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Updated Button Styles to Match Brand Standards */
.btn-primary {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-color: #28a745;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    border-color: #218838;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.5);
}

.btn-secondary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Hero Buttons - Matching Wedding Page */
.hero-btn-wrap {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}
.btn-hero,
.btn-hero-outline {
    font-family: var(--font-secondary, 'RobotoRegular', sans-serif);
    display: inline-block;
    padding: 12px 30px;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-hero {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 2px solid var(--primary-color);
}

.btn-hero:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-hero-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-hero-outline:hover {
    background-color: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

/* Hero Controls - Matching Wedding Page */
.hero-controls {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 10;
}

.hero-control-prev,
.hero-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    pointer-events: auto;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.hero-control-prev {
    left: 30px;
}

.hero-control-next {
    right: 30px;
}

.hero-control-prev:hover,
.hero-control-next:hover {
    background-color: rgba(135, 106, 59, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.hero-control-prev-icon,
.hero-control-next-icon {
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    width: 18px;
    height: 18px;
    display: block;
}

.hero-control-prev-icon {
    transform: rotate(-135deg);
}

.hero-control-next-icon {
    transform: rotate(45deg);
}

/* Added Outline Button Style - Matches Wedding Page */
.btn-outline-light {
    color: #fff;
    border-color: #fff;
    background-color: transparent;
    border-width: 2px;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}

/* --------------------------------------
 * Introduction Section Styles
 * -------------------------------------- */
.intro-section {
    padding: var(--section-spacing) 0;
}

.intro-content .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.service-box {
    margin-bottom: 1.5rem;
}

.service-icon {
    flex: 0 0 60px;
    height: 60px;
    width: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
}

.service-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.service-text p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* --------------------------------------
 * Destinations Section Styles
 * -------------------------------------- */
.destinations-section {
    padding: var(--section-spacing) 0;
    overflow: hidden; /* Prevent layout issues */
}

.destinations-section .section-title {
    margin-bottom: 2.5rem;
    z-index: 2; /* Ensure title is above content */
}

.destination-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: auto; /* Allow natural height */
    min-height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px; /* Add extra space between cards */
    transition: all 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.image-placeholder {
    height: 220px; /* Consistent height */
    background-color: #f0f5f9; /* Light background */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-style: italic;
    overflow: hidden; /* Contain content */
}

.placeholder-text {
    font-size: 0.9rem;
    opacity: 0.7;
}

.destination-image {
    flex: 0 0 auto;
}

.destination-details {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.destination-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    margin-top: 0;
    line-height: 1.3;
}

.destination-details p {
    margin-bottom: 1rem;
}

.destination-features {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.destination-features li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.75rem;
    font-size: 0.95rem;
}

.destination-features li i {
    position: absolute;
    left: 0;
    top: 0.3rem;
    color: var(--primary-color);
}

/* --------------------------------------
 * Boat Destinations Section - With Fixes
 * -------------------------------------- */
.boat-destinations {
    padding: var(--section-spacing) 0;
    position: relative;
    overflow: hidden;
    background-color: var(--background-light);
    margin-bottom: 1rem; /* Ensure space below section */
}

.boat-destinations .section-title {
    margin-bottom: 2.5rem; /* Increased margin to prevent overlap */
    clear: both; /* Ensure no floating elements interfere */
    text-align: center;
    padding: 0 15px;
    position: relative;
    z-index: 5; /* Ensure title is above other elements */
}

/* Fix duplicate or overlapping headings */
.boat-destinations h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    line-height: 1.3;
    text-shadow: none; /* Prevent text shadows that might cause visual overlap */
}

/* Destination slides fixes */
.destination-slide {
    position: relative;
    height: 400px; /* Fixed height */
    background-size: cover;
    background-position: center;
    margin-bottom: 1.5rem; /* Add space between slides */
    border-radius: 8px;
    overflow: hidden;
}

.destination-slide:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.7));
    z-index: 1;
}

.destination-slide[data-region="capri"] {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('/images/placeholders/capri.jpg');
}

.destination-slide[data-region="cinque-terre"] {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('/images/placeholders/cinque-terre.jpg');
}

.destination-slide[data-region="sardinia"] {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('/images/placeholders/sardinia.jpg');
}

.destination-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: #fff;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4) 70%, transparent); /* Better text readability */
}

.destination-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    line-height: 1.3;
}

.destination-content p {
    margin-bottom: 1rem;
    max-width: 90%; /* Prevent text from stretching too wide */
    line-height: 1.5;
    font-size: 1rem;
    opacity: 0.95; /* Slightly improved readability */
}

/* Fix for Sardinia destination text overlap */
.destination-slide[data-region="sardinia"] .destination-content {
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6) 70%, rgba(0,0,0,0.2) 90%, transparent);
    padding-top: 3rem; /* Extra padding to improve readability */
}

.destination-slide[data-region="sardinia"] h3 {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.destination-slide[data-region="sardinia"] p {
    line-height: 1.5;
    max-width: 85%;
}

.destination-link {
    display: inline-block;
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.destination-link:hover {
    color: var(--secondary-color);
    background-color: transparent;
    border-color: transparent;
}

.carousel-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}

.prev-btn, .next-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--primary-dark);
}

.carousel-indicators {
    display: flex;
    margin: 0 15px;
}

.carousel-indicators .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators .indicator.active {
    background-color: var(--primary-color);
}

/* --------------------------------------
 * Why Book Section Styles
 * -------------------------------------- */
.why-book-section {
    padding: var(--section-spacing) 0;
}

.benefit-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.benefit-icon {
    height: 80px;
    width: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.benefit-icon i {
    font-size: 2rem;
}

.benefit-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --------------------------------------
 * Featured Experience Section
 * -------------------------------------- */
.featured-experience {
    padding: var(--section-spacing) 0;
}

.featured-image-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.featured-content {
    padding: 1rem 0 1rem 2rem;
}

.featured-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.featured-content .lead {
    margin-bottom: 1.5rem;
}

.featured-list {
    list-style-type: none;
    padding: 0;
    margin-bottom: 2rem;
}

.featured-list li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.75rem;
}

.featured-list li i {
    position: absolute;
    left: 0;
    top: 0.35rem;
    color: var(--primary-color);
}

/* --------------------------------------
 * Testimonials Section
 * -------------------------------------- */
.testimonials-section {
    padding: var(--section-spacing) 0;
}

.testimonial-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    position: relative;
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 0.5rem;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-author h5 {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.testimonial-author p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.rating {
    color: #ffc107;
}

/* --------------------------------------
 * Gallery Section
 * -------------------------------------- */
.boat-gallery {
    background-color: var(--background-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-caption {
    font-size: 1.2rem;
    font-weight: 600;
}

/* --------------------------------------
 * Boat Testimonials Section
 * -------------------------------------- */
.boat-testimonials {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.boat-testimonials .section-title {
    color: var(--light-text);
}

.boat-testimonials .section-title:after {
    background-color: white;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    text-align: center;
    padding: 30px 20px;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    position: relative;
    margin-bottom: 20px;
}

.testimonial-content p:before,
.testimonial-content p:after {
    content: '"';
    font-size: 2rem;
    line-height: 0;
    vertical-align: -15px;
}

.testimonial-content p:before {
    margin-right: 5px;
}

.testimonial-content p:after {
    margin-left: 5px;
}

.author-name {
    font-weight: 600;
}

.testimonials-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.control-btn {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background-color: white;
    color: var(--primary-color);
}

/* --------------------------------------
 * Call to Action Section
 * -------------------------------------- */
.cta-section {
    padding: var(--section-spacing) 0;
    color: white;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/cta-background.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content .lead,
.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: var(--secondary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #e67e00;
    transform: translateY(-3px);
}

/* --------------------------------------
 * Enquiry Form Section
 * -------------------------------------- */
.enquiry-section {
    padding: var(--section-spacing) 0;
}

.enquiry-content {
    padding-right: 2rem;
}

.enquiry-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.enquiry-content .lead {
    margin-bottom: 1.5rem;
}

.enquiry-features {
    list-style-type: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.enquiry-features li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.75rem;
}

.enquiry-features li i {
    position: absolute;
    left: 0;
    top: 0.3rem;
    color: var(--primary-color);
}

.contact-info h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info p i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.enquiry-form-container .card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.enquiry-form .form-control {
    height: auto;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.enquiry-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

/* --------------------------------------
 * FAQ Section
 * -------------------------------------- */
.faq-section {
    padding: var(--section-spacing) 0;
}

.faq-accordion .card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

.faq-accordion .card-header {
    background-color: white;
    padding: 0;
    border-bottom: none;
}

.faq-accordion .btn-link {
    width: 100%;
    text-align: left;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-accordion .btn-link:hover, .faq-accordion .btn-link:focus {
    text-decoration: none;
    box-shadow: none;
}

.faq-accordion .btn-link i {
    transition: transform 0.3s ease;
}

.faq-accordion .btn-link[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-accordion .card-body {
    padding: 0 1.5rem 1.5rem;
}

.faq-accordion .card-body ul {
    padding-left: 1.25rem;
}

.faq-accordion .card-body ul li {
    margin-bottom: 0.5rem;
}

/* --------------------------------------
 * Related Services Section
 * -------------------------------------- */
.related-services {
    padding: var(--section-spacing) 0;
}

.related-service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.related-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-image .image-placeholder {
    height: 180px;
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.service-content p {
    margin-bottom: 1rem;
}
.btn-learn-more,
.btn-learn-more-outline {
    font-family: var(--font-secondary, 'RobotoRegular', sans-serif);
    display: inline-block;
    padding: 12px 30px;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Solid version */
.btn-learn-more {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 2px solid var(--primary-color);
}

.btn-learn-more:hover {
    background-color: green;
    color: #fff;
    border-color: green;
}

/* Outline version */
.btn-learn-more-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-learn-more-outline:hover {
    background-color: green;
    color: #fff;
    border-color: green;
}

/* --------------------------------------
 * Back to Top Button
 * -------------------------------------- */
.btn-floating {
    width: 48px;
    height: 48px;
    line-height: 48px;
    background: rgba(0, 0, 0, 0.7);
    position: fixed;
    right: 30px;
    bottom: 30px;
    border-radius: 50%;
    text-align: center;
    z-index: 100;
    color: #fff;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: none;
}

.btn-floating:hover {
    background: #000;
}

/* --------------------------------------
 * Responsive Styles
 * -------------------------------------- */
@media (max-width: 1199.98px) {
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .featured-content {
        padding-left: 1rem;
    }
}

@media (max-width: 991.98px) {
    .banner-content h1 {
        font-size: 2.2rem;
    }
    
    .featured-content {
        padding: 2rem 0 0;
    }
    
    .enquiry-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .destinations-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-spacing: 4rem;
    }
    
    .main-banner {
        padding: 6rem 0;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .banner-content p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .featured-image-container {
        margin-bottom: 2rem;
    }
    
    .destination-card, .benefit-card, .testimonial-card {
        margin-bottom: 1.5rem;
    }
    
    .destination-slide {
        height: 350px;
    }
    
    .destination-content h3 {
        font-size: 1.5rem;
    }
    
    .boat-destinations .section-title {
        margin-bottom: 1.5rem;
        font-size: 1.8rem;
    }
    
    /* Fix vertical spacing between sections */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Fix section titles on mobile */
    .section-title h2 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    /* Fix title and text overlapping in cards */
    .destination-card {
        margin-bottom: 1.5rem;
    }
    
    .destination-details {
        padding: 1.25rem;
    }
    
    .destination-details h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }
    
    .destination-details p {
        margin-bottom: 0.75rem;
        line-height: 1.5;
        font-size: 0.95rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575.98px) {
    :root {
        --section-spacing: 3rem;
    }
    
    .main-banner {
        padding: 5rem 0;
    }
    
    .banner-content h1 {
        font-size: 1.8rem;
    }
    
    .destination-slide {
        height: 300px;
    }
    
    .destination-content {
        padding: 1.5rem;
    }
    
    .destination-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .destination-content p {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    
    /* Fix banner content on small devices */
    .banner-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .banner-content p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    /* Fix overlapping elements in small screens */
    .section-title {
        margin-bottom: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .section-title .subtitle {
        font-size: 1rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

/* --------------------------------------
 * Video Banner Styles - Moved from Blade file
 * -------------------------------------- */
/* Optimize video transitions for smoother playback */
.video-slide {
    transition: opacity 1s ease-in-out; 
    will-change: opacity; 
    transform: translateZ(0); /* Hardware acceleration hint */
    backface-visibility: hidden;
}

/* Ensure video container has fixed dimensions to prevent layout shifts */
.video-banner-section {
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
    contain: strict; /* Performance optimization */
    margin-top: 0; /* Account for sticky header */
}

/* Style adjustments for sticky header compatibility */
body {
    padding-top: 90px; /* Adjust based on your header height */
}

/* Ensure the header stays on top */
#ts-header {
    z-index: 1030;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Shrink header on scroll for better user experience */
#ts-header.scrolled {
    padding-top: 5px;
    padding-bottom: 5px;
}

/* Fix for mobile menu behavior with sticky header */
.navbar-collapse.show {
    max-height: calc(100vh - 90px);
    overflow-y: auto;
}

/* Match brand styling with updated video overlay */
.video-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.6) 100%);
}

/* Improved video indicators - match brand green */
.video-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 1px; /* Reduced from 6px to 3px to make indicators closer together */
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    transform-origin: center center;
    touch-action: manipulation; /* Improves touch response */
}

.video-indicator.active {
    background: #28a745;
    transform: scale(1.2);
}

/* Hero button group styling to match brand */
.hero-btn-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Add scroll indicator matching weddings page */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 15;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(45deg);
    margin: 0 auto 10px;
}

.scroll-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Video content wrapper spacing */
.video-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Adjustments for the main heading text */
.video-title.display-3 {
    font-size: calc(1.8rem + 1.5vw); /* Responsive font size that scales with viewport width */
    line-height: 1.2;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Fix iOS Safari video playback issues */
@supports (-webkit-touch-callout: none) {
    .video-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* --------------------------------------
 * Responsive Styles - Match Wedding Page
 * -------------------------------------- */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    /* Adjustments for tablet view */
    section {
        padding: 70px 0;
    }
    
    .video-banner-section {
        height: 80vh;
    }
    
    /* Match weddings page styling for buttons */
    .hero-btn-wrap {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-hero, .btn-hero-outline {
        width: 100%;
        max-width: 250px;
    }
    
    .destination-content {
        padding: 30px 15px;
    }
    
    .content-card {
        padding: 30px;
    }
    
    .video-content-wrapper {
        max-width: 90%;
        margin: 0 auto;
    }
    
    .video-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .video-banner-section {
        height: 70vh;
    }
    
    .video-title {
        font-size: 2rem;
    }
    
    .destination-row {
        margin-bottom: 50px;
    }
    
    .destination-image {
        margin-bottom: 20px;
    }
    
    .feature-list li {
        flex-direction: column;
    }
    
    .feature-icon {
        margin: 0 0 15px;
    }
    
    .destination-content {
        text-align: center;
    }
    
    .hero-control-prev,
    .hero-control-next {
        width: 40px;
        height: 40px;
    }
    
    .hero-control-prev {
        left: 15px;
    }
    
    .hero-control-next {
        right: 15px;
    }
    
    .hero-control-prev-icon,
    .hero-control-next-icon {
        width: 15px;
        height: 15px;
    }
    
    /* Fix mobile menu with sticky header */
    body {
        padding-top: 80px;
    }
    
    /* Ensure destination cards are properly spaced */
    .destination-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    /* Adjustments for mobile view */
    section {
        padding: 50px 0;
    }
    
    /* Reduce text sizes for mobile */
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .video-banner-section {
        height: 70vh;
    }
    
    .video-title.display-3 {
        font-size: calc(1.5rem + 1vw);
    }
    
    /* Fix image and content spacing in mobile */
    .destination-image {
        margin-bottom: 20px;
    }
    
    /* Ensure indicator dots are visible on mobile */
    .video-controls {
        bottom: 60px;
    }
    
    /* Better align indicators */
    .video-indicator {
        width: 10px;
        height: 10px;
    }
    
    /* Adjust spacing for better mobile viewing */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

@media (max-width: 575.98px) {
    /* Special adjustments for extra small devices */
    .video-banner-section {
        height: 60vh;
    }
    
    /* Further reduce font sizes */
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-title .subtitle {
        font-size: 1rem;
    }
    
    /* Adjust button spacing */
    .hero-btn-wrap {
        margin-top: 20px;
    }
    
    /* Make video controls more compact */
    .video-indicator {
        margin: 0 2px;
    }
}
