:root {
    --color-primary: #152847;
    --color-secondary: #F4ECE6;
    --color-accent: #F55A3D;
    --color-footer: #0A1629;
    --color-border: #2B5182;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 120px;
}

.footer .container {
    padding: 0 20px;
}

/* Header */
.header {
    padding: 24px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    width: 65px;
    height: auto;
}

/* Hero section */
.hero {
    position: relative;
    height: 100vh;
    background-image: url('assets/hero-img.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-height: 800px;
}


.hero .container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    max-height: 800px;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    gap: 40px;
    flex: 1;
    padding: 0;
    align-items: flex-end;
    padding-bottom: 80px;
}

.hero-left {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 24px;
}

.hero-right {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.hero-title {
    font-family: 'Sabon LT Pro', serif;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 400;
    color: #F4ECE6;
    max-width: 560px;
}

.hero-title em {
    font-style: italic;
    color: #F4ECE6;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.4;
}

.hero-info {
    background-color: rgba(21, 40, 71, 0.85);
    padding: 24px;
    border-radius: 16px;
    max-width: 360px;
}

.hero-name {
    font-family: 'Sabon LT Pro', serif;
    font-size: 24px;
    margin-bottom: 4px;
    color: var(--color-secondary);
    font-style: italic;
}

.hero-position {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--color-secondary);
}

.hero-description {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-secondary);
    opacity: 0.8;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    border: none;
    border-radius: 8px;
    font-family: 'Sabon LT Pro', serif;
    font-size: 20px;
    font-style: italic;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 32px;
    width: fit-content;
}

.cta-button:hover {
    background-color: #F55A3D;
    color: var(--color-secondary);
    opacity: 1;
}

