:root {
    --primary: #005D8A;
    --primary-dark: #00456B;
    --secondary: #FFC107;
    --secondary-dark: #E6AD00;
    --accent: #FF5722;
    --accent-dark: #E64A19;
    --light: #F8F9FA;
    --dark: #212529;
    --gray: #6C757D;
    --light-gray: #E9ECEF;
    --white: #FFFFFF;
    --success: #28A745;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.2);
}

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

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

/* Navigation */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.5rem;
}

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

.nav-link:hover {
    background-color: var(--light-gray);
    transform: translateY(-1px);
}

.cta-button {
    background: var(--gradient);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

/* Hero */
.hero {
    background: linear-gradient(rgba(0,93,138,0.8), rgba(0,93,138,0.8)),
                url('/images/nyhavn-kopenhagen.webp') center/cover;
    color: var(--white);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 120px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="%23f8f9fa" d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.film-reel {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    overflow: hidden;
    padding: 1rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.film-frame {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* TOC */
.toc-section {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.toc-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
}

.toc-list li {
    margin-bottom: 0.5rem;
}

.toc-list a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
}

.toc-list a:hover {
    text-decoration: underline;
}

/* Map Section */
.map-section {
    background-color: var(--white);
    padding: 4rem 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.interactive-map {
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.map-legend-box {
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.map-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.legend-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Location Cards */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.location-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.location-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.film-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: var(--dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.location-img-wrap {
    position: relative;
    overflow: hidden;
}

.location-content {
    padding: 1.5rem;
}

.location-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.location-scene {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.location-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-details li {
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

/* Timeline */
.timeline-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%);
}

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.timeline-dot {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 5;
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Info Section */
.info-section {
    background-color: var(--light);
    padding: 4rem 0;
}

.info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.info-card h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

/* Booking Section */
.booking-section {
    background: var(--gradient);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.booking-box {
    background: rgba(255,255,255,0.95);
    color: var(--dark);
    border-radius: 12px;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 5;
}

.price-highlight {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin: 1rem 0;
}

/* FAQ */
.faq-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.faq-item {
    border-bottom: 1px solid var(--light-gray);
    padding: 1.5rem 0;
}

.faq-item summary {
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--primary-dark);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    margin-top: 1rem;
    color: var(--gray);
    line-height: 1.8;
}

/* Related Links */
.related-section {
    background-color: var(--light);
    padding: 4rem 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-link {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
}

.related-link:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    color: var(--primary);
}

.related-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

/* Image Credits */
.img-credit {
    font-size: 0.7rem;
    color: var(--gray);
    text-align: right;
    margin-top: 0.25rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

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

.footer-section li {
    margin-bottom: 0.75rem;
}

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

.footer-section a:hover {
    color: var(--secondary);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.5rem; }
    .timeline { flex-direction: column; gap: 2rem; }
    .timeline::before {
        left: 50%; top: 0; bottom: 0;
        width: 3px; height: 100%;
        transform: translateX(-50%);
    }
    .toc-list { columns: 1; }
}

@media (max-width: 768px) {
    .hero { padding: 4rem 0 3rem; }
    .hero h1 { font-size: 2rem; }
    .hero-lead { font-size: 1.1rem; }
    .interactive-map { height: 350px; }
    .location-grid { grid-template-columns: 1fr; }
    .booking-box { padding: 2rem; }
    .price-highlight { font-size: 2rem; }
}

@media (max-width: 375px) {
    .hero h1 { font-size: 1.75rem; }
    .cta-button { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
}

/* 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;
}
