/* Global Styles */
:root {
    --primary-color: #2c5aa0;
    --secondary-color: #1e3a5f;
    --accent-color: #4a90e2;
    --light-bg: #f8f9fa;
    --dark-text: #2c3e50;
    --light-text: #7f8c8d;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Navigation */
nav {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    color: var(--white);
    font-size: 1.8em;
    font-weight: bold;
    padding: 15px 0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    padding: 25px 20px;
    display: block;
    transition: background 0.3s ease;
    font-weight: 500;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-menu a.active {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.85) 0%, rgba(30, 58, 95, 0.85) 100%),
                url('../images/hero-tatry.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 20px;
    text-align: center;
    color: var(--white);
}

.hero-peaks {
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.85) 0%, rgba(30, 58, 95, 0.85) 100%),
                url('../images/peaks-gerlach.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-chalets {
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.85) 0%, rgba(30, 58, 95, 0.85) 100%),
                url('../images/mountain-lake.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-trails {
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.85) 0%, rgba(30, 58, 95, 0.85) 100%),
                url('../images/hiking-trail.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-transport {
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.85) 0%, rgba(30, 58, 95, 0.85) 100%),
                url('../images/mountain-range.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.4em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

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

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Section Styles */
section {
    margin-bottom: 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2em;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Card Styles */
.card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5em;
}

.card p {
    color: var(--light-text);
    line-height: 1.8;
}

.card-meta {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    font-size: 0.9em;
    color: var(--light-text);
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    margin-right: 8px;
    margin-top: 5px;
}

.badge-height {
    background: #3498db;
    color: white;
}

.badge-difficulty {
    background: #e74c3c;
    color: white;
}

.badge-duration {
    background: #2ecc71;
    color: white;
}

.badge-season {
    background: #f39c12;
    color: white;
}

/* Feature Box */
.feature-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.feature-box h3 {
    font-size: 2em;
    margin-bottom: 15px;
    color: var(--white);
}

.feature-box p {
    font-size: 1.1em;
    opacity: 0.95;
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.stat-box {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 3em;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 1.1em;
    color: var(--light-text);
    margin-top: 10px;
}

/* Info Box */
.info-box {
    background: #e8f4f8;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.info-box strong {
    color: var(--primary-color);
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

th, td {
    padding: 15px;
    text-align: left;
}

tbody tr:nth-child(even) {
    background: #f8f9fa;
}

tbody tr:hover {
    background: #e8f4f8;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px 20px 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1.1em;
    }

    .section-header h2 {
        font-size: 2em;
    }
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-current {
    cursor: pointer;
    padding: 25px 20px !important;
}

.lang-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 5px;
    min-width: 120px;
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
}

.lang-switcher:hover .lang-menu {
    display: block;
}

.lang-menu li {
    margin: 0;
}

.lang-menu a {
    color: var(--dark-text) !important;
    padding: 10px 20px !important;
    display: block;
    transition: background 0.3s ease;
}

.lang-menu a:hover {
    background: var(--light-bg) !important;
}

/* ========================================
   MOBILE & RESPONSIVE STYLES
   ======================================== */

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Tablet and below (1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 40px 15px;
    }

    .hero h1 {
        font-size: 2.8em;
    }

    .hero p {
        font-size: 1.2em;
    }

    .section-header h2 {
        font-size: 2.2em;
    }

    .grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Mobile Navigation (768px and below) */
@media (max-width: 768px) {
    /* Show hamburger menu */
    .menu-toggle {
        display: flex;
    }

    /* Navigation adjustments */
    .nav-container {
        flex-wrap: wrap;
        position: relative;
    }

    .logo {
        font-size: 1.5em;
        padding: 10px 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--secondary-color);
        flex-direction: column;
        padding: 80px 0 20px;
        gap: 0;
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu a {
        padding: 20px 25px;
        width: 100%;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background: rgba(255, 255, 255, 0.15);
    }

    /* Language switcher in mobile */
    .lang-switcher {
        position: relative;
    }

    .lang-menu {
        position: static;
        display: none;
        width: 100%;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }

    .lang-switcher.active .lang-menu {
        display: block;
    }

    .lang-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .lang-menu a {
        color: rgba(255, 255, 255, 0.9) !important;
        padding: 15px 35px !important;
    }

    /* Hero section mobile */
    .hero {
        padding: 80px 20px;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1.1em;
        margin-bottom: 25px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        padding: 15px 25px;
    }

    /* Container mobile */
    .container {
        padding: 30px 15px;
    }

    /* Stats mobile */
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin: 30px 0;
    }

    .stat-box {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 2.2em;
    }

    .stat-label {
        font-size: 0.95em;
    }

    /* Section headers mobile */
    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 1.8em;
        margin-bottom: 10px;
    }

    .section-header p {
        font-size: 1em;
    }

    /* Grid layouts mobile */
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Cards mobile */
    .card {
        padding: 25px 20px;
    }

    .card-icon {
        font-size: 2.5em;
        margin-bottom: 12px;
    }

    .card h3 {
        font-size: 1.3em;
        margin-bottom: 12px;
    }

    .card p {
        font-size: 0.95em;
    }

    .card-meta {
        margin-top: 12px;
        padding-top: 12px;
    }

    .badge {
        font-size: 0.8em;
        padding: 4px 10px;
        margin-right: 6px;
        margin-top: 4px;
    }

    /* Feature box mobile */
    .feature-box {
        padding: 30px 20px;
    }

    .feature-box h3 {
        font-size: 1.5em;
    }

    .feature-box p {
        font-size: 1em;
    }

    /* Info box mobile */
    .info-box {
        padding: 15px;
        font-size: 0.95em;
        margin: 15px 0;
    }

    /* Tables mobile - make scrollable */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    th, td {
        padding: 12px 10px;
        font-size: 0.9em;
    }

    /* Footer mobile */
    footer {
        padding: 30px 15px 15px;
        margin-top: 50px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h3 {
        margin-bottom: 15px;
    }

    .footer-section ul {
        padding: 0;
    }

    .footer-bottom {
        padding-top: 15px;
        font-size: 0.9em;
    }
}

/* Small mobile (480px and below) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8em;
    }

    .hero p {
        font-size: 1em;
    }

    .logo {
        font-size: 1.3em;
    }

    .section-header h2 {
        font-size: 1.5em;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-number {
        font-size: 2em;
    }

    .card {
        padding: 20px 15px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.95em;
    }

    table {
        font-size: 0.85em;
    }

    th, td {
        padding: 10px 8px;
    }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 60px 20px;
    }

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

    .nav-menu {
        padding: 60px 0 20px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize images for retina displays */
    .hero,
    .hero-peaks,
    .hero-chalets,
    .hero-trails,
    .hero-transport {
        background-size: cover;
        -webkit-background-size: cover;
    }
}

/* Print styles */
@media print {
    nav,
    .menu-toggle,
    .cta-buttons,
    footer {
        display: none;
    }

    .hero {
        background: var(--primary-color);
        padding: 20px;
    }

    .container {
        max-width: 100%;
    }

    .card {
        page-break-inside: avoid;
    }
}

/* Accessibility - Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero,
    .hero-peaks,
    .hero-chalets,
    .hero-trails,
    .hero-transport {
        background-attachment: scroll;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    /* Optional: Add dark mode styles if needed in future */
}

