:root {
    --sand: #F4E3C1;
    --coral: #FF6F61;
    --turquoise: #1ABCD9;
    --navy: #002B45;
    --white: #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 43, 69, 0.9);
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Chewy', cursive;
    color: var(--white);
    font-size: 28px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--coral);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(255, 111, 97, 0.7), rgba(255, 111, 97, 0.7)), url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-family: 'Chewy', cursive;
    font-size: 64px;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--coral);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Service Sections */
.service-section {
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.bread {
    background-color: var(--sand);
}

.punch {
    background-color: var(--coral);
    color: var(--white);
}

.social {
    background-color: var(--turquoise);
    color: var(--white);
}

.service-content {
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-icon {
    flex: 0 0 150px;
    margin-right: 40px;
}

.service-icon img {
    width: 100%;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.service-icon img:hover {
    transform: rotate(5deg);
}

.service-text {
    flex: 1;
}

.service-text h2 {
    font-family: 'Chewy', cursive;
    font-size: 36px;
    margin-bottom: 20px;
}

.tagline, .warning, .motto {
    font-style: italic;
    font-weight: 600;
    margin-top: 20px;
}

.warning {
    font-size: 14px;
    opacity: 0.8;
}

/* Crew Section */
.crew-section {
    padding: 100px 0;
    background-color: rgba(0, 43, 69, 0.8);
    color: var(--white);
    text-align: center;
}

.crew-section h2 {
    font-family: 'Chewy', cursive;
    font-size: 36px;
    margin-bottom: 50px;
}

.crew-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.crew-card {
    flex: 0 0 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease;
}

.crew-card:hover {
    transform: translateY(-10px);
}

.crew-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--coral);
}

.crew-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crew-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Route Section */
.route-section {
    padding: 100px 0;
    background-color: var(--sand);
    text-align: center;
}

.route-section h2 {
    font-family: 'Chewy', cursive;
    font-size: 36px;
    margin-bottom: 50px;
}

.route-map {
    max-width: 800px;
    margin: 0 auto;
}

#map-svg-container {
    width: 100%;
    height: 400px;
}

/* Footer */
footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

footer p {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    color: var(--coral);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--turquoise);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(0, 43, 69, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 18px;
    }

    .service-content {
        flex-direction: column;
    }

    .service-icon {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .service-section {
        padding: 70px 0;
    }
}

/* Animation for route map pins */
.map-pin {
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.map-pin.visible {
    opacity: 1;
    transform: scale(1);
}

/* Parallax effect */
.service-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
