: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;
    --cph-red: #C8102E;
    --cph-blue: #0C4DA2;
}

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

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

/* TOC */
.toc { background: var(--white); border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); padding: 1.5rem; margin-bottom: 2rem; }
.toc h2 { font-size: 1.2rem; margin-bottom: 1rem; color: var(--primary); }
.toc ol { padding-left: 1.2rem; margin: 0; }
.toc li { margin-bottom: 0.4rem; }
.toc a { color: var(--primary); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* Hero */
.hero {
    background: linear-gradient(135deg, rgba(0,93,138,0.9) 0%, rgba(12,77,162,0.9) 100%), url('/images/copenhagen-nyhavn.webp');
    background-size: cover; background-position: center;
    color: var(--white); padding: 5rem 0; margin-bottom: 3rem; position: relative;
}
.hero-content { max-width: 700px; }
.hero h1 { font-weight: 800; font-size: 2.8rem; margin-bottom: 1rem; line-height: 1.2; }
.hero p { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.95; }

/* Badge */
.copenhagen-card-badge {
    position: absolute; top: 0; right: 5%; transform: translateY(-30%);
    background-color: var(--white); border-radius: 50%; width: 140px; height: 140px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2); z-index: 2; border: 4px solid var(--cph-red);
}
.copenhagen-card-badge-inner {
    width: 120px; height: 120px; border-radius: 50%;
    background: linear-gradient(45deg, var(--cph-red), var(--cph-blue));
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; text-align: center; color: var(--white); line-height: 1.2;
}
.copenhagen-card-badge-inner .badge-title { font-weight: bold; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 0.2rem; }
.copenhagen-card-badge-inner .badge-text { font-weight: 800; font-size: 1.3rem; }

/* Booking Box */
.booking-box {
    background-color: var(--white); border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); padding: 2rem;
    position: relative; z-index: 2; margin-top: -2rem; margin-bottom: 2rem;
}

/* Benefits */
.benefits { padding: 4rem 0; }
.benefit-card {
    background-color: var(--white); padding: 1.5rem; border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.benefit-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }

/* Attraction Cards */
.attraction-card {
    background-color: var(--white); border-radius: 12px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; position: relative;
}
.attraction-card:hover { transform: translateY(-7px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
.attraction-img { height: 200px; background-size: cover; background-position: center; position: relative; }
.attraction-price {
    position: absolute; top: 12px; right: 12px; background-color: var(--cph-red);
    color: var(--white); padding: 0.3rem 0.7rem; border-radius: 20px;
    font-weight: bold; font-size: 0.85rem;
}
.attraction-content { padding: 1.5rem; }
.attraction-title { font-weight: 700; margin-bottom: 0.5rem; font-size: 1.25rem; }
.attraction-address { color: var(--gray); font-size: 0.85rem; margin-bottom: 1rem; display: flex; align-items: center; }
.attraction-address i { margin-right: 0.3rem; }
.attraction-included { color: var(--success); font-weight: 600; display: flex; align-items: center; margin-top: 1rem; }
.attraction-included i { margin-right: 0.3rem; }

/* Pricing */
.pricing-table {
    border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease; height: 100%; background-color: var(--white);
}
.pricing-table:hover { transform: translateY(-5px); }
.pricing-header {
    padding: 1.5rem; text-align: center;
    background: linear-gradient(45deg, var(--cph-red), var(--cph-blue)); color: var(--white);
}
.pricing-header h3 { font-weight: 700; margin-bottom: 0.5rem; }
.pricing-features { padding: 1.5rem; }
.pricing-features ul { list-style: none; padding: 0; margin: 0; }
.pricing-features li { padding: 0.5rem 0; display: flex; align-items: center; }
.pricing-features i { color: var(--success); margin-right: 0.5rem; }
.pricing-price { font-size: 2rem; font-weight: 700; margin: 1rem 0; text-align: center; color: var(--primary-dark); }
.pricing-price-small { font-size: 1rem; font-weight: 400; color: var(--gray); }
.pricing-btn {
    display: block; width: 100%; padding: 0.75rem; text-align: center;
    background-color: var(--secondary); color: var(--dark); text-decoration: none;
    border-radius: 6px; font-weight: 600; transition: all 0.3s ease;
}
.pricing-btn:hover { background-color: var(--secondary-dark); transform: translateY(-2px); }
.pricing-badge {
    position: absolute; top: 10px; right: 10px; background-color: var(--cph-red);
    color: var(--white); padding: 0.3rem 0.7rem; border-radius: 20px;
    font-weight: bold; font-size: 0.85rem; z-index: 1;
}

/* Steps */
.step-card {
    background-color: var(--white); padding: 1.5rem; border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-bottom: 1.5rem;
    position: relative; padding-left: 4rem;
}
.step-number {
    position: absolute; left: 1rem; top: 1.5rem; width: 2.5rem; height: 2.5rem;
    background-color: var(--primary); color: var(--white); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.25rem;
}

/* Transport */
.transport-card {
    background-color: var(--white); padding: 1.5rem; border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-bottom: 1.5rem;
    height: 100%; display: flex; flex-direction: column;
}
.transport-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; text-align: center; }
.transport-title { font-weight: 700; margin-bottom: 0.5rem; text-align: center; }
.transport-content { flex: 1; }

/* Savings */
.savings-example {
    background-color: var(--white); border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); overflow: hidden; margin-bottom: 2rem;
}
.savings-header {
    background: linear-gradient(45deg, var(--cph-red), var(--cph-blue));
    color: var(--white); padding: 1.5rem; text-align: center;
}
.savings-content { padding: 2rem; }
.savings-total {
    font-size: 2rem; font-weight: 700; color: var(--success);
    text-align: center; margin-top: 1.5rem; padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
}

