/* Reset a základní nastavení */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #f8aa00;
    --primary-hover: #235d54;
    --success-color: #28a745;
    --error-color: #dc3545;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --border-color: #ddd;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@font-face {
    font-family: 'silkablack';
    src: url('silka/silka-black-webfont.eot');
    src: url('silka/silka-black-webfont.eot?#iefix') format('embedded-opentype'),
         url('silka/silka-black-webfont.woff2') format('woff2'),
         url('silka/silka-black-webfont.woff') format('woff'),
         url('silka/silka-black-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'silkabold';
    src: url('silka/silka-bold-webfont.eot');
    src: url('silka/silka-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('silka/silka-bold-webfont.woff2') format('woff2'),
         url('silka/silka-bold-webfont.woff') format('woff'),
         url('silka/silka-bold-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'silkaextra_light';
    src: url('silka/silka-extralight-webfont.eot');
    src: url('silka/silka-extralight-webfont.eot?#iefix') format('embedded-opentype'),
         url('silka/silka-extralight-webfont.woff2') format('woff2'),
         url('silka/silka-extralight-webfont.woff') format('woff'),
         url('silka/silka-extralight-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'silkalight';
    src: url('silka/silka-light-webfont.eot');
    src: url('silka/silka-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('silka/silka-light-webfont.woff2') format('woff2'),
         url('silka/silka-light-webfont.woff') format('woff'),
         url('silka/silka-light-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'silkamedium';
    src: url('silka/silka-medium-webfont.eot');
    src: url('silka/silka-medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('silka/silka-medium-webfont.woff2') format('woff2'),
         url('silka/silka-medium-webfont.woff') format('woff'),
         url('silka/silka-medium-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'silkaregular';
    src: url('silka/silka-regular-webfont.eot');
    src: url('silka/silka-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('silka/silka-regular-webfont.woff2') format('woff2'),
         url('silka/silka-regular-webfont.woff') format('woff'),
         url('silka/silka-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'silkasemibold';
    src: url('silka/silka-semibold-webfont.eot');
    src: url('silka/silka-semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('silka/silka-semibold-webfont.woff2') format('woff2'),
         url('silka/silka-semibold-webfont.woff') format('woff'),
         url('silka/silka-semibold-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'silkathin';
    src: url('silka/silka-thin-webfont.eot');
    src: url('silka/silka-thin-webfont.eot?#iefix') format('embedded-opentype'),
         url('silka/silka-thin-webfont.woff2') format('woff2'),
         url('silka/silka-thin-webfont.woff') format('woff'),
         url('silka/silka-thin-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body {
    font-family: 'silkaregular', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
      -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1145px;
    margin: 0 auto;
    padding: 0 133px;
}

.container::before {
    content:'';
    height: 100%;
    width: auto;
    background: url(poazdi-left.png) left top no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    display: block;
        min-width: 400px;
        z-index: 1;
}
.container::after {
    content:'';
    height: 100%;
    width: auto;
    background: url(pozadi-right.png) right top no-repeat;
    position: absolute;
    right: 0;
    top: 0;
    display: block;
    min-width: 400px;
    z-index: 1;
}
/* Header */
header {
    background-color: var(--white);
    padding: 40px 0;
    text-align: center;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.5rem;
    color: var(--text-color);
}

/* Main content */
main {
    min-height: calc(100vh - 300px);
    padding: 40px 0;
}

.email-form-section {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 0 auto;
}

.email-form-section h2 {
    margin-bottom: 30px;
    color: var(--text-color);
    font-size: 2rem;
    text-align: center;
}

/* Zprávy */
.message {
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 4px;
    font-weight: 500;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Formulář */
.email-form {
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #eae5e4;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background:#eae5e4;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f8aa00;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
        background:#ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 150px;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.submit-btn:hover {
    background-color: var(--primary-hover);
}

.submit-btn:active {
    transform: scale(0.98);
}

/* Footer */
.footer {
    background-color: #4f2c1d;
    padding: 30px 0;
    text-align: center !important;
    margin-top: 60px;
    width: 100%;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    color: white;
    position:relative;
    z-index: 2;
}

.footer span {
    color:#f8aa00;
}

.footer a {
    color:#ffffff;
    text-decoration: none;
}

.footer a:hover {
    color:#f8aa00;
    text-decoration: underline;
}


.footer p {
    color: #ffffff;
}

/* Responzivní design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .email-form-section {
        padding: 25px;
    }
    
    .email-form-section h2 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }
    
    .email-form-section {
        padding: 20px;
    }
    
    .submit-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

.logo {
    padding-top: 60px;
    padding-bottom: 60px;
    margin: 0 auto;
    text-align: center;
}


.title {
    color:#4f2c1d;
    font-size: 50px;
    line-height: 65px;
    padding-bottom: 40px;
    font-family: 'silkabold';
}

.text2 {
    color:#4f2c1d;
    font-size: 36px;
    line-height:40px;
}


.text3 {
    color:#f8aa00;
    font-size: 48px;
    line-height:56px;
        font-family: 'silkabold';
        padding-top:20px;
        padding-bottom: 40px;
            display: inline-block;
}
.formular {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}
.formular .text {
    color:#4f2c1d;
    font-size: 26px;
    line-height:36px;
    padding-bottom:20px;
    display: inline-block;
}
.form-group {
    display: flex;
    flex-direction: row;
}

.images {
    padding-top:40px;
    text-align: center;
}

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

.texty {
    max-width: 685px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

@media screen and (max-width: 1420px){
    .logo {
    padding-top: 40px;
    padding-bottom: 40px;
}


.title {
    color:#4f2c1d;
    font-size: 35px;
    line-height: 55px;
    padding-bottom: 20px;
}

.text2 {
    color:#4f2c1d;
    font-size: 24px;
    line-height:30px;
}


.text3 {
    color:#f8aa00;
    font-size: 36px;
    line-height:42px;
    font-family: 'silkabold';
    padding-top:10px;
    padding-bottom: 20px;
}
.formular .text {
    color:#4f2c1d;
    font-size: 20px;
    line-height:26px;

}
}

@media screen and (max-width: 1380px){
.container::before {
    content:'';
    height: 100%;
    width: auto;
    background: url(pozadi-left-m.png) left top no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    display: block;
        min-width: 400px;
        z-index: 1;
}
.container::after {
    content:'';
    height: 100%;
    width: auto;
    background: url(pozadi-right-m.png) right top no-repeat;
    position: absolute;
    right: 0;
    top: 0;
    display: block;
    min-width: 400px;
    z-index: 1;
}
}

@media screen and (max-width: 768px){
    .images {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media screen and (max-width: 690px){
    .logo img{
               width: 120px;
    }
    .container::before {
    content:'';
    height: 100%;
    width: auto;
    background: url(pozadi-left-m.png) left top no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    display: block;
        min-width: 170px;
        z-index: 1;
        background-size: contain;
}
.container::after {
    content:'';
    height: 100%;
    width: auto;
    background: url(pozadi-right-m.png) right top no-repeat;
    position: absolute;
    right: 0;
    top: 0;
    display: block;
         min-width: 170px;
        z-index: 1;
        background-size: contain;
}
}

@media screen and (max-width: 540px){
        .logo img{
               width: 100px;
    }
       .container::before {
        min-width: 120px;
}
.container::after {

         min-width: 120px;
} 

    .title {
        color: #4f2c1d;
        font-size: 33px;
        line-height: 35px;
        padding-bottom: 20px;
    }

    .text3 {
        color: #f8aa00;
        font-size: 26px;
        line-height: 32px;
    }

        .text2 {
        color: #4f2c1d;
        font-size: 20px;
        line-height: 47px;
    }
    .bartak {
            display: block;
    }
}

.bartak {
    color: white !important;
    font-weight: bold;
}