/* =====================================================
   Familiens Skiguide - PWA Stylesheet (Dark Theme)
   ===================================================== */

:root {
    /* Dark theme color palette */
    --bg-primary: #0f1419;
    --bg-secondary: #1a1f2e;
    --bg-tertiary: #242b3d;
    --bg-card: #1e2433;
    --bg-hover: #2a3246;

    --primary: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #1d4ed8;
    --accent: #06b6d4;
    --accent-light: #22d3ee;

    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --border-color: #334155;
    --border-light: #475569;

    /* Cabin dream colors */
    --cabin-primary: #1e1b4b;
    --cabin-accent: #8b5cf6;
    --cabin-glow: rgba(139, 92, 246, 0.4);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;

    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    color: var(--text-primary);
    padding: var(--space-sm) var(--space-md);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    text-align: center;
    margin-bottom: var(--space-sm);
}

.header h1 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 300;
    display: inline;
    margin-left: var(--space-xs);
}

.last-updated {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Navigation Tabs */
.nav-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
}

.nav-tab {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.nav-tab:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--border-light);
}

.nav-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Main Content */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-lg);
}

.section {
    display: none;
}

.section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* Resort Grid */
.resorts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

/* Resort Card */
.resort-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.resort-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--primary);
}

.resort-card.featured {
    border: 2px solid var(--primary);
}

.resort-header {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-color);
}

.resort-title h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--primary-light);
}

.resort-location {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    margin-top: var(--space-xs);
}

.resort-status {
    display: flex;
    align-items: center;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: pulse 2s infinite;
}

.status-indicator.open { background: var(--success); box-shadow: 0 0 10px var(--success); }
.status-indicator.partial { background: var(--warning); box-shadow: 0 0 10px var(--warning); }
.status-indicator.closed { background: var(--danger); }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Weather Display */
.resort-weather {
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.weather-loading {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    padding: var(--space-sm);
}

.weather-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-md);
    align-items: center;
}

.weather-temp {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-light);
}

.weather-temp.positive { color: var(--warning); }
.weather-temp.freezing { color: var(--primary-light); }

.weather-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.weather-icon {
    width: 64px;
    height: 64px;
    filter: brightness(1.2);
}

.weather-error {
    text-align: center;
    padding: var(--space-sm);
}

.weather-error a {
    color: var(--accent);
    text-decoration: none;
}

/* Resort Conditions */
.resort-conditions {
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-bottom: 1px solid var(--border-color);
}

.conditions-loading {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    padding: var(--space-sm);
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.condition-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-sm);
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
}

.condition-icon {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.condition-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.condition-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.conditions-note {
    margin-top: var(--space-sm);
    font-size: 0.8rem;
    color: var(--success);
    text-align: center;
    font-style: italic;
}

.conditions-fallback {
    text-align: center;
    padding: var(--space-sm);
}

.conditions-fallback a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.85rem;
}

.conditions-fallback a:hover {
    text-decoration: underline;
}

/* Webcam */
.resort-webcam {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}

.resort-webcam h3 {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.webcam-container {
    position: relative;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-tertiary);
}

.webcam-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.webcam-timestamp {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

.webcam-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
}

.webcam-error a {
    color: var(--accent);
    text-decoration: none;
    margin-top: var(--space-sm);
}

/* Resort Links */
.resort-links {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-secondary);
}

.btn {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.btn-primary:hover {
    background: var(--primary-light);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--border-light);
}

/* Comparison Table */
.comparison-section {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-lg);
    border: 1px solid var(--border-color);
}

.comparison-section h2 {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    color: var(--primary-light);
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.comparison-table th,
.comparison-table td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--bg-tertiary);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.comparison-table tr:hover {
    background: var(--bg-hover);
}

.comparison-table a {
    color: var(--accent);
    text-decoration: none;
}

.comparison-table a:hover {
    text-decoration: underline;
}

/* Attribution */
.attribution {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: var(--space-lg);
}

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

.attribution a:hover {
    text-decoration: underline;
}

/* =====================================================
   CABIN SECTION - Dreamy Dark Design
   ===================================================== */

.cabin-section {
    background: linear-gradient(180deg, var(--cabin-primary) 0%, #0c0a1d 100%);
    min-height: 100vh;
    margin: calc(-1 * var(--space-lg));
    padding: 0;
}

.cabin-hero {
    position: relative;
    height: 35vh;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}

.cabin-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.4) 100%);
}

/* Stars animation */
.stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 40px 70px, white, transparent),
        radial-gradient(1px 1px at 90px 40px, white, transparent),
        radial-gradient(2px 2px at 130px 80px, white, transparent),
        radial-gradient(1px 1px at 160px 20px, white, transparent),
        radial-gradient(2px 2px at 200px 60px, white, transparent),
        radial-gradient(1px 1px at 250px 90px, white, transparent),
        radial-gradient(2px 2px at 300px 30px, white, transparent),
        radial-gradient(1px 1px at 350px 70px, white, transparent),
        radial-gradient(2px 2px at 400px 50px, white, transparent);
    background-size: 450px 100px;
    animation: twinkle 5s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.3; }
}

