/* =============================================
   Cape San Blas Pontoon Rentals - Custom Styles
   Nautical / Boating Theme
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
    --navy: #0b1d3a;
    --navy-light: #132d5e;
    --ocean: #1565c0;
    --ocean-light: #1e88e5;
    --sky: #e3f2fd;
    --teal: #00897b;
    --teal-light: #26a69a;
    --sand: #fff8e1;
    --coral: #e65100;
    --coral-light: #ff6d00;
    --sunset: #ff8f00;
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --text-dark: #1a1a2e;
    --text-muted: #5a6a7e;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 2px 8px rgba(11, 29, 58, 0.08);
    --shadow-md: 0 4px 20px rgba(11, 29, 58, 0.12);
    --shadow-lg: 0 8px 40px rgba(11, 29, 58, 0.16);
    --radius: 12px;
    --transition: all 0.3s ease;
}

/* ---------- Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--ocean);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--ocean-light);
}

img {
    max-width: 100%;
    height: auto;
}

.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* ---------- Section Labels & Titles ---------- */
.section-label {
    display: inline-block;
    color: var(--ocean);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 40px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 2px;
    background: var(--ocean);
}

.section-title {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Navigation ---------- */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(11, 29, 58, 0.95);
    backdrop-filter: blur(12px);
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav-logo {
    height: 55px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .nav-logo {
    height: 45px;
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.1;
    color: var(--white);
}

.brand-sub {
    display: block;
    font-size: 0.75rem;
    font-family: var(--font-body);
    font-weight: 400;
    opacity: 0.8;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--sunset);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.btn-book-nav {
    background: var(--coral) !important;
    color: var(--white) !important;
    border-radius: 50px !important;
    padding: 0.5rem 1.25rem !important;
    margin-left: 0.5rem;
    font-weight: 700 !important;
}

.btn-book-nav:hover {
    background: var(--coral-light) !important;
    transform: translateY(-1px);
}

.btn-book-nav::after {
    display: none !important;
}

/* ---------- Hero Section ---------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 8s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(11, 29, 58, 0.5) 0%,
        rgba(11, 29, 58, 0.3) 50%,
        rgba(11, 29, 58, 0.7) 100%
    );
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23ffffff' d='M0,40 C360,80 720,0 1080,40 C1260,60 1380,50 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") center bottom / cover no-repeat;
    z-index: 2;
}

.hero-section > .container {
    z-index: 3;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.text-accent {
    color: var(--sunset);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-cta .btn {
    padding: 0.85rem 2rem;
    font-weight: 700;
    border-radius: 50px;
}

.hero-scroll-indicator {
    animation: bounce 2s infinite;
}

.hero-scroll-indicator a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
}

.hero-scroll-indicator a:hover {
    color: var(--white);
}

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

/* ---------- CTA Button ---------- */
.btn-cta {
    background: linear-gradient(135deg, var(--coral) 0%, var(--coral-light) 100%);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(230, 81, 0, 0.3);
}

.btn-cta:hover {
    background: linear-gradient(135deg, var(--coral-light) 0%, var(--sunset) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(230, 81, 0, 0.4);
}

/* ---------- About Section ---------- */
#about .lead {
    font-size: 1.15rem;
    line-height: 1.8;
}

.about-stat {
    background: var(--sky);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--ocean);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

/* ---------- Features Strip ---------- */
.features-strip {
    background: var(--navy);
    padding: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--sunset);
}

/* ---------- Fleet Section ---------- */
.bg-light-blue {
    background: var(--sky);
}

.fleet-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.fleet-card.popular {
    border: 2px solid var(--ocean);
}

.fleet-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

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

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

.fleet-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--ocean);
    color: var(--white);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fleet-card.popular .fleet-badge {
    background: var(--coral);
}

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

.fleet-card-body h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.fleet-specs {
    flex: 1;
}

.fleet-specs .spec {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.fleet-specs .spec:last-child {
    border-bottom: none;
}

.fleet-specs .spec i {
    color: var(--ocean);
    margin-right: 0.5rem;
    width: 20px;
}

.fleet-availability {
    text-align: center;
    color: var(--teal);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* ---------- Rates Section ---------- */
.rate-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

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

.rate-card.featured {
    border: 2px solid var(--ocean);
}

.rate-card-ribbon {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--coral);
    color: var(--white);
    padding: 0.25rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: rotate(45deg);
    z-index: 1;
}

.rate-card-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 2rem 1.5rem;
    text-align: center;
}

.rate-card-header i {
    font-size: 2rem;
    color: var(--sunset);
    margin-bottom: 0.5rem;
    display: block;
}

