/* Skandinavien Reisen - Main Stylesheet */

/* ===== CSS Variables ===== */
:root {
    --color-primary: #1a5f7a;
    --color-primary-dark: #0d3d52;
    --color-secondary: #57a773;
    --color-accent: #86c5d8;
    --color-aurora-green: #57c78f;
    --color-aurora-purple: #8b5cf6;
    --color-snow: #f8fafc;
    --color-ice: #e2e8f0;
    --color-night: #1e293b;
    --color-text: #334155;
    --color-text-light: #64748b;
    --font-heading: 'Georgia', serif;
    --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --max-width: 1200px;
    --border-radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-snow);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-night);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* ===== Header & Navigation ===== */
header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
}

.logo a:hover {
    text-decoration: none;
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: white;
    font-weight: 500;
    padding: 0.5rem;
}

.nav-links a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.lang-switch {
    color: white;
}

.lang-switch a {
    color: rgba(255, 255, 255, 0.7);
    padding: 0.25rem 0.5rem;
}

.lang-switch a.active,
.lang-switch a:hover {
    color: white;
    text-decoration: none;
}

/* ===== Main Content ===== */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
}

section {
    margin-bottom: 4rem;
}

/* ===== Hero Section ===== */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--color-night) 0%, var(--color-primary-dark) 50%, var(--color-aurora-green) 100%);
    color: white;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/aurora-overlay.png') center/cover;
    opacity: 0.1;
}

.hero h1 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 2rem;
    position: relative;
}

/* ===== Buttons ===== */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-secondary);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button:hover {
    background-color: white;
    color: var(--color-secondary);
    border-color: var(--color-secondary);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
}

.cta-button.secondary:hover {
    background-color: var(--color-secondary);
    color: white;
}

.read-more {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    margin-top: 1rem;
}

.read-more::after {
    content: ' →';
}

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

.destination-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.destination-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
}

.destination-card h3 a {
    color: var(--color-night);
}

.destination-card p {
    padding: 0 1.5rem;
    color: var(--color-text-light);
}

.destination-card ul {
    padding: 1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.destination-card ul li {
    background: var(--color-ice);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--color-text);
}

.destination-card .read-more {
    padding: 0 1.5rem 1.5rem;
    display: block;
}

/* ===== Highlights Grid ===== */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.highlight {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--color-secondary);
}

.highlight h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

/* ===== Season Table ===== */
.season-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.season-table th,
.season-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--color-ice);
}

.season-table th {
    background: var(--color-primary);
    color: white;
    font-weight: 600;
}

.season-table tr:hover {
    background: var(--color-snow);
}

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

/* ===== FAQ Section ===== */
.faq {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.faq h2 {
    margin-top: 0;
    margin-bottom: 2rem;
}

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

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.faq-item p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* ===== CTA Section ===== */
.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    border-radius: var(--border-radius);
}

.cta-section h2 {
    color: white;
    margin-top: 0;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .cta-button.primary {
    background: white;
    color: var(--color-primary);
}

.cta-section .cta-button.primary:hover {
    background: var(--color-night);
    color: white;
    border-color: var(--color-night);
}

.cta-section .cta-button.secondary {
    border-color: white;
    color: white;
}

.cta-section .cta-button.secondary:hover {
    background: white;
    color: var(--color-primary);
}

/* ===== Footer ===== */
footer {
    background: var(--color-night);
    color: white;
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.lang-switch-footer {
    margin-top: 0.5rem;
}

.lang-switch-footer a {
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Article Pages ===== */
.article-header {
    margin-bottom: 2rem;
}

.article-header h1 {
    margin-bottom: 0.5rem;
}

.article-meta {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.article-content {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.article-content h2 {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-ice);
}

.article-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.article-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-content ul li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    background: var(--color-snow);
    border-left: 4px solid var(--color-secondary);
    padding: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.breadcrumbs a {
    color: var(--color-text-light);
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs span {
    margin: 0 0.5rem;
}

/* ===== Info Box ===== */
.info-box {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.info-box h3 {
    color: white;
    margin-bottom: 1rem;
}

.info-box ul {
    list-style: none;
    margin: 0;
}

.info-box ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.info-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    nav {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        justify-content: center;
    }

    main {
        padding: 1rem;
    }

    .season-table {
        font-size: 0.9rem;
    }

    .season-table th,
    .season-table td {
        padding: 0.75rem;
    }

    .faq {
        padding: 1.5rem;
    }

    .article-content {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ===== Print Styles ===== */
@media print {
    header, footer, .cta-section, .cta-button {
        display: none;
    }

    body {
        font-size: 12pt;
        color: black;
    }

    a {
        color: black;
        text-decoration: underline;
    }

    .destination-card,
    .highlight,
    .faq,
    .article-content {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