.cabin-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.cabin-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    text-shadow: 0 0 40px var(--cabin-glow);
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 40px var(--cabin-glow); }
    50% { text-shadow: 0 0 80px var(--cabin-glow), 0 0 120px rgba(139, 92, 246, 0.3); }
}

.cabin-subtitle {
    font-size: 1rem;
    opacity: 0.7;
    font-weight: 300;
    font-style: italic;
}

/* Cabin Grid */
.cabin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
    padding: var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
}

.cabin-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    transition: all var(--transition-normal);
}

.cabin-card:hover {
    transform: translateY(-4px);
    border-color: var(--cabin-accent);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
}

.cabin-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--cabin-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cabin Weather */
.cabin-weather .weather-content {
    color: white;
}

.cabin-weather .weather-temp {
    color: white;
    font-size: 3rem;
}

.cabin-weather .weather-details {
    color: rgba(255, 255, 255, 0.7);
}

.weather-forecast {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    overflow-x: auto;
    padding-bottom: var(--space-sm);
}

.forecast-day {
    flex-shrink: 0;
    text-align: center;
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    min-width: 65px;
}

.forecast-day .day-name {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-bottom: var(--space-xs);
}

.forecast-day .day-temp {
    font-size: 0.85rem;
    font-weight: 600;
}

.forecast-day img {
    width: 32px;
    height: 32px;
    filter: brightness(1.2);
}