.rate-card-header h3 {
    margin-bottom: 0.25rem;
    font-size: 1.75rem;
}

.rate-duration {
    font-size: 0.9rem;
    opacity: 0.8;
}

.rate-card-body {
    padding: 2rem 1.5rem;
}

.rate-price {
    text-align: center;
    margin-bottom: 1.5rem;
}

.rate-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    vertical-align: super;
}

.rate-price .amount {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: var(--navy);
    line-height: 1;
}

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

.rate-features li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.rate-features li i {
    color: var(--teal);
    margin-right: 0.5rem;
}

/* ---------- Activities Section ---------- */
.activity-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

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

.activity-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sky) 0%, #bbdefb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}

.activity-card:hover .activity-icon {
    background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-light) 100%);
}

.activity-icon i {
    font-size: 1.75rem;
    color: var(--ocean);
    transition: var(--transition);
}

.activity-card:hover .activity-icon i {
    color: var(--white);
}

.activity-card h4 {
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.activity-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ---------- Gallery CTA Section ---------- */
.gallery-cta-section {
    overflow: hidden;
}

.gallery-img-wrapper {
    height: 400px;
    overflow: hidden;
}

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

.gallery-img-wrapper:hover img {
    transform: scale(1.05);
}

.bg-cta-center {
    background: linear-gradient(135deg, var(--navy) 0%, var(--ocean) 100%);
}

.bg-cta-center h2 {
    font-size: 2rem;
}

/* ---------- Location Section ---------- */
.location-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.location-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.location-detail:first-child {
    padding-top: 0;
}

.location-detail:last-of-type {
    border-bottom: none;
}

.location-detail i {
    font-size: 1.25rem;
    color: var(--ocean);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.location-detail strong {
    display: block;
    color: var(--navy);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.location-detail p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.map-wrapper {
    border: 3px solid var(--sky);
}

/* ---------- Contact Section ---------- */
.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

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

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--sky);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.contact-icon i {
    font-size: 1.75rem;
    color: var(--ocean);
}

.contact-card h4 {
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.contact-link {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ocean);
    margin-top: 0.25rem;
}

.contact-link:hover {
    color: var(--coral);
}

/* ---------- Final CTA ---------- */
.final-cta {
    background:
        linear-gradient(135deg, rgba(11, 29, 58, 0.85) 0%, rgba(21, 101, 192, 0.85) 100%),
        url('../images/st-joe-bay-pontoon-rentals-00007.jpg') center center / cover no-repeat fixed;
    padding: 5rem 0;
}

.final-cta h2 {
    font-size: 2.5rem;
}

.final-cta .btn {
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 700;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.8);
    padding: 2.5rem 0 1.5rem;
}

.footer-logo {
    height: 55px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--white);
    font-size: 1rem;
}

.footer-phone {
    display: inline-block;
    color: var(--sunset);
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-phone:hover {
    color: var(--white);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0 1rem;
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background: var(--ocean);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.back-to-top:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-3px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar-collapse {
        background: rgba(11, 29, 58, 0.98);
        padding: 1rem;
        border-radius: var(--radius);
        margin-top: 0.5rem;
    }

    .btn-book-nav {
        margin-left: 0;
        margin-top: 0.5rem;
        display: inline-block;
    }

    .gallery-img-wrapper {
        height: 250px;
    }

    .bg-cta-center {
        padding: 3rem 1rem;
    }

    .final-cta {
        background-attachment: scroll;
    }

    .final-cta h2 {
        font-size: 1.75rem;
    }

    .hero-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .hero-cta .btn.me-3 {
        margin-right: 0 !important;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .py-6 {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .rate-price .amount {
        font-size: 3rem;
    }

    .fleet-card-img {
        height: 180px;
    }

    .final-cta {
        padding: 3.5rem 0;
    }

    .final-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .final-cta .btn.me-2 {
        margin-right: 0 !important;
    }
}

/* Override horizontal AOS animations on mobile to prevent overflow */
@media (max-width: 991.98px) {
    [data-aos="fade-left"],
    [data-aos="fade-right"] {
        transform: translateY(20px) !important;
    }
    [data-aos="fade-left"].aos-animate,
    [data-aos="fade-right"].aos-animate {
        transform: translateY(0) !important;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .brand-text {
        font-size: 0.9rem;
    }

    .brand-sub {
        font-size: 0.65rem;
    }

    .feature-item {
        flex-direction: column;
        gap: 0.25rem;
        font-size: 0.8rem;
    }

    .feature-item i {
        font-size: 1.25rem;
    }

    .bg-cta-center h2 {
        font-size: 1.5rem;
    }
}
