@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

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

html{
    scroll-behavior: smooth;
}


/* Desing Scrollbar */

::-webkit-scrollbar{
    width: 9px;
    background-color: rgb(27, 27, 27);
}

::-webkit-scrollbar-thumb{
    background-color: #383838;
    border-radius: 5px;
}

body {
    background-image: url(images/background.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    font-family: 'Montserrat', sans-serif;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


/* Sekce Úvod */
header {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.uvod {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 80%;
    padding: 2%;
}

.text-uvod {
    max-width: 50%;
}

.text-uvod h1 {
    font-size: 8vw;
    color: #00c759;
    text-shadow: 0 0 10px #01ab4e, 0 0 20px #01ab4e;
}


.image-section img {
    max-width: 100%;
    height: auto;
}

.image-section{
    transition: 0.3s ease;
}

.image-section:hover{
    transform: scale(1.06);
}







 /* Sekce "What is Absinth" */
#what-is-absinth {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
}

.content-box {
    gap: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 82%;
    width: 100%;
    margin-bottom: 10px;
}

.image-box {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-box img {
    max-width: 97%;
    height: auto;
}

.text-box {
    flex: 1;
    padding: 20px;
    color: #fff;
}

.text-box h2 {
    font-size: 3.2rem;
    text-transform: uppercase;
    color: #01ab4e;
    text-shadow: 0 0 10px #01ab4e;
    margin-bottom: 20px;
}
    
.text-box p {
    font-size: 1.60rem;
    line-height: 1.6;
    color: #e8e8e8;
}


        



/* Sekce "How to drink abisnth?" */
#how-to-drink {
    text-align: center;
    padding: 50px 5%;
    width: 100%;
    height: 100vh;
}

h2 {
    font-size: 3.2rem;
    text-transform: uppercase;
    color: #01ab4e;
    text-shadow: 0 0 10px #01ab4e;
    margin-bottom: 75px;
}

.methods-container {
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
}

.method {
    background: url("images/sheet.png") no-repeat center center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 22%;
    aspect-ratio: 3 / 4.5; 
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 0 40px 15px rgba(1, 171, 78, 0.5);
    border: #212121 1px solid; 
}

.method h3 {
    font-size: 1.75em;
    color: #e2e2e2;
    font-weight: bolder;
    margin-bottom: 10px;
    text-shadow: 0 0 5px #01ab4e;
}

.method img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    border: #0f0f0f 1px solid;
    margin-bottom: 10px;
}

.method p {
    font-weight: 300;
    font-size: 1em;
    color: #f1f1f1;
    max-width: 80%;
}





/* Sekce "come visit us" */
#come-visit {
    text-align: left;
    padding: 30px 12%;
    width: 100%;
    height: 87vh;
}

#come-visit h2 {
    font-size: 3.5rem;
    text-transform: uppercase;
    color: #01ab4e;
    text-shadow: 0 0 10px #01ab4e;
    margin-bottom: 10px;
}

#come-visit h3 {
    font-size: 2.7rem;
    font-weight: 700;
    margin-bottom: 40px;
}

/* FLEX KONTEJNER PRO DVĚ SEKCE */
.visit-container {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 40px;
}

/* LEVÝ A PRAVÝ SLOUPEC */
.contact-info, .opening-hours {
    display: flex;
    flex-direction: column;
    margin-right: 15%;
    gap: 15px;
}

.contact-item, .hours-item {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    gap: 20px;
}

.contact-item img, .hours-item img {
    width: 40px; /* Větší ikonky */
    height: 40px;
}

/* OTEVÍRACÍ DOBA - Zarovnání dnů pod sebe */
.hours-container {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.hours-container img {
    width: 40px;
    height: 40px;
    margin-top: 5px;
}

#hours-text {
    line-height: 1.8;
    font-size: 1.2rem;
    font-weight: 600;
}


/* OBRÁZKY */
.visit-images {
    display: flex;
    justify-content: flex-start;
    gap: 13%;
}

