/* -------------------------- */
/* Global Styles              */
/* -------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f8faff;
    color: #333;
}
/* -------------------------- */
/* Custom Scrollbar           */
/* -------------------------- */

/* celý scrollbar */
::-webkit-scrollbar {
    width: 10px;          /* tloušťka scrollbaru */
}

/* dráha scrollbaru (pozadí) */
::-webkit-scrollbar-track {
    background: #f0f0f0;  /* světlé pozadí, ladí s body */
    border-radius: 5px;
}

/* samotný jezdec scrollbaru */
::-webkit-scrollbar-thumb {
    background: #39A6FF;  /* barva loga */
    border-radius: 5px;
    transition: background 0.3s;
}

/* hover efekt */
::-webkit-scrollbar-thumb:hover {
    background: #2B7FCC;  /* tmavší modrá při hover */
}

/* Firefox fallback */
* {
    scrollbar-width: thin;
    scrollbar-color: #39A6FF #f0f0f0;
}
/* -------------------------- */
/* Language Switch             */
/* -------------------------- */
.language-switch {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;          
    gap: 10px;              
    z-index: 20;
}

.language-switch button {
    background-color: #39A6FF;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.language-switch button:hover {
    background-color: #2B7FCC;
    transform: scale(1.05);
}

.language-switch button.active {
    background-color: #2B7FCC;
    font-weight: bold;
    box-shadow: 0 0 8px rgba(57, 166, 255, 0.5);
}

/* -------------------------- */
/* Header                     */
/* -------------------------- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: white;
    box-shadow: 0 2px 8px rgba(57, 166, 255, 0.15);
    border-bottom: 1px solid rgba(57, 166, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
    transition: 0.3s;
}

.logo {
    font-size: 28px;
    color: #39A6FF;
    font-weight: bold;
}


.nav a {
    color: #666;
    margin-left: 20px;
    padding: 5px 10px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

.nav a:hover {
    color: #39A6FF;
    background-color: rgba(57, 166, 255, 0.1);
}

/* -------------------------- */
/* Hero Section               */
/* -------------------------- */
.hero {
    height: 70vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.8), rgba(0,0,0,0.8)),
        url('img/hair-salon.png') no-repeat;
    background-attachment: fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    text-shadow: 0 3px 6px rgba(0,0,0,0.4);
    text-align: center;
}

.hero .btn {
    margin: 20px auto 0;
    background-color: #39A6FF;
    padding: 12px 22px;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 18px;
    transition: 0.3s;
    display: inline-block;
}

.hero .btn:hover {
    background-color: #2B7FCC;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(57, 166, 255, 0.4);
}

.hero h2 {
    font-size: 36px;
    line-height: 1.2;
}

.hvezda {
    line-height: 1.2;
    text-shadow: 0 0 15px rgb(255, 255, 255);
    font-style: italic;
}

.stars-container {
    display: flex;
    justify-content: center; 
    align-items: center;     
    margin-top: 40px;
}

.stars {
    position: relative;
    display: inline-block; 
    font-size: 8vw;        
    color: #ccc;
    overflow: hidden;
    text-align: left;
}

.stars::before {
    content: "★★★★★";
    display: block;
}

.stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    color: #f5b301;
    overflow: hidden;
    white-space: nowrap;
    animation: fillStars 5.5s forwards;
}

.stars-fill::before {
    content: "★★★★★";
    display: block;
}

@keyframes fillStars {
    from { width: 0; }
    to { width: var(--percent); }
}

/* Mobilní zobrazení */
@media (max-width: 480px) {
    .stars {
        font-size: 12vw; /* menší, aby se vešlo 5 hvězdiček */

    }
}

/* -------------------------- */
.contact {
    display: flex;           
    justify-content: center; 
    align-items: stretch;    
    gap: 20px;              
    max-width: 1000px;       
    margin: 0 auto;          
    padding: 60px 20px;
}

.contact .contacty{
    display: flex;           
    justify-content: center; 
    align-items: stretch;    
    gap: 20px;              
    max-width: 1000px;       
    margin: 0 auto;          
    padding: 60px 20px;
    min-height: 30vh;
}

