/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2196F3;
    --secondary-color: #FF5722;
    --accent-color: #4CAF50;
    --warning-color: #FF9800;
    --danger-color: #F44336;
    --dark-color: #263238;
    --light-color: #FAFAFA;
    --text-color: #333;
    --text-light: #666;
    --border-color: #E0E0E0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
    --gradient-primary: linear-gradient(135deg, #2196F3, #21CBF3);
    --gradient-secondary: linear-gradient(135deg, #FF5722, #FF8A65);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --bg-pattern-dot: rgba(33, 150, 243, 0.05);
    --bg-pattern-accent: rgba(76, 175, 80, 0.04);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    /* Subtle pixel/dot pattern */
    background-image:
      radial-gradient(circle at 25px 25px, var(--bg-pattern-dot) 2px, transparent 0),
      radial-gradient(circle at 75px 75px, var(--bg-pattern-accent) 2px, transparent 0);
    background-size: 100px 100px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-logo-link:hover {
    text-decoration: none;
    opacity: 0.9;
}

.nav-logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(33, 150, 243, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Main Content */
.main-content {
    margin-top: 80px;
}

.section {
    display: none;
    min-height: calc(100vh - 80px);
    padding: 2rem 0;
}

.section.active {
    display: block;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 70vh;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    min-width: 150px;
    justify-content: center;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    top: 60%;
    right: 30%;
    animation-delay: 2s;
}

.element-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-color), #81C784);
    bottom: 20%;
    left: 40%;
    animation-delay: 4s;
}

/* Additional subtle gaming-themed geometric shapes (abstract, not promotional) */
.shape {
    position: absolute;
    opacity: 0.25;
    animation: float 8s ease-in-out infinite;
}

.shape-plus {
    width: 40px;
    height: 40px;
    top: 15%;
    right: 15%;
    animation-delay: 1s;
}
.shape-plus::before,
.shape-plus::after {
    content: "";
    position: absolute;
    background: var(--primary-color);
    border-radius: 4px;
}
.shape-plus::before {
    width: 40px;
    height: 10px;
    top: 15px;
    left: 0;
}
.shape-plus::after {
    width: 10px;
    height: 40px;
    top: 0;
    left: 15px;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-bottom: 32px solid #FF8A65;
    bottom: 10%;
    right: 35%;
    animation-delay: 2.5s;
}

.shape-square {
    width: 28px;
    height: 28px;
    background: #81C784;
    transform: rotate(15deg);
    top: 55%;
    left: 10%;
    animation-delay: 3.5s;
    border-radius: 6px;
}

.shape-cross {
    width: 34px;
    height: 34px;
    top: 30%;
    left: 75%;
    position: absolute;
    animation-delay: 4.5s;
}
.shape-cross::before,
.shape-cross::after {
    content: "";
    position: absolute;
    width: 34px;
    height: 6px;
    background: #BBDEFB;
    top: 14px;
    left: 0;
}
.shape-cross::after {
    transform: rotate(90deg);
}

/* Info Cards */
.info-cards {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

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

/* Detailed Info */
.detailed-info {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.detailed-info h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.info-content {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
}
.info-content::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: var(--border-radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(33,150,243,0.25), rgba(76,175,80,0.25));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
}

.info-content p {
    margin-bottom: 1.5rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}
.section-header h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Questionnaire */
.questionnaire-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.questionnaire-intro {
    margin-bottom: 2rem;
}

.warning-box {
    background: #FFF3E0;
    border: 1px solid var(--warning-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.warning-box i {
    color: var(--warning-color);
    font-size: 1.5rem;
}

.questionnaire {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.question {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.question:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.question h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.answer-options {
    display: flex;
    gap: 2rem;
}

.answer-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
}

.answer-options input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

/* Results */
.results {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-top: 2rem;
    text-align: center;
}

.results.hidden {
    display: none;
}

.score-display {
    font-size: 3rem;
    font-weight: 700;
    margin: 1rem 0;
    padding: 2rem;
    border-radius: var(--border-radius);
}

.score-low {
    background: #E8F5E8;
    color: var(--accent-color);
}

.score-medium {
    background: #FFF3E0;
    color: var(--warning-color);
}

.score-high {
    background: #FFEBEE;
    color: var(--danger-color);
}

.interpretation {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background: var(--light-color);
}

.results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Map Section */
.map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.map-controls {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.search-box {
    display: flex;
    gap: 1rem;
}

.search-box input {
    flex: 1;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.search-box button {
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: #1976D2;
}

.filter-options {
    display: flex;
    gap: 1rem;
}

.filter-options select {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: white;
}

.map-wrapper {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.slovakia-map {
    width: 100%;
    height: 400px;
}

.map-svg {
    width: 100%;
    height: 100%;
}

.region {
    cursor: pointer;
    transition: var(--transition);
}

.region:hover {
    fill: #BBDEFB !important;
    stroke-width: 3;
}

.city-marker {
    cursor: pointer;
    transition: var(--transition);
}

.city-marker:hover {
    r: 12;
    fill: var(--secondary-color);
}

.city-label {
    font-size: 12px;
    fill: var(--text-color);
    font-weight: 500;
}

.specialists-list {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.specialists-list h3 {
    margin-bottom: 2rem;
    color: var(--dark-color);
    font-size: 1.5rem;
}

.specialist-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.specialist-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.specialist-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.specialist-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
}

.specialist-city {
    color: var(--text-light);
    font-size: 0.9rem;
}

.specialist-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.detail-item i {
    color: var(--primary-color);
    width: 16px;
}

.specialist-contact {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* About Section */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-section {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.about-section h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.content-block {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.contact-info {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    flex: 1;
    min-width: 250px;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.required-info h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.required-info ul {
    list-style: none;
    padding-left: 0;
}

.required-info li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 2rem;
}

.required-info li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    position: relative;
}
.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image:
      linear-gradient(45deg, #fff 1px, transparent 1px),
      linear-gradient(-45deg, #fff 1px, transparent 1px);
    background-size: 20px 20px;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

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

.footer-section a {
    color: #B0BEC5;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid #37474F;
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: #B0BEC5;
}

/* Admin Access */
.admin-access {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.admin-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    font-size: 1.2rem;
}

.admin-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    max-width: 400px;
    width: 90%;
    position: relative;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.close:hover {
    color: var(--text-color);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .info-cards {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .map-controls {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .filter-options {
        flex-direction: column;
    }

    .contact-info {
        flex-direction: column;
    }

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

    .answer-options {
        flex-direction: column;
        gap: 1rem;
    }

    .results-actions {
        flex-direction: column;
        align-items: center;
    }

    .specialist-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .specialist-contact {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }

    .modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
}

