@import url('https://fonts.googleapis.com/css2?family=Rubik+Glitch&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
}

.hero-image {
    background-image: url('img/backround.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rubik Glitch', Courier, monospace;
    color: rgb(65, 163, 255);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 0; /* Bootstrap kontejnery si udělají místo samy */
}

/* Vlastní tlačítko */
.btn-outline-custom {
    color: rgb(65, 163, 255);
    border-color: rgb(65, 163, 255);
    border-width: 2px;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
    font-family: Arial, sans-serif;
    text-shadow: none !important;
}

.btn-outline-custom:hover {
    background-color: rgb(65, 163, 255);
    border-color: rgb(65, 163, 255);
    color: #fff;
    transform: translateY(-3px);
}

.me-md-custom {
    margin-right: 16vw !important;
}

@media (max-width: 768px) {
    .me-md-custom {
        margin-right: 2rem !important;
    }
}

/* Navigace */
#mainNav {
    padding: 1.5rem 0;
    transition: all 0.4s ease-in-out;
}

/* Stav po scrollu */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.585) !important;
    padding: 0.8rem 0 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar-brand {
    font-size: 2.5rem !important;
    color: rgb(65, 163, 255) !important;
    font-family: Arial, sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.1);
}

.nav-link {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    color: rgb(65, 163, 255) !important; /* Přidáno !important pro přebití Bootstrapu */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 20px;
    transition: 0.3s opacity;
}

.nav-link:hover {
    opacity: 0.7;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        /* Změnil jsem na tmavší barvu, aby ta modrá linka a text lépe "svítily" */
        background-color: rgba(255, 255, 255, 0.815); 
        padding: 1rem;
        border-radius: 15px; 
        margin-top: 15px;
        border: 2px solid rgb(65, 163, 255); /* Tvůj modrý border */
    }
    
    .nav-link {
        margin-left: 0;
        padding: 12px 0;
        border-bottom: 1px solid rgba(65, 163, 255);
    }

    .nav-item:last-child .nav-link {
        border-bottom: none;
    }
}

.navbar-toggler {
    border-color: rgba(65, 163, 255) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(65, 163, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Sekce O mně */
#o-mne{
    background-color:rgba(65, 163, 255, 0.28) ;
}

.o-mne-section {
    color: rgb(65, 163, 255);
}

.o-mne-section h2 {
    font-family: 'Rubik Glitch', Courier, monospace;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.text-content {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: rgb(65, 163, 255)
}

/* Kontejner pro video v kruhu */
.video-circle-container {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 5px solid rgb(65, 163, 255);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.video-circle {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover; /* Video vyplní kruh bez deformace */
}

/* Responzivita pro mobily */
@media (max-width: 576px) {
    .video-circle-container {
        width: 250px;
        height: 250px;
    }
}

.portfolio-title {
    font-family: 'Rubik Glitch', Courier, monospace;
    color: rgb(65, 163, 255);
}

/* Styl karet */
.portfolio-card {
    background-color: rgba(65, 163, 255, 0.276);
    border: 2px solid rgb(65, 163, 255);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(65, 163, 255, 0.4);
}

.portfolio-img-container {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.portfolio-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-card:hover{
    opacity: 1;
}

.portfolio-card .card-body {
    color: rgb(65, 163, 255);
    font-family: Arial, sans-serif;
    border-top: 1px solid rgb(65, 163, 255);
}

.portfolio-link {
    text-decoration: none;
}

/* Mezera mezi tlačítky na mobilu */
.gap-3 {
    gap: 1rem !important;
}

.portfolio-toggle-btn {
    min-width: 200px; /* Aby byla tlačítka stejně široká */
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Modrý podnadpis pro sekce */
.text-info {
    color: rgb(65, 163, 255) !important;
    font-family: Arial, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
}

#kontakt{
    background-color:rgba(65, 163, 255, 0.28) ;
}

.contact-list {
    display: flex;
    flex-direction: column;
}

.contact-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: rgb(65, 163, 255);
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
}

.contact-item i {
    width: 35px;
    font-size: 1.6rem;
}

.contact-gif {
    max-height: 250px; /* Trochu jsem ho zmenšil, aby seděl k seznamu */
    border-radius: 15px;
}

/* Na mobilu to necháme pod sebou s mezerou */
@media (max-width: 767.98px) {
    .contact-gif {
        margin-top: 40px;
        max-height: 200px;
    }
}

/* Minimalistický modrý footer */
.footer-minimal {
    background-color: rgb(65, 163, 255);
    color: #ffffff;
    font-family: Arial, sans-serif;
}

.footer-text {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
}