/* Newsletter section */
.newsletter-section {
    padding: 100px 0;
    background-color: var(--color-primary);
    position: relative;
    overflow: hidden;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.newsletter-left {
    width: 50%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.newsletter-right {
    width: 50%;
    display: flex;
    justify-content: flex-end;
}

.newsletter-title {
    font-size: 40px;
    line-height: 1.2;
    color: var(--color-text);
    margin: 0;
    text-align: left;
    max-width: 500px;
    font-family: 'Sabon LT Pro', serif;
    font-weight: 400;
}

.newsletter-title em {
    display: inline;
    font-size: 40px;
    font-style: italic;
    font-family: 'Sabon LT Pro', serif;
    font-weight: 400;
}

.newsletter-form {
    max-width: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.form-label {
    font-size: 16px;
    color: var(--color-secondary);
    opacity: 1;
    cursor: pointer;
}

.form-label:hover,
.form-label:focus {
    opacity: 0.9;
}

.form-input {
    padding: 12px 16px;
    background-color: rgba(244, 236, 230, 0.03);
    border: 1px solid rgba(244, 236, 230, 0.1);
    backdrop-filter: blur(0.25px);
    border-radius: 8px;
    color: var(--color-secondary);
    font-size: 16px;
    width: 100%;
}

.form-input::placeholder {
    color: rgba(244, 236, 230, 0.4);
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.form-select-wrapper {
    position: relative;
    display: flex;
    width: 100%;
}

.form-select {
    flex: 1;
    padding: 12px 16px;
    background-color: var(--color-primary);
    border: 1px solid var(--color-secondary);
    border-radius: 8px;
    color: var(--color-secondary);
    font-size: 16px;
    appearance: none;
    width: 100%;
}

.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
}

.checkbox-input {
    width: 20px;
    height: 20px;
    border: 1px solid var(--color-secondary);
    border-radius: 6px;
    margin: 0;
    accent-color: var(--color-accent);
    cursor: pointer;
}

.checkbox-input:checked {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.checkbox-input:checked:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.checkbox-label {
    font-size: 12px;
    line-height: 1.33;
}

.checkbox-label a {
    color: var(--color-secondary);
    text-decoration: underline;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.checkbox-label a:hover {
    opacity: 1;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: var(--color-accent);
    color: var(--color-secondary);
    border: none;
    border-radius: 8px;
    font-family: 'Sabon LT Pro', serif;
    font-size: 20px;
    font-style: italic;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
    margin: 4px 0;
}

.submit-button:hover {
    background-color: var(--color-secondary);
    color: var(--color-accent);
}

.privacy-notice {
    font-size: 12px;
    line-height: 1.33;
    opacity: 0.8;
    margin-top: 12px;
}

.privacy-notice a {
    color: var(--color-secondary);
    text-decoration: underline;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.privacy-notice a:hover {
    opacity: 1;
}

.newsletter-decoration {
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 100%;
    max-width: 467px;
    height: auto;
    z-index: 1;
}

/* Footer */
.footer {
    background-color: var(--color-footer);
    display: flex;
    min-height: 220px;
    align-items: center;
}

.footer-content {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.footer-left {
    width: 20%;
    padding-right: 24px;
    display: flex;
    justify-content: flex-start;
}

.footer-right {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    width: 127px;
    height: auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 0px;
}

.social-links {
    display: flex;
    gap: 24px;
    align-items: center;
    width: 50%;
    padding-top: 20px;
    border-top: 1px solid #2B5182;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.social-icon {
    max-width: 24px;
    height: auto;
}

.social-link:hover {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 32px;
    width: 50%;
    padding-top: 20px;
    border-top: 1px solid #2B5182;
    justify-content: flex-end;
}

.footer-link {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 16px;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    margin-top: 20px;
    border-top: 1px solid #2B5182;
    padding-top: 20px;
}

.copyright {
    font-size: 14px;
    color: var(--color-secondary);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.is-open {
    display: block;
    opacity: 1;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.is-open .modal-overlay {
    opacity: 1;
}

.modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 600px;
    background-color: var(--color-primary);
    border-radius: 16px;
    padding: 40px;
    opacity: 0;
    transition: all 0.3s ease;
}

.modal.is-open .modal-container {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.modal-content {
    background-color: rgb(21 40 71 / 68%);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    max-height: calc(90vh - 40px);
    overflow-y: auto;
    backdrop-filter: blur(1.5px);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    color: var(--color-secondary);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.modal-close:hover {
    opacity: 1;
}

.modal-title {
    font-family: 'Sabon LT Pro', serif;
    font-size: 32px;
    color: var(--color-secondary);
    margin: 0 0 24px;
    font-weight: 400;
}

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

.contact-form .form-group {
    margin: 0;
}

.contact-form .form-input {
    background-color: rgba(244, 236, 230, 0.03);
    border: 1px solid rgba(244, 236, 230, 0.1);
    backdrop-filter: blur(0.25px);
}

.contact-form .form-textarea {
    min-height: 100px;
    resize: vertical;
}

.contact-form .checkbox-group {
    margin: 4px 0;
}

.contact-form .submit-button {
    margin: 4px 0;
    font-style: italic;
}

.contact-form .privacy-notice {
    font-size: 12px;
    line-height: 1.5;
    opacity: 0.7;
    margin: 0;
}

/* Přidáme scrollbar styling */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(244, 236, 230, 0.1);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(244, 236, 230, 0.2);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(244, 236, 230, 0.3);
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        padding: 0 60px;
    }

    .footer .container {
        padding: 0 60px;
    }
}

@media (max-width: 768px) {
    .container,
    .footer .container {
        padding: 0 20px;
    }

    .hero-content {
        flex-direction: column;
        gap: 18px;
        padding-bottom: 30px;
        height: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .hero-left,
    .hero-right {
        max-width: 100%;
        gap: 18px
    }

    .hero-title {
        font-size: 32px;
        line-height: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .cta-button {
        width: 100%;
        margin: 0px
    }

    .newsletter-section {
        padding: 80px 0;
    }
    .newsletter-decoration {
        position: absolute;
        top: 0;
        left: 20%;
        width: 100%;
        max-width: 267px;
        height: auto;
        z-index: 1;
        transform: rotate(180deg);
    }

    .newsletter-content {
        flex-direction: column;
    }

    .newsletter-left,
    .newsletter-right {
        width: 100%;
    }

    .newsletter-title {
        font-size: 32px;
        text-align: left;
        margin: 0 0 20px 0;
    }

    .newsletter-title em {
        font-size: 32px;
    }

    .newsletter-form {
        margin: 0 auto;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
        align-items: center;
        text-align: center;
        padding: 30px 0;
    }

    .footer-left {
        width: 100%;
        padding: 0;
        justify-content: center;
    }

    .footer-right {
        width: 100%;
        align-items: center;
    }

    .footer-top {
        flex-direction: column;
        gap: 24px;
        align-items: center;
        width: 100%;
    }

    .social-links {
        width: 100%;
        justify-content: center;
        gap: 24px;
    }

    .social-link {
        padding: 0;
    }

    .social-link:not(:last-child)::after {
        display: none;
    }

    .footer-links {
        width: 100%;
        justify-content: center;
        gap: 0;
        position: relative;
    }

    .footer-link {
        padding: 0 20px;
        position: relative;
    }

    .footer-link:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 16px;
        background-color: #2B5182;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .modal-container {
        padding: 12px;
        max-height: 95vh;
    }

    .modal-content {
        padding: 24px 20px;
        max-height: calc(95vh - 24px);
    }

    .modal-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .modal-close {
        top: 12px;
        right: 12px;
    }

    .hero-right {
        flex: 0;
        max-width: 100%;
        align-items: flex-start;
    }

    .hero-info {
        max-width: 100%;
        padding: 15px
    }

    .hero {
        background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%), url('assets/hero-img-mobil.png');
        height: 850px !important;
    }
    .hero .container {
        height: 100%;
    }

    .footer-logo {
        width: 86px;
        height: auto;
    }

    .logo-image {
        width: 86px;
        height: auto;
    }

    .submit-button {
        width: 100%;
        margin: 4px 0;
    }

    .contact-form .submit-button {
        width: 100%;
        margin: 4px 0;
    }

    .newsletter-form .submit-button {
        width: 100%;
        margin: 4px 0;
    }
} 