/* coolcation-skandinavien.css – Externalized styles */
: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;
    --cool-blue: #E3F2FD;
}

* { box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.7;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

/* Modern Header */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1030;
}
.site-header .navbar-brand {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.25rem;
}
.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);
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0,93,138,0.92) 0%, rgba(29,53,87,0.92) 100%),
                url('/images/marielyst-strand-daenemark.webp');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 5rem 0 4rem;
    margin-bottom: 3rem;
    position: relative;
    text-align: center;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 70%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}
.hero h1 {
    font-weight: 800;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    opacity: 0.95;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.stat-item {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    min-width: 140px;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Temperature Comparison Card */
.temp-comparison {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin: -3rem auto 3rem;
    max-width: 1100px;
    position: relative;
    z-index: 10;
}
.temp-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}
.temp-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}
.temp-card:hover { transform: translateY(-5px); }
.temp-card.hot {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF4757 100%);
    color: white;
}
.temp-card.cool {
    background: linear-gradient(135deg, #48C9B0 0%, #3498DB 100%);
    color: white;
}
.temp-icon { font-size: 3rem; margin-bottom: 1rem; }
.temp-value { font-size: 3rem; font-weight: 800; margin-bottom: 0.5rem; }
.temp-location { font-size: 1.1rem; font-weight: 600; opacity: 0.95; }
.temp-desc { font-size: 0.9rem; margin-top: 1rem; opacity: 0.9; }
.vs-divider { font-size: 2rem; font-weight: 800; color: var(--gray); }

/* Booking Box */
.booking-box {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.booking-box h3 { color: var(--dark); margin-bottom: 1rem; font-size: 1.5rem; }
.booking-box p { color: var(--dark); margin-bottom: 1.5rem; font-size: 1.1rem; }

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border-color: var(--primary);
}
.benefit-icon { font-size: 3rem; margin-bottom: 1rem; display: block; }
.benefit-card h3 { color: var(--primary); font-size: 1.3rem; margin-bottom: 1rem; font-weight: 700; }
.benefit-card p { color: var(--gray); line-height: 1.7; margin: 0; }

/* Content Sections */
.content-section {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}
.content-section h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 1rem;
}
.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}
.content-section h3 {
    color: var(--primary-dark);
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.content-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #444;
}
.content-section strong { color: var(--dark); font-weight: 600; }

/* Images */
.img-feature {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    margin: 2rem 0;
}

/* Destination Cards */
.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.destination-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.destination-img { width: 100%; height: 220px; object-fit: cover; }
.destination-content { padding: 1.5rem; }
.destination-card h3 { color: var(--primary); font-size: 1.4rem; margin-bottom: 1rem; font-weight: 700; }
.destination-temp {
    display: inline-block;
    background: var(--cool-blue);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, var(--cool-blue) 0%, #E8F5E9 100%);
    border-left: 5px solid var(--primary);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}
.highlight-box h3 { color: var(--primary); margin-bottom: 1rem; }

/* Budget Table */
.budget-table {
    width: 100%;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin: 2rem 0;
}
.budget-table th {
    background: var(--primary);
    color: var(--white);
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
}
.budget-table td {
    padding: 1.2rem;
    border-bottom: 1px solid var(--light-gray);
}
.budget-table tr:last-child td { border-bottom: none; }
.budget-table tr:hover { background: rgba(0,93,138,0.03); }

/* CTA Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: var(--white);
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0,93,138,0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,93,138,0.4);
    color: var(--white);
    text-decoration: none;
}
.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border: none;
    color: var(--dark);
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(255,193,7,0.3);
}
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,193,7,0.4);
    color: var(--dark);
    text-decoration: none;
}

/* FAQ Accordion */
.faq-section {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}
.faq-item {
    border-bottom: 1px solid var(--light-gray);
    padding: 1.5rem 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-question { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.faq-answer { color: var(--gray); line-height: 1.7; }

/* TOC */
.toc {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}
.toc h2 { color: var(--primary); font-size: 1.4rem; margin-bottom: 1rem; font-weight: 700; }
.toc ol { padding-left: 1.2rem; margin: 0; }
.toc li { margin-bottom: 0.5rem; }
.toc a { color: var(--primary); text-decoration: none; font-weight: 500; }
.toc a:hover { text-decoration: underline; }

/* Image credits */
.img-credit {
    font-size: 0.75rem;
    color: #999;
    text-align: right;
    margin-top: -1.5rem;
    margin-bottom: 1.5rem;
}
.img-credit a { color: #999; }

/* Sticky Booking Button */
.sticky-booking {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Footer */
.site-footer {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}
.footer-links h5 { font-weight: 700; margin-bottom: 1.5rem; font-size: 1.2rem; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .temp-grid { grid-template-columns: 1fr; gap: 1rem; }
    .vs-divider { transform: rotate(90deg); }
    .content-section { padding: 2rem 1.5rem; }
    .content-section h2 { font-size: 1.8rem; }
}
@media (max-width: 768px) {
    .hero { padding: 3rem 0 2rem; }
    .hero h1 { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-stats { gap: 1rem; }
    .stat-item { min-width: 120px; padding: 1rem; }
    .stat-number { font-size: 2rem; }
    .temp-comparison { padding: 1.5rem; margin: -2rem 1rem 2rem; }
    .benefits-grid { grid-template-columns: 1fr; }
    .destination-grid { grid-template-columns: 1fr; }
    .sticky-booking { bottom: 1rem; right: 1rem; }
    .btn-primary, .btn-secondary { padding: 0.875rem 1.5rem; font-size: 1rem; }
}

/* Accessibility */
:focus { outline: 3px solid rgba(0,93,138,0.5); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}

/* Print */
@media print {
    .site-header, .sticky-booking, .site-footer, .toc { display: none; }
    .content-section { box-shadow: none; border: 1px solid #ddd; }
}
