/*-- -------------------------- -->
<---   CSS Variable Override    -->
<---   Add to your root.css:    -->
<---   --primary: #0277BD;      -->
<---   --primaryDark: #01579B;  -->
<---   --secondary: #1E90FF;    -->
<--- -------------------------- -*/

/*-- -------------------------- -->
<---        Hero                -->
<--- -------------------------- -*/

@media only screen and (min-width: 0rem) {
    #hero {
        position: relative;
        min-height: 65vh;
        display: flex;
        align-items: center;
        color: #fff;
        overflow: hidden;
    }

    .hero-bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        z-index: 0;
    }

    .hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(
            135deg,
            rgba(5, 30, 45, 0.80) 0%,
            rgba(5, 30, 45, 0.65) 50%,
            rgba(5, 30, 45, 0.45) 100%
        );
        z-index: 1;
    }

    .hero-container {
        position: relative;
        z-index: 2;
        max-width: 80rem;
        margin: 0 auto;
        padding: 0 1rem;
        padding-top: 5rem;
    }

    .hero-eyebrow {
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--secondary);
        margin-bottom: 1rem;
    }

    #hero h1 {
        font-size: 4rem;
        font-weight: 900;
        line-height: 1.15;
        margin-bottom: 1.25rem;
        text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    }

    .hero-sub {
        font-size: 1.25rem;
        max-width: 34rem;
        color: rgba(255, 255, 255, 0.90);
        line-height: 1.7;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
    }

    .btn-primary {
        display: inline-block;
        background-color: var(--primary);
        color: #fff;
        padding: 0.85rem 2rem;
        border-radius: 4px;
        font-weight: 700;
        font-size: 1rem;
        transition: background-color 0.3s, transform 0.2s;
        border: none;
        cursor: pointer;
        text-decoration: none;
    }

    .btn-primary:hover {
        background-color: #01579B;
        transform: translateY(-2px);
    }

    .boat-card-body .btn-primary {
        display: block;
        text-align: center;
    }

    .btn-outline {
        display: inline-block;
        background: transparent;
        color: #fff;
        padding: 0.85rem 2rem;
        border-radius: 4px;
        font-weight: 700;
        font-size: 1rem;
        border: 2px solid rgba(255, 255, 255, 0.6);
        transition: all 0.3s;
        text-decoration: none;
    }

    .btn-outline:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: #fff;
    }
}

@media only screen and (max-width: 63.9375rem) {
    #hero {
        min-height: 55vh;
    }

    #hero h1 {
        font-size: 3rem;
    }

    .hero-sub {
        font-size: 1.1rem;
    }
}

@media only screen and (max-width: 40rem) {
    #hero {
        min-height: 50vh;
    }

    #hero h1 {
        font-size: 2.2rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .section-desc,
    .about-text p,
    .boat-stats-list li,
    .dest-card-body p,
    .contact-details li a,
    .contact-details li span {
        font-size: 1rem;
    }
}

/*-- -------------------------- -->
<---       Shared Section       -->
<--- -------------------------- -*/

@media only screen and (min-width: 0rem) {
    .section-desc {
        color: var(--bodyTextColor);
        max-width: 50rem;
        margin: 0.75rem auto 0;
        font-size: var(--bodyFontSize);
        line-height: 1.6;
        text-align: center;
    }
}

/*-- -------------------------- -->
<---         About              -->
<--- -------------------------- -*/

@media only screen and (min-width: 0rem) {
    #about {
        padding: 4rem 1rem;
        background-color: #fff;
        border-bottom: 1px solid #eee;
    }

    .about-container {
        max-width: 80rem;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }

    .about-text h2 {
        margin-bottom: 1.25rem;
        color: var(--headerColor);
        font-size: 1.7rem;
    }

    .about-text p {
        color: var(--bodyTextColor);
        line-height: 1.8;
        font-size: var(--bodyFontSize);
        margin-bottom: 1rem;
    }

    .about-text p:last-child {
        margin-bottom: 0;
    }

    .about-text strong {
        color: var(--headerColor);
    }

    .about-image {
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    }

    .about-image img {
        width: 100%;
        height: 22rem;
        object-fit: cover;
        display: block;
    }
}

@media only screen and (max-width: 63.9375rem) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        height: 16rem;
    }
}

/*-- -------------------------- -->
<---         Boats              -->
<--- -------------------------- -*/