.contact-left{
    flex: 1;                 
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(57, 166, 255, 0.15);
    box-shadow: 0 2px 8px rgba(57, 166, 255, 0.1);
    text-align: center;
    min-height: max-content;
}
.contact-left p {
    display: flex;          /* aby text a ikona byly vedle sebe */
    align-items: center;    /* srovná vertikálně */
    gap: 10px;              /* mezera mezi ikonou a textem */
    margin: 5px 0;
}
.contact-left .icon {
    width: 24px;            /* velikost ikony */
    height: 24px;
    object-fit: contain;    /* aby ikona nebyla deformovaná */
}

.contact-left h3{
    font-size: 200%;
}
.contact-left hr{
    margin: 15px 0;
}
.contact-right {
    flex: 1;                 
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(57, 166, 255, 0.15);
    box-shadow: 0 2px 8px rgba(57, 166, 255, 0.1);
    min-height: max-content;
}


.contact-right iframe {
    width: 100%;
    height: fit-content;
    border: 0;
    border-radius: 10px;
}


.contact-left h3 {
    margin-bottom: 10px;
}

.contact-left p {
    margin: 5px 0;
}

/* Wave Top */
.wave-top {
    position: relative;
    width: 100%;
    height: 150px;
    margin-top: -90px;
    z-index: 5;
    display: block;
    transform: scaleY(-1);
}

/* -------------------------- */

.footer {
    padding: 40px 20px;
    background: linear-gradient(135deg, #39A6FF 0%, #2B7FCC 100%);
    color: white;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom{
    text-align: center;
}
.footer-right {
    text-align: right;
    max-width: 33%;
    flex-basis: 33%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;    
    justify-content: center;  
    gap: 8px;                 
}

.footer-right a {
    background-color: rgba(255,255,255,0.2);
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
    max-width: fit-content;
    margin-right: 125px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #0052bf;
    padding: 8px 14px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    max-width: fit-content;
}

.social-icon {
    width: 20px;
    height: 20px;
}


.footer-right a:hover{
    background-color: #0053bfbe;
    transform: scale(1.05);
}

.footer-left{
    text-align: left;
    max-width: 33%;
    flex-basis: 33%;
    display: flex;
    justify-content: flex-start;
    height: fit-content;
    flex-direction: column;
}

.footer a{
    color: white;
    text-decoration: none;
}
.highlight {
    color: red;
}
.footer-bottom a:hover{
    text-decoration: underline;
}
.footer-bottom hr{
    border: 0.5px solid white;
    margin: 0 auto;
    max-width: 350px;
}
/* -------------------------- */

.cenik{
    padding: 60px 120px;
    padding-bottom: 120px;
    text-align: center;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
}

.cenik a{
    font-size: 25px;
    box-shadow: 0 0 20px #0053bfbe;
}

/* -------------------------- */
/* Responsive Styles          */
/* -------------------------- */
@media (max-width: 1024px) {
    .hero {
        background-position: center top;
        background-size: 50% auto;
        padding-left: 40px;
        background-attachment: scroll;
    }
    
    .language-switch {
        left: auto;
        right: 20px;
        transform: none;
    }
    
    .nav a {
        font-size: 16px;
        padding: 4px 8px;
        margin-left: 10px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }
    
    .logo {
        font-size: 22px;
    }
    
    .hero {
        background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));
        background-size: auto;
        padding-left: 20px;
        padding-right: 20px;
        height: 60vh;
        justify-content: flex-start;
        padding-top: 40px;
    }
    
    .hero h2 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 16px;
        margin-top: 10px;
    }
    
    .language-switch {
        gap: 5px;
    }
    
    .language-switch button {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .nav {
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .nav a {
        font-size: 14px;
        padding: 4px 8px;
        margin-left: 0;
    }

}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .header {
        flex-direction: column;
        align-items: center;
        padding: 12px 15px;
        gap: 10px;
    }
    
    .logo {
        font-size: 18px;
        text-align: center;
    }
    
    .language-switch {
        position: static;
        transform: none;
        left: 0;
        margin-bottom: 10px;
    }
    
    .hero {
        background-image: 
            linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));
        background-size: 100% auto;
        height: 50vh;
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 30px;
        justify-content: flex-start;
    }
    
    .hero h2 {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 10px;
    }
    
    .hero p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .hero .btn {
        font-size: 14px;
        padding: 8px 16px;
        margin-top: 10px;
    }
    
    .nav {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }
    
    .nav a {
        font-size: 12px;
        padding: 3px 5px;
        margin-left: 0;
    }
    
    .language-switch button {
        padding: 5px 8px;
        font-size: 11px;
    }
}


/* CENÍK */
