@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* ------------- OBECNÉ NASTAVENÍ ------------- */
:root {
    --color-accent: #c0392b;
    --header-height: 90px;
}

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

body {
    background-color: #121212;
    font-family: "Inter";
    color: #f5f5f5;
}

.container {
    width: 80%;
    margin-inline: auto;
}

.section {
    padding: 7rem 0 13rem;
    position: relative;
    color: whitesmoke;
}

/* opakující se pozadí */
.section-pattern {
    background: 
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
    url("img/backround.jpg");
    background-repeat: repeat;
    background-size: auto;
}

b {
    font-weight: 630;
}

/* ------------ Titulky a texty ------------ */
.section-title {
    font-family: "Cinzel";
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-title--center {
    text-align: center;
}

.section-subtitle {
    color: #dddddd;
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
}

/* ------------- ČERVENÁ LINKA MEZI SEKCEMI ------------- */
.section::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0rem;
    transform: translateX(-50%);
    width: min(1200px, 90%);
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 44, 21, 0.85),
        transparent
    );
}




/* ----------------- NAVBAR ----------------- */
.site-header {
    font-family: "Cinzel";
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    height: var(--header-height);
    z-index: 100;
    padding-top: 0px;
    background: rgba(6, 6, 9, 0.692);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, backdrop-filter 0.2s ease;
}

.main-nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.3rem;              
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-img {
    display: block;
    height: 70px;          
    width: auto;
    filter: invert(1);  
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    margin-top: 13px;       
}

.nav-logo-text span {
    color: white;
    font-weight: 700;         
    font-size: 0.65rem;    
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;  
}

.nav-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
    font-size: 0.95rem;
    font-weight: 600;
}

.nav-link {
    color: whitesmoke;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    position: relative;
    padding-block: 0.25rem;
}

.nav-link::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    inset-block-end: 0;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--color-accent);
    transition: 0.2s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    transform: scaleX(1);
}


/* ------------- HAMBURGER MENU na telefonu ------------- */
.nav-toggle {
    display: none;
    width: 36px;
    height: 30px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 10px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* animace hamburgeru při otevřeném menu */
.site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}


/* ---------------- ŠIPEČKA NA KONCI SEKCÍ ---------------- */
.scroll-arrow {
  margin-top: 1.5rem;
  width: 40px;
  height: 40px;
  display: inline-flex;
  margin: auto;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  animation: arrowFloat 2s ease-in-out infinite;
  background-color: rgba(29, 29, 29, 0.911);
  border-radius: 100%;
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease;
}

.scroll-arrow span {
  width: 14px;
  height: 14px;
  border-right: 3px solid #e2a11f;
  border-bottom: 3px solid #e2a11f;
  transform: rotate(45deg);
}

.scroll-arrow:hover span {
  filter: brightness(1.2);
}


@keyframes arrowFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0);
  }
}




/* ----------------- SEKCE 1 - Hledáme parťáka ----------------- */

.hledamePartaka-section {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 6rem;              
    min-height: 94vh;
    display: flex;
    align-items: center;             
    position: relative;       
}

/* linka za sekcí*/
.hledamePartaka-section::after {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    margin: 0; 
}

.hledamePartaka-layout {
    max-width: 1400px;
    align-items: center;
    display: flex; 
    justify-content: center;
    gap: 5rem;
}

/* TEXT VLEVO */
.hledamePartaka-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hledamePartaka-title {
    font-family: "Cinzel";
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-accent);
    text-align: left;
}

.hledamePartaka-podtitle{
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-align: left;
    color: #dfdfdf;
}

.hledamePartaka-description {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.7;
    color: #dddddd;
    text-align: left;
}

/* FOTO vpravo */
.hledamePartaka-photo {
    width: 100%;
    min-width: 40%;
    max-width: 50%;
   overflow: hidden;
}

.hledamePartaka-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}




/* ------------------- SEKCE 2 - Co děláme? ------------------ */

.coDelame-section {
    padding-top: 3rem;
    padding-bottom: 4rem;              
    min-height: 70vh;
    display: flex;
    align-items: center;             
    position: relative;       
}

/* linka za sekcí*/
.coDelame-section::after {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    margin: 0; 
}

.coDelame-layout {
    max-width: 1400px;
    align-items: center;
    display: flex; 
    justify-content: center;
    gap: 5rem;
}


/* TEXT VPRAVO */
.coDelame-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.coDelame-title {
    font-family: "Cinzel";
    font-size: 2.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-accent);
    text-align: left;
}

.coDelame-description {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.7;
    color: #dddddd;
    text-align: left;
}

/* FOTO VLEVO */
.coDelame-photo {
    width: 100%;
    min-width: 40%;
    max-width: 50%;
   overflow: hidden;
}

.coDelame-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}





/* ---------------- SEKCE 3 - Naše tvorba (galerie) ---------------- */