/* Card Highlight */
.cph-card-highlight {
    position: relative; background-color: var(--white); border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); overflow: hidden; margin-bottom: 2rem;
}
.cph-card-highlight-header {
    background: linear-gradient(45deg, var(--cph-red), var(--cph-blue));
    color: var(--white); padding: 1.5rem; text-align: center;
}
.cph-card-highlight-content { padding: 2rem; }
.cph-card-badge {
    display: inline-flex; align-items: center; background-color: var(--light-gray);
    padding: 0.5rem 1rem; border-radius: 30px; margin: 0.5rem; font-weight: 500;
}
.cph-card-badge i { margin-right: 0.5rem; color: var(--primary); }

/* Card type comparison */
.card-type-box {
    border: 2px solid var(--light-gray); border-radius: 12px;
    padding: 1.5rem; height: 100%; transition: border-color 0.3s ease;
}
.card-type-box:hover { border-color: var(--primary); }
.card-type-box.recommended { border-color: var(--cph-red); }

/* FAQ */
.faq-section { background-color: var(--light-gray); padding: 4rem 0; margin: 3rem 0; }
.accordion-item {
    background-color: var(--white); border: none; margin-bottom: 1rem;
    border-radius: 8px; overflow: hidden;
}
.accordion-button { padding: 1.25rem; font-weight: 600; background-color: var(--white); box-shadow: none; }
.accordion-button:not(.collapsed) { color: var(--primary); background-color: rgba(0,93,138,0.05); }
.accordion-button:focus { box-shadow: none; border-color: rgba(0,93,138,0.25); }
.accordion-body { padding: 1.25rem; background-color: var(--white); }

/* CTA Buttons */
.btn-primary {
    background-color: var(--primary); border-color: var(--primary); color: var(--white);
    padding: 0.75rem 1.5rem; font-weight: 600; border-radius: 6px; transition: all 0.2s ease;
}
.btn-primary:hover {
    background-color: var(--primary-dark); border-color: var(--primary-dark);
    transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
.btn-secondary {
    background-color: var(--secondary); border-color: var(--secondary); color: var(--dark);
    padding: 0.75rem 1.5rem; font-weight: 600; border-radius: 6px; transition: all 0.2s ease;
}
.btn-secondary:hover {
    background-color: var(--secondary-dark); border-color: var(--secondary-dark);
    transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Footer */
.site-footer { background-color: var(--primary); color: var(--white); padding: 4rem 0 2rem; }
.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;
}

/* Back to Top & Sticky CTA */
.back-to-top {
    position: fixed; bottom: 2rem; right: 2rem; width: 3rem; height: 3rem;
    border-radius: 50%; background-color: var(--primary); color: var(--white);
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
    text-decoration: none; opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000; box-shadow: 0 5px 15px rgba(0,0,0,0.2); border: none; cursor: pointer;
}
.back-to-top.show { opacity: 1; }
.back-to-top:hover { transform: translateY(-5px); color: var(--white); }

.sticky-cta {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background-color: var(--white); padding: 1rem;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1); z-index: 999;
    display: flex; justify-content: center;
    transform: translateY(100%); transition: transform 0.3s ease;
}
.sticky-cta.show { transform: translateY(0); }

/* Image credits */
.img-credit { font-size: 0.7rem; color: var(--gray); margin-top: 0.25rem; }
.img-credit a { color: var(--gray); }

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

/* 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; }
@media (forced-colors: active) {
    .btn:focus, .form-control:focus, a:focus { outline: 3px solid SelectedItem; }
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 2rem; }
    .copenhagen-card-badge { width: 120px; height: 120px; right: 3%; }
    .copenhagen-card-badge-inner { width: 100px; height: 100px; }
    .copenhagen-card-badge-inner .badge-text { font-size: 1.1rem; }
    .booking-box { margin-top: 2rem; }
}
@media (max-width: 768px) {
    .hero { padding: 3rem 0; }
    .hero h1 { font-size: 1.8rem; }
    .copenhagen-card-badge { position: relative; margin: 0 auto 1.5rem; transform: none; right: auto; }
    .hero-content { text-align: center; margin: 0 auto; }
    .benefit-card { margin-bottom: 1.5rem; }
    #map { height: 300px; }
}
@media (max-width: 576px) {
    .hero { padding: 2rem 0; }
    .hero h1 { font-size: 1.5rem; }
    .booking-box { padding: 1.5rem; }
    .btn-primary, .btn-secondary { width: 100%; margin-bottom: 0.5rem; }
}
