/* Cruise page specific styles */

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

/* Navigation overrides */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar.scrolled {
    background-color: var(--white);
    position: fixed;
    box-shadow: var(--shadow);
}

.navbar.scrolled .nav-links a {
    color: var(--text);
}

.navbar.scrolled .nav-links .cta-button {
    color: var(--white);
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0.5rem;
}

.nav-links .dropdown-content {
    background: rgba(255, 255, 255, 0.95);
}

.nav-links .dropdown-content a {
    color: var(--text);
}

.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/shore_tours.jpeg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Mobile menu button */
.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 20px;
}

.mobile-menu-button span {
    width: 30px;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.scrolled .mobile-menu-button span {
    background-color: var(--text);
}

@media (max-width: 768px) {
    .mobile-menu-button {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        color: var(--text);
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-links .dropdown {
        width: 100%;
    }

    .nav-links .dropdown-content {
        position: static;
        box-shadow: none;
        padding-left: 20px;
    }

    .nav-links .cta-button {
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }
}

/* Cruise Schedule Section */
.cruise-schedule {
    background-color: var(--light-bg);
}

.schedule-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary);
    border-radius: var(--border-radius);
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.cruise-calendar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cruise-entry {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow);
}

/* Packages Section */
.cruise-packages {
    padding: 5rem 0;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.package-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.package-card:hover {
    transform: translateY(-5px);
}

.package-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.time-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.package-content {
    padding: 1.5rem;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.package-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.price {
    display: flex;
    flex-direction: column;
}

.amount {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.per-person {
    font-size: 0.9rem;
    color: #666;
}

.book-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(10, 77, 104, 0.3);
}

/* Group Rates Section */
.group-rates {
    padding: 5rem 0;
    background: #f8f9fa;
}

.rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.rate-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.rate-card:hover {
    transform: translateY(-5px);
}

.rate-header i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.discount {
    background: linear-gradient(135deg, #ff6b35, #ff8c65);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin: 1rem 0;
    font-weight: 600;
}

.rate-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
}

.rate-features li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.rate-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Availability Section */
.real-time-availability {
    padding: 5rem 0;
}

.availability-calendar {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    padding: 20px;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 5px;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s;
}

.calendar-day:hover {
    transform: scale(1.05);
}

.calendar-day.empty {
    background: #f5f5f5;
    cursor: default;
}

.calendar-day .date-number {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 14px;
}

.cruise-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.calendar-day.high-availability {
    background: #e8f5e9;
}

.calendar-day.low-availability {
    background: #fff3e0;
}

.cruise-details {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin-top: 20px;
    padding: 20px;
    position: relative;
}

.details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.close-details {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0 5px;
}

.cruise-detail-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cruise-detail-item:last-child {
    border-bottom: none;
}

.cruise-detail-item h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.availability-info {
    margin-top: 10px;
    color: #666;
}

.availability-number {
    font-weight: bold;
    color: #007bff;
    margin-right: 5px;
}

/* Footer Styles */
.footer {
    background: #0B2B4E;
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-section nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-section nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section nav a:hover {
    color: #ffd700;
}

.social-links {
    margin-top: 1.5rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ffd700;
}

.footer-section p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section i {
    width: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .cruise-entry {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .filter-btn {
        width: 100%;
    }

    .calendar-day {
        font-size: 12px;
    }
    
    .cruise-indicator {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }
}
