/*Avarius Capital Landing Page Style*/

/*Fonty*/
@font-face {
    font-family: 'Rawline';
    src: url('../fonts/rawline-400.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rawline';
    src: url('../fonts/rawline-700.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
:root{
    /*Barvy*/
    --hero-center: #222D63;
    --hero-edge: #0A0A14;
    --gold: #D2AB67;
    --goldLight:  #D4B96A;
    --white: #FFFFFF;
    --gray-100: #F5F5F5;
    --gray-200: #E8E8E8;
    --gray-500: #888888;
    --gray-700: #444444;
    --gray-800: #2A2A2A;
    --gray-900: #1A1A1A;
    --navy: #0A0A14;

    /*Typografie*/
    --font-display: 'Rawline', sans-serif;
    --font-body: 'Rawline', sans-serif;

    /*Spacing*/
    --pad-mobile: 24px;
    --pad-dekstop: 40px;
    --max-width: 1440px;
}

/*Reset*/
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
    font-weight: 400;
    font-size: 19px;
    line-height: 30px;
    letter-spacing: 0;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--pad-mobile);
}

/*Hero*/
.hero {
    position: relative;
    height: 850px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 48px;
    padding-top: 80px;
    overflow: hidden;
    width: 100%;
}



@media (min-width: 1024px) {
    .hero {
        padding-top: 180px;
    }
}

@media (max-width:767px) {
    .hero {
        max-height: 795px;
    }
}

/*Pozadí hero*/
.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 40% 40% at 50% 55%, var(--hero-center) 0%, var(--hero-edge) 100%);
    z-index: 0;
}

@media (max-width: 767px) {
    .hero-bg {
        background: radial-gradient(ellipse 40% 50% at 50% 50%, var(--hero-center) 0%, var(--hero-edge) 100%);
    }
}

/*Dekorativní vektory*/
.hero-bg::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 55%;
    transform: translateY(-60%);
    width: 880px;
    height: 731px;
    filter: blur(3px);
    background: url('../img/hero_shadow.svg') no-repeat center / contain;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 767px) {
    .hero-bg::before {
        top: 20%;
        left: 50%;
        width: 407px;
        height: 338px;
    }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 54px;
    line-height: 58px;
    color: var(--gold);
    margin-bottom: 10%;
}

@media (max-width: 1023px) {
    .hero-title {
        font-size: 38px;
        font-weight: 700;
        line-height: 44px;
        margin-bottom: 45%;
        margin-left: 20px;
    }
}

.hero-scroll {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.hero-scroll .circle-btn {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {transform: translateY(0);}
    50% {transform: translateY(6px);}
}

/*Shared section styles*/
.section {
    padding: 64px 0;
}

h2, .section-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
    color: var(--gray-900);
}


/*Why*/
.why-section p {
    font-size: 19px;
    color: var(--gray-700);
    margin-bottom: 20px;
    line-height: 30px;
}

.why-section .image-block {
    margin: 32px calc(-1*var(--pad-mobile));
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.why-section .image-block img {
    height: auto;
    object-fit: cover;
    display: block;
}

/* Desktop – dva sloupce: text vlevo, obrázek vpravo */
@media (min-width: 1024px) {
  .why-section .two-col {
    display: grid;
    grid-template-columns: 50% auto;
    gap: 30px;
    align-items: start;
  }

  .why-section .image-block {
    width: 70%;
    height: auto;
    justify-self: end;
    margin: 0;
  }

  .why-section .image-block img {
    object-fit: cover;
  }
}

/* Mobil – vše pod sebou */
@media (max-width: 1023px) {
  .why-section .two-col {
    display: flex;
    flex-direction: column;
  }

  .why-section .image-block {
    margin: 24px 0;
  }

  .why-section .image-block img {
    width: 100%;
    height: auto;
  }
}

h3, .benefits-title h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0;
    margin-bottom: 25px;
    margin-top: 50px;
    color: var(--gray-900);
}

.benefits-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 36px;

}

.benefit-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.benefit-icon {
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    margin-top: 13px;
    background: black;
    border-radius: 50%;
}

.benefit-item p {
    color: var(--gray-700);
    font-size: 19px;
    line-height: 30px;
    margin: 0;
    max-width: 589px;
    width: 100%;
    max-height: 390px;
    height: 100%;
}

.ambition-block h3 {
    font-family: 'Rawline';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 33px;
    max-width: 589px;
    width: 100%;
}


/*Investiční trendy*/
.trends-section {
    background: var(--white);
    padding: 64px 0;
}

.trends-section .section-title{
    margin-bottom: 50px;
}

