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


:root {
    --primary-color: #dc2626;
    --primary-dark-color: #a71c1c;
    --primary-light-color: #fee2e2;
    --text-1-color: #374151;
    --text-2-color: #4b5563;
    --text-3-color: #fafafa;
    --text-headline-color: #111827;
    --background-color: #ffffff;
    --background-dark-color: #f9fafb;

    --font-size-text: 16px;
    --font-size-text-smaller: 14px;
    --font-size-title: 34px;
    --font-size-subtitle: 20px;

    --box-shadow: 0 2px 8px rgba(0,0,0,0.1);

}

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

body {
    font-family: 'Inter';
    font-style: normal;
    font-size: var(--font-size-text);
    line-height: 1.6;
    color: var(--text-1-color);
}

/* Header */
.container-header {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    position: relative;
}

.header {
    background: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
    z-index: 1000;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
}

.nav {
    display: flex;
    gap: 1rem;
}

.nav a {
    margin: 0 0.5rem;
    color: var(--text-1-color);
    text-decoration: none;
    transition: color 0.2s ease;
}
.nav a:hover {
    color: var(--primary-color);
}

.nav-info-with-img {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nav-info-with-img img {
    width: 20px;
    height: 20px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: var(--text-2-color);
}

/* Hamburger button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--text-1-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* --- Animation --- */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile styles */
@media screen and (max-width: 1000px) {
    .nav {
        position: absolute;
        top: 70px;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        gap: 1rem;
        width: 200px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
    }

    .nav.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .contact-info {
        display: none; /* skryjeme na mobiloch */
    }
}

/* Hero */
.hero {
    background: url('images/hero-bg.png') center/cover no-repeat; 
    height: 600px;
    position: relative;
    z-index: 0  ;
}
.hero .overlay {
    background: rgba(0,0,0,0.4);
    position: absolute;
    inset: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: end;
    justify-content: center;
    padding-bottom: 70px;
}

/* Sections */
.section {
    padding: 64px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    scroll-margin-top: 64px;
}
.section-dark {
    background: var(--background-dark-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Text */
.text-highlight {
    color: var(--primary-color);
}

.title{
    font-size: var(--font-size-title);
    color: var(--text-headline-color);
    text-align: center;
}

.subtitle{
    font-size: var(--font-size-subtitle);
    color: var(--text-headline-color);
    text-align: center;
}

/* Partner */
.partner-text-1{
    font-size: 18px;
    color: var(--text-1-color);
    text-align: center;
}

.partner-text-2{
    font-size: 16px;
    color: var(--text-2-color);
    width: 50%;
    text-align: center;
}

/* O nas */
.o-nas-content{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 70%;
    gap: 50px;
}

.o-nas-left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.o-nas-left-column p{
    margin-bottom: 24px;
}

.o-nas-right-column {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.o-nas-right-column .card {
    padding: 30px;
    background: var(--background-color);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    width: 100%;
}

.o-nas-list {
    list-style-type: disc;
    padding-left: 20px;
}

.o-nas-list li::marker {
    color: var(--primary-color);
    font-size: 1.3rem;
}

@media screen and (max-width: 900px) {
    .o-nas-content {
    flex-direction: column;
    width: 100%;
    gap: 30px;
    }

    .o-nas-left-column,
    .o-nas-right-column {
    width: 100%;
    align-items: flex-start;
    }

    .o-nas-right-column .card {
    width: fit-content;
    }
}


/* Historia */
.timeline {
    position: relative;
    width: 70%;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.left::before {
    right: -9px;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::before {
    left: -9px;
}

.timeline-item .content {
    background: var(--background-dark-color);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.timeline-item.left .content {
    margin-right: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.timeline-item.right .content {
    margin-left: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.timeline-item h3 {
    color: var(--text-headline-color);
    margin-bottom: 5px;
}

@media screen and (max-width: 900px) {
    .timeline::after {
    display: none;
    }

    .timeline-item::before {
    display: none;
    }

    .timeline-item {
    width: 100%;
    left: 0 !important;
    padding: 0;
    text-align: left;
    }

    .timeline-item .content {
    margin: 0 0 1.5rem 0;
    }

    .timeline-item.left .content {
        margin-right: 0px;
    }

    .timeline-item.right .content {
        margin-left: 0px;
    }
}

/* Divize */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.grid-3 .card {
    padding: 24px;
    background: var(--background-color);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.grid-3 .card h3 {
    color: var(--text-headline-color);
    margin-bottom: 12px;
}

.grid-3 .card p {
    text-align: center;
    color: var(--text-2-color);
    margin-bottom: 12px;
}

.grid-3 .card ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
    width: 100%;
    font-size: var(--font-size-text-smaller);
}


@media screen and (max-width: 900px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* CTA */
.section-cta {
    background: var(--primary-color);
}

.section-cta h1,
.section-cta p{
    color: #ffffff;
}

.cta-text{
    font-size: 18px;
    color: var(--text-1-color);
    text-align: center;
    margin-bottom: 30px;
    width: 50%;
}

/* Footer */
.footer {
    background: var(--text-headline-color);
    padding: 64px 0 0 0 ;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.footer-container{
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.grid-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    margin-bottom: 20px;
}

.footer .logo-footer{
    width: 250px;
    margin-bottom: 20px;
}
.footer h3{
    color: #fff;
    margin-bottom: 12px;
}

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

.footer .image-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.footer .image-text{
    width: 60%;
}

.footer a,
.footer p {
    color: #9CA3A6;
    text-decoration: none;
    display: block;
    margin: 5px 0;
}
.footer a:hover {
    color: #ffffff;
}

.copy {
    text-align: center;
    width: 90%;
    text-align: center;
    border-top: solid 1px #9ca3a63b;
    color: #9CA3A6;
    padding: 20px 0;
}

@media screen and (max-width: 900px) {
    .grid-footer {
        grid-template-columns: 1fr;
    }
}

/* Kontakt */
.back-to-home{
    text-decoration: none;
    color: var(--text-1-color);
}

.back-to-home:hover{
    color: var(--primary-color);
}

.contact-text{
    text-align: center;
    width: 50% ;
}

.grid-3-contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
}

.grid-3-contact .card{
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    background: var(--background-dark-color);
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding: 30px;
}

.grid-3-contact .card h3{
    margin-bottom: 20px;
    color: var(--text-headline-color);
}

.grid-3-contact .card h2{
    color: var(--text-1-color);
    font-size: var(--font-size-text);
    margin-bottom: 15px;
}

.grid-3-contact .card p{
    font-size: var(--font-size-text-smaller);
    color: var(--text-2-color);
}

@media screen and (max-width: 900px) {
    .grid-3-contact {
        grid-template-columns: 1fr;
    }
}

.grid-2-contact{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
}


.grid-2-contact .contact-left-column {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.grid-2-contact .contact-right-column {
    display: flex;
    flex-direction: column;
    width: 100%;

    gap: 15px;

}

@media screen and (max-width: 900px) {
    .grid-2-contact {
        grid-template-columns: 1fr;
    }
}

.form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form .name-number{
    display: flex;
    gap: 15px;
}

.form input, .form textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

@media screen and (max-width: 900px) {
    .form .name-number{
    flex-direction: column;
}
}

.map,
.opening-hours,
.data {
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

.opening-hours,
.data {
    padding: 20px;
}

.opening-hours .content{
    display: flex;
    justify-content: space-between;
}

.opening-hours .day,
.opening-hours .hour {
    flex: 1;
}

.opening-hours .day p{
    text-align: left;
}

.opening-hours .hour p{
    text-align: right;
}

.form-message{
    margin-top: 20px;
    color: green;
}

/* Buttons */
.button {
    padding: 8px 32px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 5px;
    text-decoration: none;
}

.button-primary {
    padding: 8px 32px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 5px;
    text-decoration: none;
    background: var(--primary-color);
    color: var(--text-3-color);
}

.button-primary:hover {
    background: var(--primary-dark-color);
}

.button-white {
    padding: 8px 32px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 5px;
    text-decoration: none;
    background: var(--background-color);
    color: var(--primary-color);
}

.button-white:hover {
    background: var(--background-dark-color);
    color: var(--text-headline-color);
}

/* Image icons */
.image-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 12px;
    padding: 10px;
    background-color: #dc262627;
    border-radius: 50%;
}

.image-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Cookie Banner */
.cookie-window{
    position: fixed;
    width: 60%;
    z-index: 1000;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--background-dark-color);
    color: var(--text-1-color);
    padding: 20px 35px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    border: solid 2px var(--primary-color);
    font-size: var(--font-size-text);
    display: none;
}

@media screen and (max-width: 900px) {
    .cookie-window {
        width: 90%;
    }
}
