@font-face {
  font-family: Dujitsu;
  src: url(DujitsuFont-Demo.otf);
}

@font-face {
  font-family: champagne;
  src: url(ChampagneAndLimousines-7KRB.ttf);
}

body, html {
    background-color: #555;
    color: white;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Dujitsu, sans-serif;
    box-sizing: border-box; /* Důležité pro správné počítání šířky s rámečky */
}

a:hover
{
    font-size: larger;
    transition: 0.1s ease;
}

/* Toto zajistí, že padding a border nezvětšují element nad 100% */
*, *::before, *::after {
    box-sizing: inherit;
}

/* === HLAVNÍ KONTEJNERY === */
.layout-section {
    width: 100%;
    margin-bottom: 50px;
}

/* Obal pro vycentrování hlavičky */
.header-wrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 20px 0;
    text-decoration: none;
    color: white;
}

.header-wrapper,a
{
    text-decoration: none;
    color: white;
}

/* Styl šedé pilulky (header) */
.header-pill {
    background-color: transparent;
    color: white;
    padding: 10px 80px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filler-ramecek
{
    text-align: center;
    width: 100%;
}

.filler{
    width: 100%;
    height: 15rem;
    background-color: #555;
}
/* === RŮŽOVÝ RÁMEČEK (Společný pro obě varianty) === */
.pink-container {
    width: 100%;
    /* Rámeček 15px, barva #ffadad */
    border: 15px transparent;
    background: #555;
    display: flex;
    /* Minimální výška, aby to nevypadalo spláclě, pokud tam není obsah */
    min-height: 400px;
}

.pink-container, p
{
    font-family: champagne;
}

.pink-container, h1
{
    font-family: Dujitsu;
}

/* === VARIANTA 1: SPLIT LAYOUT (Text + Obrázek) === */
.split-layout {
    flex-direction: row;
    align-items: stretch; /* Roztáhne prvky na celou výšku kontejneru */
}

.content-left {
    flex: 1; /* Zabere zbývající místo (cca 50-60%) */
    padding: 10rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white; /* Barva nadpisu podle zadání */
}

.content-left h1 {
    font-size: 10rem;
    margin: 0;
}

.content-left p {
    color: white;
    font-size: 3rem;
}

.content-right-image {
    width: 60%; /* Pevná šířka pro obrázek (nebo nastav flex: 1 pro 50:50) */
    position: relative; /* Nutné pro absolutní pozicování obrázku uvnitř */
}

.content-right-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zajistí, že obrázek pokryje celou plochu bez deformace */
    display: block;
}

footer {
    background-color: rgb(255, 255, 255);
    color: black;
    text-align: center;
    padding: 60px 20px;
}

footer h3 {
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

footer p {
    margin-bottom: 5px;
    font-size: 0.9rem;
    opacity: 0.8;
}

footer .email {
    font-weight: bold;
    margin-top: 10px;
    opacity: 1;
}

/* === RESPONZIVITA (PRO MOBILY) === */
@media (max-width: 768px) {
    /* U první varianty dáme věci pod sebe */
    .split-layout {
        flex-direction: column; 
    }
    
    .content-right-image {
        width: 100%;
        height: 300px; /* Na mobilu musí mít obrázek fixní výšku */
    }

    .content-right-image2 {
        width: 70%;
        height: 150px; /* Na mobilu musí mít obrázek fixní výšku */
    }



    /* U druhé varianty taky pod sebe */
    .columns-layout {
        flex-direction: column;
        gap: 20px;
    }
}