@media only screen and (min-width: 0rem) {
    #boats {
        padding: 4rem 1rem;
        background-color: #f9f9f9;
    }

    .boats-container {
        max-width: 80rem;
        margin: 0 auto;
        text-align: center;
    }

    .boats-container h2 {
        margin-bottom: 0.75rem;
        font-size: 1.9rem;
    }

    .boats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-top: 2.5rem;
        text-align: left;
    }

    .boat-card {
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
        background-color: #fff;
        border: 1px solid #e8e8e8;
        display: flex;
        flex-direction: column;
    }

    .boat-img-wrap {
        position: relative;
    }

    .boat-card-img {
        width: 100%;
        height: 240px;
        object-fit: cover;
        display: block;
    }

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

    .boat-name {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--headerColor);
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .boat-stats-list {
        list-style: none;
        padding: 0;
        margin-bottom: 1.5rem;
        display: flex;
        flex-direction: column;
        border-top: 1px solid #eee;
    }

    .boat-card-body .btn-primary {
        display: block;
        text-align: center;
        margin-top: auto;
    }

    .boat-stats-list li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: var(--bodyFontSize);
        color: var(--bodyTextColor);
        padding: 0.65rem 0;
        border-bottom: 1px solid #eee;
    }

    .stat-label {
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--bodyTextColor);
    }
}

@media only screen and (max-width: 63.9375rem) {
    .boats-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media only screen and (max-width: 40rem) {
    .boats-grid {
        grid-template-columns: 1fr;
        max-width: 37.5rem;
    }
}

/*-- -------------------------- -->
<---      Destinations          -->
<--- -------------------------- -*/

@media only screen and (min-width: 0rem) {
    #destinations {
        padding: 4rem 1rem;
        background-color: #fff;
    }

    .destinations-container {
        max-width: 80rem;
        margin: 0 auto;
        text-align: center;
    }

    .destinations-container h2 {
        margin-bottom: 0.75rem;
        font-size: 1.9rem;
    }

    .destinations-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
        margin-top: 2.5rem;
        text-align: left;
    }

    .dest-card {
        display: block;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
        background-color: #fff;
        text-decoration: none;
        color: inherit;
        transition: transform 0.3s, box-shadow 0.3s;
        border: 1px solid #eee;
    }

    .dest-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    }

    .dest-card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        display: block;
        transition: transform 0.5s;
    }

    .dest-card:hover img {
        transform: scale(1.04);
    }

    .dest-card-body {
        padding: 1rem;
        background-color: #fff;
    }

    .dest-card-body h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
        color: var(--headerColor);
    }

    .dest-card-body p {
        font-size: var(--bodyFontSize);
        color: var(--bodyTextColor);
        line-height: 1.6;
    }
}

@media only screen and (max-width: 63.9375rem) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 40rem) {
    .destinations-grid {
        grid-template-columns: 1fr;
    }

    .dest-card img {
        height: 200px;
    }
}

/*-- -------------------------- -->
<---        Contact             -->
<--- -------------------------- -*/

@media only screen and (min-width: 0rem) {
    #contact {
        padding: 4rem 1rem;
        background-color: #f9f9f9;
    }

    .contact-container {
        max-width: 80rem;
        margin: 0 auto;
        text-align: center;
    }

    .contact-container h2 {
        margin-bottom: 0.75rem;
        font-size: 1.9rem;
    }

    .contact-wrap {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 3rem;
        margin-top: 2.5rem;
        text-align: left;
    }

    .contact-info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
        color: var(--headerColor);
    }

    .contact-info > p {
        color: var(--bodyTextColor);
        line-height: 1.7;
        margin-bottom: 1.5rem;
        font-size: var(--bodyFontSize);
    }

    .contact-details {
        list-style: none;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .contact-details li {
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }

    .contact-details li strong {
        font-size: 0.78rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--bodyTextColor);
    }

    .contact-details li a,
    .contact-details li span {
        color: var(--headerColor);
        font-size: var(--bodyFontSize);
        font-weight: 500;
        text-decoration: none;
    }

    .contact-details li a:hover {
        color: var(--primary);
    }

    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        background-color: #fff;
        padding: 2rem;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
    }

    .form-group label {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--headerColor);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem 1rem;
        border: 1.5px solid #ddd;
        border-radius: 4px;
        font-family: var(--bodyFontFamily);
        font-size: 0.95rem;
        color: var(--headerColor);
        background-color: #fff;
        transition: border-color 0.3s;
        outline: none;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        border-color: var(--primary);
    }

    .contact-form .btn-primary {
        align-self: flex-start;
        padding: 0.85rem 2.5rem;
    }
}

@media only screen and (max-width: 63.9375rem) {
    .contact-wrap {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media only screen and (max-width: 40rem) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form .btn-primary {
        width: 100%;
        text-align: center;
    }
}