.visit-image {
    width: 40%; /* Zmenšení obrázků */
    height: auto;
    border-radius: 1px;
    box-shadow: 0 0 10px 2.5px rgba(1, 171, 78, 0.5);
}

.map-container {
    width: 100%;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 1px;
    filter: invert(90%) hue-rotate(180deg);
    box-shadow: 0 0 10px 2.5px rgba(1, 171, 78, 0.5);
}





footer {
    color: rgb(212, 212, 212);
    text-align: left;
    font-weight: 500;
    padding: 16px;
    padding-left: 11.5%;
    position: relative;
    width: 100%;
    font-size: 16px;
}



/* Šipka dolů */
.arrow-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 1.5s infinite ease-in-out;
}

.arrow-down img {
    width: 55px;  /* Velikost šipky */
    height: auto;
    opacity: 0.8;
    transition: 0.5s ease;
}

/* Efekt při najetí myší */
.arrow-down:hover img {
    opacity: 1;
    transform: scale(1.1);
}

/* Animace pohybu nahoru a dolů */
@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Aby šipka byla ve správném kontextu v každé sekci */
section {
    position: relative;
}




/* 🌍 Velké monitory (nad 1400px) */
@media (min-width: 1400px) {
    .text-uvod h1 {
        font-size: 7vw;
    }
}

/* 💻 Střední obrazovky (tablety, malé notebooky – do 1024px) */
@media (max-width: 1024px) {
    .uvod {
        flex-direction: column;
        text-align: center;
    }

    .text-uvod {
        max-width: 100%;
    }

    .text-uvod h1 {
        font-size: 8vw;
    }

    .methods-container {
        align-items: center;
        grid-template-columns: 1fr;
        gap: 5vw;
    }

    .method {
        min-width: 20%;
        width: 80%;
        aspect-ratio: 1 / 2.1;
    }


    .content-box {
        flex-direction: column;
        text-align: center;
    }

    .image-box img {
        max-width: 70%;
    }

    #come-visit{
        height: 105vh;
    }

    .visit-container {
        flex-direction: column;
        text-align: center;
    }

    .visit-images {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .visit-image {
        width: 70%;
    }
    
    .contact-info{
        text-align: left;
    }

}

/* 📱 Mobilní telefony (do 768px) */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    #uvod{
            height: 105vh;
    }

    #what-is-absinth{
        height: 130vh;
    }


    #come-visit{
        height: 110vh;
    }

    h2 {
        font-size: 2.2rem;
    }

    .text-box h2 {
        font-size: 2.4rem;
    }

    .text-box p {
        font-size: 1.2rem;
    }

    .content-box {
        max-width: 95%;
    }

    .method {
        max-width: 40%;
    }

    .image-box img {
        max-width: 90%;
    }

    .visit-container {
        gap: 10px;
    }

    .contact-item, .hours-container {
        font-size: 1rem;
    }

    .visit-image {
        width: 85%;
    }

    #how-to-drink{
        height: 75vh;
    }


}

/* 📲 Extra malé telefony (do 480px) */
@media (max-width: 480px) {
    .text-uvod h1 {
        font-size: 9vw;
    }

    .text-box h2 {
        font-size: 2rem;
    }

    .text-box p {
        font-size: 1rem;
    }

    #how-to-drink{
        height: 100vh;
    }

    .method {
        aspect-ratio: 3 / 5.5;
    }

    #come-visit{
        height: 130vh;
    }

    .arrow-down img {
        width: 44px;
    }
}









/* Věkové ověření - překryje stránku */
#age-verification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.90);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.age-box {
    background: #0b0b0b;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.age-box p {
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
}

.age-box button {
    margin: 10px;
    padding: 12px 24px;
    background: #13332f;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
}

.age-box button:hover {
    background: #1b4b44;
}

/* Zbytek stránky */
.content {
    display: none
    text-align: center;
    padding-top: 50px;
}