.trends-intro {
    font-size: 19px;
    color: var(--gray-700);
    margin-bottom: 70px;
    line-height: 30px;
    max-width: 586px;
    width: 100%;
}

.trends-columns {
    display: grid;
    grid-template-columns: 40% auto;
    gap: 48px;
}


.trend-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.trend-icon {
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    margin-top: 13px;
    background: black;
    border-radius: 50%;
}

.trend-item p {
    font-size: 19px;
    color: var(--gray-700);
    line-height: 30px;
    margin-bottom: 30px;
}

.trend-item b {
    color: var(--gray-900);
}

.trends-col h3 {
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: 40px;
    color: var(--gray-900);
}

.trends-col--right h3 {
    justify-self: center;
}

.trends-col--right p {
    font-size: 19px;
    color: var(--gray-700);
    line-height: 30px;
    max-width: 586px;
    width: 100%;
    justify-self: end;
}

@media (max-width: 1023px) {
    .trends-columns {
        display: flex;
        flex-direction: column;
        gap: 36px;
    }
}

/*Kontaktní fomulář*/
.contact-section {
    padding: 64px 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 600px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-700);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 19px;
    color: var(--gray-800);
    background: var(--white);
    transition: border-color 0.3s;
    outline: none;
    margin-top: 25px;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: var(--hero-edge);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--gold);
}

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

/*Chybové stavy*/
.form-error {
    display: block;
    font-size: 14px;
    line-height: 20px;
    color: #ff4444;
    margin-top: 6px;
    min-height: 0;
}

.form-error:empty {
    display: none;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: var(--gold);
    border-width: 2px;
}

.form-checkbox.has-error input[type="checkbox"] {
    border-color: var(--gold);
    border-width: 2px;
}

.form-checkbox.has-error .form-error {
    flex-basis: 100%;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;

}

.form-checkbox input[type="checkbox"] {
    width: 30px;
    height: 30px;
    margin-top: 2px;
    accent-color: var(--gold);
    flex-shrink: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    border: 1.5px solid var(--gray-800);
    border-radius: 10px;
    background: var(--white);
    transition: all 0.2s;
}

.form-checkbox input[type="checkbox"]:checked {
    background: var(--gold);
    border-color: var(--gold);
}

.form-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    color: var(--navy);
    width: 100%;
    height: 100%;
}

.form-checkbox label {
    font-size: 19px;
    line-height: 30px;
}

.form-checkbox label a {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.form-checkbox label a:hover {
    color: var(--gold);
}

.btn-submit {
    width: 285px;
    height: 65px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 44px;
    background: var(--gold);
    color: var(--navy);
    border: var(--gold);
    font-family: var(--font-body);
    font-size: 19px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: 0%;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 80px;
}

.btn-submit:hover {
    transform: translateY(-1px);
    background: var(--navy);
    color: var(--gold);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.form-success {
    display: none;
}

.form-success p {
    font-size: 19px;
    color: var(--gray-700);
    line-height: 30px;
}

/*Upozornění pro investory*/
.investor-warning {
    padding: 48px 0;
}

.investor-warning h3 {
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.investor-warning p {
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    line-height: 100%;
    margin-top: 30px;
}

/*Animace - fade up při scrollu*/
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/*Responsive - tablet (768px+)*/
@media (max-width: 768px) {
    .hero-bg::before {
        left: 50%;
        transform: translate(-30%, -55%);
        width: 280px;
        height: 233px;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }

    .why-section .image-block{
        margin: 40px;

    }


    .trends-columns {
        flex-direction: row;
        gap: 48px;
    }

    .trends-col {
        flex: 1;
    }
}

/*Responsive desktop*/
@media (min-width: 1024px) {
    .container {
        padding: 0 48px;
    }

    .section-title {
        margin-bottom: 24px;
    }

    .hero {
        padding-bottom: 72px;
    }

    .hero-title {
        max-width: 600px;
    }

    .why-section .two-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 56px;
        align-items: start;
    }

    .why-section .image-block {
        margin: 0;
        aspect-ratio: auto;
        height: 100%;
        min-height: 380px;
    }

    .benefits-list {
        grid-template-columns: 50%;
    }

    .ambition-block {
        margin-top: 0;
        max-width: 60%;
    }

    .contact-form {
        max-width: 480px;
    }
}

/*Responsive - wide desktop*/
@media (min-width: 1280px) {
    .container {
        padding: 0 var(--pad-dekstop);
    }
}

/* Mobile typography */
@media (max-width: 767px) {
    body {
        font-size: 18px;
        line-height: 24px;
    }

    h2, .section-title {
        font-size: 30px;
        line-height: 36px;
    }
}