.gallery-section {
    padding-top: 5rem;
    padding-bottom: 4rem;
}

.gallery-section .section-title {
    color: var(--color-accent);
    text-align: center;
    letter-spacing: 0.15em;
}

.gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.gallery-grid {
    column-count: 4;
    column-gap: 1.2rem;

    width: 100%;
    margin: 0 auto;
    max-width: 1350px;

}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: #101010;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}





/* ---------------- SEKCE 4 - Koho hledáme? ---------------- */

.kohoHledame-section {
    padding-top: 6rem;
    padding-bottom: 6rem;              
    min-height: 80vh;
    display: flex;
    align-items: center;             
    position: relative;       
}

/* linka za sekcí*/
.kohoHledame-section::after {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    margin: 0; 
}

.kohoHledame-layout {
    max-width: 1400px;
    align-items: center;
    display: flex; 
    justify-content: center;
    gap: 5rem;
}


/* TEXT VLEVO */
.kohoHledame-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.kohoHledame-title {
    font-family: "Cinzel";
    font-size: 2.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-accent);
    text-align: left;
}

.kohoHledame-description {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.7;
    color: #dddddd;
    text-align: left;
    margin-bottom: 1px;
}

/* FOTO VPRAVO */
.kohoHledame-photo {
    width: 100%;
    min-width: 40%;
    max-width: 50%;
   overflow: hidden;
}

.kohoHledame-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}




/* --------------- SEKCE 5 - Co požadujeme? --------------- */

.coPozadujeme-section {
    padding: 8rem 0 8rem;
}

.coPozadujeme-layout {
    gap: 4rem;
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
}

/* TEXT */
.coPozadujeme-title {
    font-family: "Cinzel";
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.coPozadujeme-description {
    font-size: 1.05rem;
    color: #d1d1d1;
    margin-bottom: 2rem;
    font-weight: 300;
    margin: auto;
    margin-bottom: 2rem;
}

/* POLOŽKY */
.coPozadujeme-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.coPozadujeme-item {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.6rem; 
    background: rgba(255,255,255,0.01);
    border: 1px solid rgb(29, 29, 29);
    border-radius: 14px;
    backdrop-filter: blur(6px);

}

.coPozadujeme-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.coPozadujeme-item h3 {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: #d14232d8;
    margin-bottom: 0.3rem;
}

.coPozadujeme-item p {
    font-size: 0.90rem;
    line-height: 1.4;
    color: #cccccc;
    font-style: italic;
}




/* --------------------- SEKCE 6 - Co nabízíme? --------------------- */

.coNabizime-section {
    padding: 8rem 0 8rem;
}

.coNabizime-layout {
    gap: 4rem;
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
}

/* TEXT */
.coNabizime-title {
    font-family: "Cinzel";
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.coNabizime-description {
    font-size: 1.05rem;
    color: #d1d1d1;
    margin-bottom: 2rem;
    font-weight: 300;
    max-width: 1000px;
    margin: auto;
    margin-bottom: 2.5rem;
    line-height: 1.4;
}

/* POLOŽKY */
.coNabizime-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.coNabizime-item {
    text-align: left;
    display: flex;
    gap: 1rem;
    padding: 1.6rem;
    background: rgba(255,255,255,0.01);
    border: 1px solid rgb(29, 29, 29);
    border-radius: 14px;
    backdrop-filter: blur(6px);
}

.coNabizime-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-right: 10px;
}

.coNabizime-item h3 {
    font-size: 1.14rem;
    letter-spacing: 0.05em;
    color: #d14232d8;
    margin-bottom: 0.3rem;
}

.coNabizime-item p {
    font-size: 0.90rem;
    line-height: 1.4;
    color: #d6d6d6;
}

.coNabizime-item p b {
    font-weight: 700;
}



/*------------------- Sekce 7 - Formulář -------------------**/
.formular-section {
    padding-bottom: 8rem;
   
}

.formular-section .section-title {
    color: var(--color-accent);
    letter-spacing: 0.1rem;
    margin-bottom: 0;
    font-size: 2.9rem;
}

.formular-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    max-width: 1200px;
}

