/* Global styles */
:root {
    /* Colors */
    --primary-blue: #174EA1;
    --primary-red: #EC1849;
    --light-blue: #67A9DC;
    --pink: #F8C3DF;
    --green: #28a745;
    --white: #fff;
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --gray-dark: #6c757d;
    --text-dark: #333;
    
    /* Spacing */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 25px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s ease;
}

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

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



/* Remove blue gradient from header */
header {
    background: var(--white) !important;
    box-shadow: 0 4px 20px rgba(23, 78, 161, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Top bar styles */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--white) !important;
    box-shadow: var(--shadow-sm);
    color: #222 !important;
}

/* Mobile menu toggle: dark icon for white bg */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1.5px solid var(--primary-blue);
    color: var(--primary-blue);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    transition: background-color var(--transition-normal), border-color var(--transition-normal);
    z-index: 10000;
}

.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: #f0f4fa;
    border-color: #0d2c5a;
}

.mobile-menu-toggle .hamburger {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 5px 0;
    transition: var(--transition-slow);
    border-radius: 2px;
}

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

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

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container a {
    display: block;
    text-decoration: none;
}

.logo {
    height: 100px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform var(--transition-normal);
}

.logo:hover {
    transform: scale(1.05);
}

/* Main navigation styles */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 2rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    background: transparent;
    margin: 0;
    padding: 0;
}

.main-nav ul li a {
    color: var(--primary-blue) !important;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color var(--transition-fast);
    padding: 0.5rem 0.8rem;
    border-radius: var(--border-radius-sm);
}

.main-nav ul li a:hover, .main-nav ul li a:focus {
    background: #f0f4fa;
    color: #0d2c5a !important;
}

.main-nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    text-align: center;
    display: block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius-xl);
    transition: all var(--transition-normal);
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-1px);
}

.main-nav a.active {
    background: white;
    color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Mobile navigation overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    backdrop-filter: blur(3px);
}

.mobile-nav-overlay.active {
    display: block;
}

.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: linear-gradient(90deg, #6283b4 0%, #89a0c4 100%);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease-out;
    overflow-y: auto;
    padding: 2rem 1.5rem;
}

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

.mobile-nav-menu h3 {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.3rem;
    font-weight: 600;
    padding-top: 1rem;
}

.mobile-nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 0.8rem;
}

.mobile-nav-menu ul {
    margin-bottom: 1rem;
}

.mobile-nav-menu .member-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav-menu .member-section h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.mobile-nav-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
    text-align: left;
    backdrop-filter: blur(10px);
    margin-bottom: 0.5rem;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.mobile-nav-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.mobile-nav-menu .auth-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav-menu .auth-links a {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 0.8rem;
    text-align: center;
}

.mobile-nav-menu .auth-links a.logout-link {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #EC1849;
    font-weight: 600;
}

.mobile-nav-menu .auth-links a.logout-link:hover {
    background: rgba(236, 24, 73, 0.1);
    color: #d41540;
}

.mobile-nav-menu .auth-links a.primary {
    background: #EC1849;
    border-color: #EC1849;
}

.mobile-nav-menu .auth-links a.primary:hover {
    background: white;
    color: #EC1849;
}

.mobile-nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Auth buttons styles */
.auth-buttons {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.btn-auth {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-xl);
    transition: all var(--transition-normal);
    font-weight: 500;
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-block;
}