/* Tide section */
.tide-info {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tide-info h4 {
    font-size: 0.8rem;
    color: var(--cabin-accent);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.tide-item {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    text-align: center;
}

.tide-type {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.tide-time {
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.tide-height {
    font-size: 0.75rem;
    color: var(--cabin-accent);
}

/* Cabin Webcam */
.webcam-tabs {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
    flex-wrap: wrap;
}

.webcam-tab {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    color: white;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.webcam-tab:hover {
    background: rgba(255, 255, 255, 0.2);
}

.webcam-tab.active {
    background: var(--cabin-accent);
}

.cabin-webcam-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.cabin-webcam-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.webcam-source {
    font-size: 0.7rem;
    opacity: 0.5;
    margin-top: var(--space-sm);
    text-align: right;
}

/* Cabin Info */
.cabin-info-content p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.cabin-coordinates {
    display: flex;
    gap: var(--space-md);
    font-size: 0.85rem;
    margin-bottom: var(--space-md);
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
}

.coord-label {
    opacity: 0.6;
}

.cabin-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.btn-cabin {
    background: rgba(139, 92, 246, 0.2);
    color: white;
    border: 1px solid var(--cabin-accent);
}

.btn-cabin:hover {
    background: var(--cabin-accent);
}

/* Footer */
.footer {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.refresh-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.refresh-btn:hover {
    background: var(--bg-hover);
    border-color: var(--primary);
}

.refresh-btn svg {
    width: 18px;
    height: 18px;
}

.refresh-btn.spinning svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Install Prompt */
.install-prompt {
    position: fixed;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    z-index: 1000;
}

.install-prompt.hidden {
    display: none;
}

.install-prompt p {
    font-size: 0.9rem;
    color: var(--text-primary);
}

#installBtn {
    background: var(--primary);
    color: white;
    border: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    cursor: pointer;
}

#dismissInstall {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.4rem;
    }

    .resorts-grid {
        grid-template-columns: 1fr;
    }

    .cabin-title {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }

    .cabin-grid {
        grid-template-columns: 1fr;
        padding: var(--space-md);
    }

    .comparison-table {
        font-size: 0.75rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: var(--space-xs) var(--space-sm);
    }

    .tide-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    main {
        padding: var(--space-sm);
    }

    .nav-tab {
        padding: var(--space-xs) var(--space-md);
        font-size: 0.8rem;
    }

    .resort-links {
        flex-direction: column;
    }

    .webcam-tabs {
        flex-wrap: wrap;
    }

    .conditions-grid {
        gap: var(--space-sm);
    }

    .condition-item {
        padding: var(--space-xs);
    }
}

/* Print styles */
@media print {
    .header { position: static; }
    .nav-tabs, .resort-webcam, .footer, .install-prompt { display: none; }
    .resort-card { break-inside: avoid; }
}

/* PWA standalone mode */
@media (display-mode: standalone) {
    .install-prompt {
        display: none !important;
    }
}

/* =====================================================
   BATHING SECTION - Summer Vibes
   ===================================================== */

.bathing-section {
    background: linear-gradient(180deg, #0c4a6e 0%, #164e63 50%, #1e1b4b 100%);
    min-height: 100vh;
    margin: calc(-1 * var(--space-lg));
    padding: var(--space-xl);
}

.bathing-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    color: white;
}

.bathing-header .section-title {
    font-size: 1.75rem;
    font-weight: 600;
    background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

.bathing-header .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.bathing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.bathing-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all var(--transition-normal);
}

.bathing-card:hover {
    transform: translateY(-4px);
    border-color: #22d3ee;
    box-shadow: 0 10px 40px rgba(34, 211, 238, 0.2);
}

.bathing-card.featured {
    border: 2px solid #22d3ee;
    background: rgba(34, 211, 238, 0.1);
}

.bathing-header-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.bathing-header-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #22d3ee;
}

.bathing-location {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.bathing-temp {
    text-align: center;
    padding: var(--space-lg) 0;
    background: rgba(34, 211, 238, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
}

.bathing-temp .temp-value {
    font-size: 3rem;
    font-weight: 700;
    color: #22d3ee;
    display: block;
}

.bathing-temp .temp-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.bathing-info {
    margin-bottom: var(--space-md);
}

.bathing-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.bathing-season {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.btn-bathing {
    display: block;
    background: rgba(34, 211, 238, 0.2);
    color: white;
    border: 1px solid #22d3ee;
    text-align: center;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.btn-bathing:hover {
    background: #22d3ee;
    color: #0c4a6e;
}

.bathing-note {
    max-width: 800px;
    margin: var(--space-xl) auto 0;
    text-align: center;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.bathing-note p {
    margin-bottom: var(--space-sm);
}

.bathing-note strong {
    color: #22d3ee;
}

/* =====================================================
   WEEKLY FORECAST STYLES
   ===================================================== */

.weekly-forecast {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--space-xs);
}

.weekly-day {
    text-align: center;
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
}

.weekly-day .day-name {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
}

.weekly-day .day-icon {
    width: 32px;
    height: 32px;
    filter: brightness(1.2);
}

.weekly-day .day-desc {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
    margin: var(--space-xs) 0;
    line-height: 1.2;
    min-height: 2em;
}

.weekly-day .day-temp {
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.weekly-day .day-temp-min {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Lightning map card */
.lightning-card {
    grid-column: 1 / -1;
}

.lightning-map-container {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.lightning-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.lightning-map-link {
    display: block;
    position: relative;
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
}

.lightning-map-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.lightning-map-link:hover .lightning-map-preview {
    opacity: 1;
}

.lightning-map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    transition: background var(--transition-fast);
}

.lightning-map-link:hover .lightning-map-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.lightning-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.lightning-text {
    font-size: 1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .weekly-forecast {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .weekly-forecast {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =====================================================
   TIDE 3-DAY STYLES
   ===================================================== */

.tide-days {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.tide-day {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.tide-day-header {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cabin-accent);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--space-xs);
}

.tide-day-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.tide-extra-info {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tide-extra-item {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    text-align: center;
    flex: 1;
}

/* =====================================================
   HOLIDAY FORECAST STYLES
   ===================================================== */

.holiday-forecasts {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.holiday-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: all var(--transition-fast);
}

.holiday-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.holiday-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.holiday-icon {
    font-size: 1.5rem;
}

.holiday-name {
    font-weight: 600;
    color: white;
    font-size: 1rem;
}

.holiday-forecast {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.holiday-dates {
    font-size: 0.85rem;
    color: var(--cabin-accent);
}

.holiday-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.holiday-weather {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
    flex-wrap: wrap;
}

.holiday-weather-day {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(139, 92, 246, 0.2);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

.holiday-weather-day img {
    width: 20px;
    height: 20px;
}

/* =====================================================
   WEBCAM SNAPSHOT CLICKABLE STYLES
   ===================================================== */

.webcam-link-image {
    display: block;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.webcam-link-image:hover::after {
    content: 'Klikk for fullskjerm';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: var(--space-sm);
    font-size: 0.8rem;
}

.webcam-placeholder-cabin {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.webcam-snapshot-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 150px;
}

.webcam-snapshot-link {
    display: block;
    position: relative;
    text-decoration: none;
}

.webcam-snapshot-link img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform var(--transition-fast);
}

.webcam-snapshot-link:hover img {
    transform: scale(1.02);
}

.webcam-snapshot-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: var(--space-xs);
    font-size: 0.75rem;
}

.webcam-snapshot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 150px;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    text-decoration: none;
}

.webcam-snapshot-placeholder svg {
    width: 32px;
    height: 32px;
    margin-bottom: var(--space-sm);
    opacity: 0.5;
}

.webcam-snapshot-placeholder span {
    font-size: 0.85rem;
    color: var(--accent);
}

/* Section header for ski section */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding-top: var(--space-lg);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
