/* 
 * Straja.Live - Main Stylesheet
 * Extracted and optimized from index.php
 */

:root {
    --glass-bg: rgba(16, 23, 42, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 16px;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --accent: #38bdf8;
    --bg-overlay: rgba(15, 23, 42, 0.9);
    --card-hover: rgba(255, 255, 255, 0.05);
    --body-bg: url('/images/straja-bg.jpg');
}

[data-theme="light"] {
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.1);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --accent: #0284c7;
    --bg-overlay: rgba(241, 245, 249, 0.9);
    --card-hover: rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--body-bg) no-repeat center center fixed;
    background-size: cover;
    color: var(--text-main);
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s ease;
    overscroll-behavior-y: contain;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    z-index: -1;
    transition: background 0.3s ease;
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Header SEO */
.site-header {
    text-align: center;
    padding: 20px 0 10px;
}

.site-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--text-main);
}

.site-header h1 span {
    color: var(--accent);
}

.site-header .tagline {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.site-header .season-badge {
    display: inline-block;
    background: var(--accent);
    color: #0f172a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
}

/* Quick Stats SEO */
.quick-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 15px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.stat-item {
    text-align: center;
    padding: 10px 20px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Pull to Refresh */
.pull-indicator {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    background: var(--accent);
    color: #0f172a;
    padding: 10px 20px;
    border-radius: 0 0 12px 12px;
    font-weight: 600;
    font-size: 13px;
    z-index: 9999;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pull-indicator.visible {
    transform: translateX(-50%) translateY(0);
}

.pull-indicator .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #0f172a;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 8px;
    display: flex;
    gap: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.theme-btn {
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-btn:hover {
    background: var(--card-hover);
}

.theme-btn.active {
    background: var(--accent);
    box-shadow: 0 2px 10px rgba(56, 189, 248, 0.3);
}

/* Card Design */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-padded {
    padding: 25px;
}

.card-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
}

.card-header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-grid {
    display: grid;
    grid-template-columns: 2.8fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Video Toolbar */
.video-toolbar {
    padding: 15px 20px;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

[data-theme="light"] .video-toolbar,
[data-theme="light"] .card-header {
    background: rgba(0, 0, 0, 0.05);
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-badge {
    background: rgba(220, 38, 38, 0.2);
    color: #f87171;
    border: 1px solid rgba(220, 38, 38, 0.5);
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pulsating-dot {
    width: 8px;
    height: 8px;
    background-color: #f87171;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

/* Fullscreen Button */
.fullscreen-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-main);
}

/* Camera Thumbnails */
.cam-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    /* Swipeable on mobile */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.cam-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.cam-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.cam-thumb {
    flex-shrink: 0;
    width: 140px;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    background: rgba(0, 0, 0, 0.3);
    scroll-snap-align: start;
}

.cam-thumb:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px) scale(1.02);
}

.cam-thumb:hover img {
    transform: scale(1.1);
}

.cam-thumb.active {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.cam-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cam-thumb-name {
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Video Player */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Fullscreen styles */
.video-wrapper.is-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: #000;
}

.video-wrapper.is-fullscreen .video-container {
    padding-bottom: 0;
    height: 100%;
}

.exit-fullscreen-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    z-index: 10000;
    display: none;
}

.video-wrapper.is-fullscreen .exit-fullscreen-btn {
    display: block;
}

/* Tabs */
.tabs-header {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    gap: 5px;
}

[data-theme="light"] .tabs-header {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 10px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    background: var(--card-hover);
    color: var(--text-main);
}

.tab-btn.active {
    background: var(--accent);
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
    font-weight: 700;
}

/* News & Sidebar */
.news-scroll-box {
    height: 450px;
    overflow-y: auto;
    padding-right: 10px;
}

.news-scroll-box::-webkit-scrollbar {
    width: 4px;
}

.news-scroll-box::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.news-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.news-meta {
    font-size: 11px;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.news-title a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.news-title a:hover {
    color: var(--accent);
}

/* Buttons */
button.action-btn {
    background: var(--accent);
    color: #0f172a;
    border: none;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
}

.download-btn {
    background: #22c55e !important;
    color: white !important;
}

/* Social Feeds */
.feeds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    justify-items: center;
}

.feed-wrapper {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 550px;
    width: 100%;
}

[data-theme="light"] .feed-wrapper {
    background: rgba(0, 0, 0, 0.05);
}

.feed-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.feed-wrapper h3 {
    font-size: 14px;
    margin: 0 0 18px 0;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Lazy load */
.lazy-iframe-wrapper {
    width: 500px;
    max-width: 100%;
    height: 550px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.lazy-iframe-wrapper.loaded {
    background: transparent;
}

.lazy-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-iframe-wrapper.loaded iframe {
    opacity: 1;
}

.lazy-loader {
    position: absolute;
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.lazy-loader .spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--glass-border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.lazy-iframe-wrapper.loaded .lazy-loader {
    display: none;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg,
            var(--glass-bg) 25%,
            rgba(255, 255, 255, 0.1) 50%,
            var(--glass-bg) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
    width: 80%;
}

.skeleton-text.short {
    width: 40%;
}

.skeleton-box {
    height: 100px;
    width: 100%;
}

/* Meteo */
.weather-content {
    display: none;
    padding: 25px;
}

.weather-content.active {
    display: block;
}

.meteo-split {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

iframe {
    border-radius: 12px;
}

.sidebar-content,
.camera-view {
    display: none;
}

.sidebar-content.active,
.camera-view.active {
    display: block;
}

/* Timelapse Video */
.timelapse-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 15px;
    background: #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.timelapse-header {
    margin-top: 0;
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 600;
}

.timelapse-placeholder {
    background: rgba(0, 0, 0, 0.3);
    height: 180px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 13px;
    border: 1px dashed var(--glass-border);
}

.timelapse-actions {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

/* Rate Limit Message */
.rate-limit-msg {
    background: rgba(220, 38, 38, 0.2);
    color: #f87171;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 10px;
    text-align: center;
}

/* SEO Content Section */
.seo-content {
    padding: 30px;
    line-height: 1.8;
}

.seo-content h2 {
    font-size: 20px;
    color: var(--accent);
    margin: 0 0 15px 0;
}

.seo-content h3 {
    font-size: 16px;
    color: var(--text-main);
    margin: 20px 0 10px 0;
}

.seo-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
}

.seo-content ul {
    color: var(--text-muted);
    font-size: 14px;
    padding-left: 20px;
}

.seo-content li {
    margin-bottom: 8px;
}

.seo-content a {
    color: var(--accent);
    text-decoration: none;
}

.seo-content a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 13px;
}

.site-footer a {
    color: var(--accent);
    text-decoration: none;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

/* Mobile Responsive */
@media (max-width: 1000px) {
    .main-grid {
        grid-template-columns: 1fr;
    }

    .video-toolbar {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 10px;
    }

    .toolbar-left {
        width: 100%;
        justify-content: space-between;
    }

    .cam-thumbnails {
        width: 100%;
    }

    .feeds-grid {
        grid-template-columns: 1fr;
    }

    .theme-toggle {
        top: 10px;
        right: 10px;
        padding: 5px;
    }

    .theme-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .quick-stats {
        gap: 10px;
    }

    .stat-item {
        padding: 8px 15px;
    }

    .stat-value {
        font-size: 20px;
    }

    .feed-wrapper {
        padding: 15px;
        width: 100%;
        max-width: 100%;
    }

    /* Facebook feed mobile optimization */
    .lazy-iframe-wrapper {
        width: 100%;
        height: 380px;
        overflow: hidden;
    }

    .lazy-iframe-wrapper iframe {
        width: 500px;
        height: 550px;
        transform: scale(0.72);
        transform-origin: top center;
    }

    .site-header h1 {
        font-size: 22px;
    }

    /* Mobile Facebook links */
    .mobile-fb-link {
        display: block;
        text-decoration: none;
        text-align: center;
        width: 100%;
        padding: 20px;
        background: rgba(56, 189, 248, 0.1);
        border-radius: 12px;
        border: 1px solid var(--glass-border);
        transition: all 0.2s ease;
    }

    .mobile-fb-link:hover,
    .mobile-fb-link:active {
        background: rgba(56, 189, 248, 0.2);
        transform: scale(0.98);
    }

    .mobile-fb-link h3 {
        color: var(--accent);
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin: 0 0 10px 0;
    }

    .mobile-fb-hint {
        display: block;
        color: var(--text-muted);
        font-size: 13px;
        margin-top: 8px;
    }

    /* Hide iframe on mobile */
    .fb-desktop-wrapper {
        display: none !important;
    }

    /* Show mobile button */
    .fb-mobile-btn {
        display: block !important;
    }
}

/* Mobile Facebook button - hidden by default (desktop) */
.fb-mobile-btn {
    display: none;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(56, 189, 248, 0.1));
    color: var(--text-main);
    text-decoration: none;
    padding: 20px 25px;
    border-radius: 12px;
    border: 1px solid var(--accent);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-top: 15px;
}

.fb-mobile-btn:hover,
.fb-mobile-btn:active {
    background: rgba(56, 189, 248, 0.3);
    transform: scale(0.98);
}

/* PWA Install prompt */
.pwa-install-prompt {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 15px 20px;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    width: 400px;
}

.pwa-install-prompt.show {
    display: flex;
    gap: 15px;
    align-items: center;
}

.pwa-install-prompt p {
    margin: 0;
    font-size: 13px;
    flex: 1;
}

.pwa-install-btn {
    background: var(--accent);
    color: #0f172a;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}

.pwa-dismiss-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
}

/* Navigation menu (for subpages) */
.nav {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.nav-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

/* Page header for subpages */
.page-header {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), transparent);
    border-radius: 20px;
    margin: 30px 0;
}

.page-header h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.page-header h1 span {
    color: var(--accent);
}

.page-header p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

/* Subpage container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 50px;
    margin-top: 40px;
}

.cta-btn {
    display: inline-block;
    background: var(--accent);
    color: #0f172a;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.3);
}

/* Footer for subpages */
.footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 13px;
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
}

.footer a {
    color: var(--accent);
    text-decoration: none;
}

/* Info cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.info-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 25px;
}

.info-card h3 {
    color: var(--accent);
    font-size: 16px;
    margin-bottom: 15px;
}

.info-card p,
.info-card ul {
    color: var(--text-muted);
    font-size: 14px;
}

.info-card ul {
    padding-left: 20px;
}

.info-card li {
    margin-bottom: 8px;
}

/* Weather card for subpages */
.weather-grid {
    display: grid;
    gap: 30px;
}

.weather-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
}

.weather-card-header {
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
}

.weather-card-header h2 {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.weather-card-body {
    padding: 20px;
}

.weather-card-body iframe {
    width: 100%;
    border: 0;
    border-radius: 12px;
}

/* Tarife specific styles */
.tarife-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.tarif-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.tarif-card:hover {
    transform: translateY(-5px);
}

.tarif-header {
    padding: 20px;
    background: rgba(56, 189, 248, 0.1);
    border-bottom: 1px solid var(--glass-border);
}

.tarif-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--text-main);
}

.tarif-body {
    padding: 20px;
}

.tarif-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
}

.tarif-unit {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.tarif-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tarif-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 14px;
}

.tarif-features li:last-child {
    border-bottom: none;
}

.tarif-features li::before {
    content: "✓ ";
    color: var(--accent);
}

/* Contact page styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .nav-links {
        gap: 15px;
    }
}

.contact-info {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h4 {
    margin: 0 0 5px 0;
    color: var(--text-main);
    font-size: 16px;
}

.contact-details p,
.contact-details a {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--accent);
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    min-height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
}