.btn-auth:hover {
    background: white;
    color: var(--primary-blue);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-auth.primary {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-auth.primary:hover {
    background: white;
    color: var(--primary-red);
    border-color: white;
}

.auth-buttons .btn-auth {
    color: var(--primary-blue) !important;
    background: var(--white) !important;
    border: 1px solid var(--primary-blue);
    font-weight: bold;
    border-radius: var(--border-radius-sm);
    padding: 0.4rem 1.2rem;
    margin-left: 0.5rem;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.auth-buttons .btn-auth.primary {
    background: var(--primary-blue) !important;
    color: var(--white) !important;
}

.auth-buttons .btn-auth:hover {
    background: var(--primary-blue) !important;
    color: var(--white) !important;
}

/* Secondary bar styles */
.secondary-bar {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.6rem 2rem;
    border-bottom: 1px solid rgba(23, 78, 161, 0.1);
    backdrop-filter: blur(10px);
}

.secondary-nav {
    max-width: 1400px;
    margin: 0 auto;
}

.secondary-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.secondary-nav a {
    text-decoration: none;
    color: #174EA1;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    position: relative;
}

.secondary-nav a:hover {
    color: #EC1849;
    background: rgba(236, 24, 73, 0.1);
    transform: translateY(-1px);
}

.secondary-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #EC1849;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.secondary-nav a:hover::after {
    width: 80%;
}

.logout-link {
    color: #EC1849 !important;
    font-weight: 600;
}

.logout-link:hover {
    color: #d41540 !important;
    background: rgba(236, 24, 73, 0.1) !important;
}

/* Main content styles */
main {
    max-width: 1400px;
    margin: 1.5rem auto;
    padding: 0 2rem;
}

/* Page header styles */
.page-header {
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid #F8C3DF;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: #174EA1;
}

.page-header h2 {
    font-size: 2.5rem;
    color: #174EA1;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Content layout */
.content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.text-content {
    flex: 2;
    min-width: 300px;
}

.sidebar {
    flex: 1;
    min-width: 250px;
    background: linear-gradient(135deg, #e3f0fb 0%, #e3f0fb 100%);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(23, 78, 161, 0.1);
}

/* Profile styles */
.profile-section {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.profile-section h3 {
    margin-bottom: 1rem;
}

.profile-avatar {
    text-align: center;
    margin-bottom: 1rem;
}

.profile-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #174EA1;
    box-shadow: 0 4px 12px rgba(23, 78, 161, 0.2);
}

.profile-summary {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-summary h3 {
    margin: 0.5rem 0;
}

.member-links {
    margin-top: 2rem;
}

.member-links ul {
    list-style: none;
}

.member-links li {
    margin-bottom: 0.5rem;
}

/* Message styles */
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #dc3545;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #28a745;
}

.info-message {
    background-color: #d1ecf1;
    color: #0c5460;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #17a2b8;
}

/* Form styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #174EA1;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #174EA1;
    box-shadow: 0 0 0 3px rgba(23, 78, 161, 0.1);
    transform: translateY(-1px);
}

.btn {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(23, 78, 161, 0.3);
}

.btn:hover {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--pink) 100%);
    box-shadow: 0 6px 20px rgba(236, 24, 73, 0.3);
}



/* Hero video section styles */
.hero-video {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.video-container {
    position: relative;
    max-width: 600px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

#hero-video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    max-width: 100%;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.096);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 1rem;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    background: rgba(23, 78, 161, 0.9);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
}

.play-button:hover {
    background: rgba(23, 78, 161, 1);
    transform: scale(1.02);
}

.play-icon {
    font-size: 1.2rem;
    font-weight: normal;
}

.play-button span {
    font-weight: 500;
    font-size: 0.8rem;
}

/* Features section styles */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature {
    flex: 1;
    min-width: 250px;
    background: linear-gradient(135deg, #e3f0fb 0%, #e3f0fb 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid rgba(23, 78, 161, 0.1);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(23, 78, 161, 0.15);
}

.feature h3 {
    margin-bottom: 1rem;
    color: #174EA1;
    font-weight: 600;
}

.feature p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
}

/* Admin styles */
.admin-section {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.admin-section h3 {
    margin-bottom: 1rem;
    color: #174EA1;
}

.admin-section h4 {
    margin: 1.5rem 0 1rem;
    color: #174EA1;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    background: linear-gradient(135deg, #174EA1 0%, #67A9DC 100%);
    color: white;
    font-weight: 600;
}

.admin-form {
    max-width: 600px;
}



.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
}

/* Footer styles */
footer {
    background: linear-gradient(135deg, #174EA1 0%, #67A9DC 100%);
    color: white;
    padding: 2rem;
    margin-top: 4rem;
    box-shadow: 0 -4px 20px rgba(23, 78, 161, 0.15);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-main {
    flex: 1;
    text-align: left;
}

.footer-main p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Content section styles */
.content-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid;
}

.content-section h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.content-section h4 {
    color: #495057;
    margin: 1rem 0 0.5rem 0;
    font-size: 1.1rem;
}

.content-section ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.content-section li {
    margin: 0.3rem 0;
    line-height: 1.5;
}

.content-section a {
    color: #007bff;
    text-decoration: none;
}

.content-section a:hover {
    text-decoration: underline;
}

.subtitle {
    color: #6c757d;
    font-style: italic;
    margin-top: 0.5rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.legal-content p {
    margin-bottom: 1rem;
}

/* Content section color variations */
.content-section.gdpr {
    border-left-color: #007bff;
}

.content-section.gdpr h3 {
    color: #007bff;
}

.content-section.cookies {
    border-left-color: #28a745;
}

.content-section.cookies h3 {
    color: #28a745;
}

.content-section.terms {
    border-left-color: #dc3545;
}

.content-section.terms h3 {
    color: #dc3545;
}

.content-section.dpa {
    border-left-color: #6f42c1;
}

.content-section.dpa h3 {
    color: #6f42c1;
}

/* Sidebar responsive styles */
@media (max-width: 1024px) {
    .sidebar {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        min-width: 0;
    }
}

/* Tab styles */
.tab-navigation {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    background: rgba(23, 78, 161, 0.1);
    border-radius: 50px;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
}

/* Mobile tab layout */
@media (max-width: 768px) {
    .tab-navigation {
        flex-direction: column;
        border-radius: 12px;
        gap: 0.25rem;
    }
    
    .tab-btn {
        border-radius: 8px;
        padding: 0.75rem 1rem;
    }
}

.tab-btn {
    flex: 1;
    padding: 1rem 2rem;
    background: none;
    border: none;
    color: var(--primary-blue);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    border-radius: var(--border-radius-xl);
    font-size: 1rem;
}

.tab-btn:hover {
    background: rgba(23, 78, 161, 0.1);
}

.tab-btn.active {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 12px rgba(23, 78, 161, 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Green tab styles for hudobne-vzdelavanie */
.tab-navigation.green {
    background: rgba(40, 167, 69, 0.1);
}

.tab-navigation.green .tab-btn {
    color: #28a745;
}

.tab-navigation.green .tab-btn:hover {
    background: rgba(40, 167, 69, 0.1);
}

.tab-navigation.green .tab-btn.active {
    background: #28a745;
    color: white;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Green headings for hudobne-vzdelavanie */
.legal-content h3:first-of-type {
    color: #28a745;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.legal-content h4:first-of-type {
    color: #28a745;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* Enhanced sidebar styles */
.sidebar {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(23, 78, 161, 0.1);
}

.sidebar h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.sidebar .contact-box {
    background: var(--gray-light);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--primary-blue);
}

.sidebar ul {
    background: var(--gray-light);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--primary-blue);
}

.sidebar ul li {
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--gray-medium);
}

.sidebar ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar .download-sidebar {
    background: var(--gray-light);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--primary-blue);
}

.sidebar .download-sidebar li {
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--gray-medium);
}

.sidebar .download-sidebar a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.sidebar .download-sidebar a:hover {
    text-decoration: underline;
}

/* Green sidebar override for hudobne-vzdelavanie */
.content .sidebar {
    border: 1px solid rgba(40, 167, 69, 0.1);
}

.content .sidebar h3 {
    color: #28a745;
}

.content .sidebar .contact-box {
    border-left: 3px solid #28a745;
}

.content .sidebar ul {
    border-left: 3px solid #28a745;
}

.content .sidebar .download-sidebar {
    border-left: 3px solid #28a745;
}

.content .sidebar .download-sidebar a {
    color: #28a745;
}



/* Mobile Responsive Styles */
@media (max-width: 768px), (max-device-width: 768px) {
    /* Hero video mobile styles */
    .video-container {
        max-width: 100%;
        margin: 0 1rem;
    }
    
    #hero-video {
        width: 100%;
        height: auto;
    }
    
    /* Keep overlay visible on mobile but make it more touch-friendly */
    .video-overlay {
        padding-top: 2rem;
    }
    
    .play-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Top bar mobile styles */
    .top-bar {
        flex-direction: row;
        padding: 0.4rem 1rem;
        gap: 0;
    }

    .logo-container {
        margin-bottom: 0;
    }

    .main-nav {
        display: none !important;
    }

    .auth-buttons {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block !important;
    }

    /* Secondary bar mobile styles */
    .secondary-nav {
        display: none;
    }

    /* Content layout mobile styles */
    .content {
        flex-direction: column;
    }

    .text-content, .sidebar {
        min-width: 100%;
    }

    /* Table mobile styles */
    .admin-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* Form mobile styles */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents iOS zoom on focus */
    }



    /* Features mobile styles */
    .features {
        flex-direction: column;
    }

    .feature {
        min-width: 100%;
    }

    /* Page header mobile styles */
    .page-header h2 {
        font-size: 2rem;
    }

    /* Footer mobile styles */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

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

    .footer-links {
        justify-content: center;
        gap: 1.5rem;
    }




}

@media (max-width: 480px), (max-device-width: 480px) {
    .video-container {
        margin: 0 0.5rem;
    }
    
    .top-bar {
        padding: 0.3rem;
    }

    .logo {
        height: 60px;
    }

    .mobile-nav-menu {
        width: 280px;
        right: -280px;
    }

    .main-nav ul {
        gap: 0.1rem;
    }

    .main-nav a {
        font-size: 0.7rem;
        padding: 0.5rem 0.8rem;
    }

    .btn-auth {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }



    /* Footer styles for very small screens */
    .footer-links {
        gap: 1rem;
    }
}


