:root {
    --primary: #005D8A;
    --primary-dark: #00456B;
    --secondary: #FFC107;
    --secondary-dark: #E6AD00;
    --light: #F8F9FA;
    --dark: #212529;
    --gray: #6C757D;
    --light-gray: #E9ECEF;
    --white: #FFFFFF;
    --success: #28A745;
    --blue-accent: #0074D9;
    --warning: #FF9800;
    --danger: #DC3545;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
}

/* Modern Header */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.site-header .navbar-brand {
    font-weight: 700;
    color: var(--primary);
}

.site-header .nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.site-header .nav-link:hover {
    background-color: var(--light-gray);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0,93,138,0.85) 0%, rgba(29,53,87,0.85) 100%),
                url('/images/scandlines-faehre-exterior.webp') center/cover no-repeat;
    color: var(--white);
    padding: 4rem 0;
    margin-bottom: 3rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin: 1.5rem 0 1rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--secondary);
    color: var(--dark);
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover,
.btn-hero-primary:focus {
    background-color: var(--secondary-dark);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    text-decoration: none;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.8);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus {
    background-color: rgba(255,255,255,0.15);
    color: var(--white);
    text-decoration: none;
}

.hero-sub {
    font-size: 0.95rem;
    opacity: 0.92;
    margin-top: 0.5rem;
}

/* TOC Box */
.toc-box {
    background-color: var(--light);
    border: 1px solid var(--light-gray);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.toc-box h2 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.toc-box ol {
    margin-bottom: 0;
    padding-left: 1.2rem;
}

.toc-box li {
    margin-bottom: 0.4rem;
}

.toc-box a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.toc-box a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Content Sections */
.content-section {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 2rem;
    margin-bottom: 2rem;
}

.content-section h2 {
    color: var(--primary);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.content-section h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Sticky Booking Button */
.booking-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--secondary);
    color: var(--dark);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 1000;
    border: none;
    transition: all 0.3s ease;
}

.booking-button:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: var(--dark);
    text-decoration: none;
}

/* Table Styling */
.table-container {
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.price-table th {
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem;
    text-align: left;
}

.price-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tr:hover {
    background-color: rgba(0,93,138,0.05);
}

/* Info Box */
.info-box {
    background-color: #e8f4fd;
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.info-box p {
    margin-bottom: 0;
}

.tip-box {
    background-color: #fff8e1;
    border-left: 4px solid var(--secondary);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.tip-box p {
    margin-bottom: 0;
}

/* FAQ Styling */
.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-question {
    background-color: var(--light);
    padding: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0,93,138,0.05);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-answer.active {
    padding: 1.25rem;
    max-height: 1000px;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

/* Podcast Section */
.podcast-section {
    background-color: var(--light);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary);
}

.podcast-button {
    background-color: var(--success);
    color: var(--white);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-decoration: none;
    border: none;
}

.podcast-button:hover {
    background-color: #218838;
    transform: translateY(-2px);
    color: var(--white);
}

/* Image Styling */
.img-feature {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 1.5rem 0;
}

.image-credit {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: -1rem;
    margin-bottom: 1rem;
}

/* Map */
#map {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 1.5rem 0;
}

/* Footer */
.site-footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.site-footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-links h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* Modal Styling */
.modal-content {
    border-radius: 8px;
    overflow: hidden;
}

.modal-header {
    background-color: var(--primary);
    color: var(--white);
}

.modal-title {
    font-weight: 600;
}

.modal-body {
    padding: 1.5rem;
}

.btn-close {
    color: var(--white);
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 2rem; }
    .content-section { padding: 1.5rem; }
}

@media (max-width: 768px) {
    .hero { padding: 3rem 0; }
    .hero h1 { font-size: 1.8rem; }
    .booking-button {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    .faq-question { padding: 1rem; font-size: 1rem; }
}

@media (max-width: 576px) {
    .hero { padding: 2rem 0; }
    .hero h1 { font-size: 1.5rem; }
    .content-section { padding: 1.25rem; }
    .booking-button {
        bottom: 1rem;
        right: 1rem;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus {
    outline: 3px solid rgba(0,93,138,0.5);
    outline-offset: 2px;
}

.btn:focus,
.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(0,93,138,0.25);
}

@media (forced-colors: active) {
    .btn:focus,
    .form-control:focus,
    a:focus {
        outline: 3px solid SelectedItem;
    }
}
