:root {
    --primary-bg: #0a0a1a;
    /* Dark blue/black background */
    --secondary-bg: #1a1a2e;
    /* Slightly lighter for cards/sections */
    --accent-color: #ffff00;
    /* Yellow accent */
    --text-color: #ffffff;
    --text-muted: #cccccc;
    --nav-bg: rgba(0, 0, 0, 0.8);
    --font-main: 'Arial', sans-serif;
    /* Placeholder for sans-serif */
}

body {
    background-color: var(--primary-bg);
    color: var(--text-color);
    font-family: var(--font-main);
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.container-fluid {
    width: 90% !important;
}

/* Navbar Customization */
.navbar-custom {
    background-color: var(--nav-bg);
    border-bottom: 1px solid #333;
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
    color: #ffffff !important;
    text-transform: uppercase;
    font-weight: bold;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--accent-color) !important;
}

/* Circular Icon Navigation */
.circular-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
    text-align: center;
    color: white;
}

.circular-icon {
    width: 60px;
    height: 60px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.circular-nav-item:hover .circular-icon {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: scale(1.1);
}

.circular-nav-item span {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    position: relative;
    /* Background moved to body */
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

footer {
    border-top: 1px solid #333;
    padding: 20px 0;
    margin-top: auto;
    background-color: var(--nav-bg);
}

/* Pouze mobil + portrait */
@media (max-width: 767.98px) and (orientation: portrait) {
    .contact-info {
        justify-content: center;
    }

    .contact-info .ci-phone,
    .contact-info .ci-email {
        display: inline-flex;
        align-items: center;
    }

    .contact-info .ci-address {
        width: 100%;
        text-align: center;
    }
}

/* Responsive Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
    margin-bottom: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Transparency & Glassmorphism */
.hero-content,
main .container,
.content-wrapper {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Ensure text is readable on dark background */
.hero-content p,
main .container p,
main .container h1,
:root {
    --primary-bg: #0a0a1a;
    /* Dark blue/black background */
    --secondary-bg: #1a1a2e;
    /* Slightly lighter for cards/sections */
    --accent-color: #ffff00;
    /* Yellow accent */
    --text-color: #ffffff;
    --text-muted: #cccccc;
    --nav-bg: rgba(0, 0, 0, 0.8);
    --font-main: 'Arial', sans-serif;
    /* Placeholder for sans-serif */
}

body {
    background-color: var(--primary-bg);
    color: var(--text-color);
    font-family: var(--font-main);
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.container-fluid {
    width: 70% !important;
}

/* Navbar Customization */
.navbar-custom {
    background-color: var(--nav-bg);
    border-bottom: 1px solid #333;
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
    color: #ffffff !important;
    text-transform: uppercase;
    font-weight: bold;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--accent-color) !important;
}

/* Circular Icon Navigation */
.circular-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
    text-align: center;
    color: white;
}

.circular-icon {
    width: 60px;
    height: 60px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.circular-nav-item:hover .circular-icon {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: scale(1.1);
}

.circular-nav-item span {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    position: relative;
    /* Background moved to body */
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

footer {
    border-top: 1px solid #333;
    padding: 20px 0;
    margin-top: auto;
    background-color: var(--nav-bg);
}

/* Pouze mobil + portrait */
@media (max-width: 767.98px) and (orientation: portrait) {
    .contact-info {
        justify-content: center;
    }

    .contact-info .ci-phone,
    .contact-info .ci-email {
        display: inline-flex;
        align-items: center;
    }

    .contact-info .ci-address {
        width: 100%;
        text-align: center;
    }
}

/* Responsive Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
    margin-bottom: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Transparency & Glassmorphism */
.hero-content,
main .container,
.content-wrapper {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Ensure text is readable on dark background */
.hero-content p,
main .container p,
main .container h1,
main .container h2,
main .container h3,
main .container li {
    color: #ffffff;
}

/* Footer Navigation Styling */
.footer-nav-item .circular-icon {
    width: 50px;
    height: 50px;
    border-width: 1px;
}

.footer-nav-item span {
    font-size: 0.7rem;
    margin-top: 5px;
}

.inline-nav::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.inline-nav::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 2px;
}

.inline-nav-item {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    padding: 0.375rem 1rem;
}

.inline-nav-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    color: #fff;
}

.inline-nav-item.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
    /* Black text on yellow accent */
    font-weight: bold;
}