.formular-wrapper p{
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.formular-form {
    width: 90%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.3rem;
    border: 1.5px solid rgb(114, 114, 114);
    border-radius: 5px;
    background: #121212;
    color: white;
    font-size: 1rem;
}

.form-textarea {
    width: 100%;
    height: 150px;
    min-height: 100px;
    padding: 1rem 1.3rem;
    border: 1.5px solid rgb(114, 114, 114);
    border-radius: 14px;
    background: #121212;
    color: whitesmoke;
    font-size: 1rem;
    resize: vertical;
}

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

.form-submit {
    background: var(--color-accent);
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: whitesmoke;
    cursor: pointer;
    transition: 0.2s;
}

.form-submit:hover {
    transform: scale(1.05);
    background: #e6483ad7;
}


/* ------------------- FOOTER ------------------- */
.site-footer {
    background: #121212;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.8rem 0;
    font-size: 1rem;
    font-weight: 300;
    color: #dddddd;
    text-align: center;
}



/* ------------------- RESPONZIVITA ------------------- */

@media(max-width:1500px){
    .nav-menu{
        font-size: 13px;
        gap: 2rem;
    }
}

@media (max-width: 1200px) {

    .container {
        width: 88%;
    }

    .hledamePartaka-layout {
        gap: 3rem;
    }

    .coDelame-layout {
        gap: 3rem;
    }

    .kohoHledame-layout {
        gap: 3rem;
    }

    .gallery-grid {
        column-count: 3;
    }

    .nav-menu{
        font-size: 11px;
        gap: 1rem;
    }

    .container {
        width: 90%;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        inset-inline: 0;
        top: var(--header-height);
        background: rgba(6, 6, 9, 0.97);
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem 0;
        display: none;
    }

    .site-header.nav-open .nav-menu {
        display: flex;
    }

    .nav-menu .nav-link {
        font-size: 0.95rem;
    }
}


@media (max-width: 1024px){
    .coPozadujeme-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .coPozadujeme-items {
        grid-template-columns: 1fr;
    }

    .coPozadujeme-item {
        text-align: left;
    }

    .coNabizime-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .coNabizime-items {
        grid-template-columns: 1fr;
    }

    .coNabizime-item {
        text-align: left;
    }

    .gallery-grid {
        column-count: 2;
    }
}


@media (max-width: 900px) {
    .hledamePartaka-layout {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hledamePartaka-text {
        align-items: center;
    }

    .hledamePartaka-title,
    .hledamePartaka-description {
        text-align: center;
    }

    .hledamePartaka-photo {
        max-width: 55%;
        margin-inline: auto;
    }

    .coDelame-layout {
        flex-direction: column;
        text-align: center;
    }

    .coDelame-text {
        align-items: center;
    }

    .coDelame-title,
    .coDelame-description {
        text-align: center;
    }

    .coDelame-photo {
        max-width: 55%;
        margin-inline: auto;
    }

    .kohoHledame-layout {
        flex-direction: column-reverse;
        text-align: center;
    }

    .kohoHledame-text {
        align-items: center;
    }

    .kohoHledame-title,
    .kohoHledame-description {
        text-align: center;
    }

    .kohoHledame-photo {
        max-width: 55%;
        margin-inline: auto;
    }
}


@media (max-width: 768px) {
    .hledamePartaka-section {
        min-height: auto;
        padding-top: calc(var(--header-height) + 2.5rem);
        padding-bottom: 4rem;
    }

    .hledamePartaka-title {
        font-size: 2.2rem;
    }

    .hledamePartaka-description {
        font-size: 1.05rem;
    }

    .kohoHledame-section {
        min-height: auto;
        padding-top: calc(var(--header-height) + 2.5rem);
        padding-bottom: 4rem;
    }

    .kohoHledame-title {
        font-size: 2.2rem;
    }

    .kohoHledame-description {
        font-size: 1.05rem;
    }

    .uvod-btn {
        font-size: 1.1rem;
        padding: 10px 24px;
    }

    .coDelame-section {
        min-height: auto;
        padding-top: calc(var(--header-height) + 2.5rem);
        padding-bottom: 4rem;
    }

    .coDelame-title {
        font-size: 2.2rem;
    }

    .coDelame-description {
        font-size: 1.05rem;
    }

    .gallery-grid {
        column-count: 1;
        width: 80%;
    }

    .formular-form {
        width: 100%;
    }

    .form-bottom {
        flex-direction: column;
        gap: 1rem;
    }

    .form-submit {
        order: 2;
        width: 40%;
        text-align: center;
    }

    .back-button-wrapper {
        margin-top: 60px;
    }

    .back-button {
        width: 100%;
        max-width: 320px;
    }  

    .coPozadujeme-layout{
       max-width: 90%;
    }

    .coPozadujeme-text
    {
        max-width: 90%;
    }

    .coPozadujeme-title{
    font-size: 2.2rem;
    }

    .coNabizime-layout{
       max-width: 90%;
    }

    .coNabizime-text
    {
        max-width: 90%;
    }

    .coNabizime-title{
    font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hledamePartaka-title {
        font-size: 2rem;
    }

    .hledamePartaka-description {
        font-size: 1rem;
    }

    .kohoHledame-title {
        font-size: 2rem;
    }

    .kohoHledame-description {
        font-size: 1rem;
    }

    .coDelame-title {
        font-size: 2rem;
    }

    .coDelame-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .back-button {
        font-size: 1.05rem;
        padding: 14px 24px;
    }
}
