/* === BASE === */
ul {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}
ul li { padding-left: 0; margin-left: 0; }
ul li::marker, ol li::marker { content: none; }
a { text-decoration: none; color: white; }

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

::-webkit-scrollbar { width: 0.5vw; }
::-webkit-scrollbar-track { background: #f1f1f1; margin-bottom: 1vw; margin-top: 1vw; }
::-webkit-scrollbar-thumb { background: gray; border-radius: 50px; }

.blue { color: #1560BD; }
.red  { color: red; }
.bold { font-weight: bold; }

/* === BUTTONS === */
button {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    margin-bottom: 10%;
}

.button_slide {
    color: #3B3B3B;
    border: 1px solid #3B3B3B;
    border-radius: 50px;
    padding: 0.5em 10%;
    display: inline-block;
    text-decoration: none;
    font-size: 1.3vw;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: inset 0 0 0 0 #3B3B3B;
    transition: ease-out 0.4s;
    height: 2vw;
    line-height: 2vw;
    width: auto;
}

.button_slide-dealers {
    color: red;
    border: 1px solid red;
    border-radius: 50px;
    padding: 0.8em 15%;
    display: inline-block;
    text-decoration: none;
    font-size: 1.3vw;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: inset 0 0 0 0 red;
    transition: ease-out 0.4s;
    height: 2vw;
    line-height: 2vw;
}

.slide_right-dealers:hover { box-shadow: inset 400px 0 0 0 red; color: white; }
.slide_right:hover          { box-shadow: inset 400px 0 0 0 #3B3B3B; color: white; }

#outer1, #outer2, #outer3, #outer4, #outer5, #outer6 {
    width: 20vw;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3%;
}

#popup-outer1, #popup-outer2, #popup-outer3,
#popup-outer4, #popup-outer5, #popup-outer6 {
    width: 20vw;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2%;
}

/* === SECTION BACKGROUNDS === */
#crops, #purpose, #youtube, #benefits, #facebook {
    background-color: #f0f0f0;
}
#fieldwork, #star, #introsection, #dealers, #models, #showoff {
    background-color: white;
}

/* === NAVBAR === */
.navbar {
    width: 100%;
    height: 8.5vw;
    max-height: 260px;
    z-index: 999;
    position: fixed;
    top: 0;
    display: flex;
    align-items: center;
    background-color: #3B3B3B;
    scroll-behavior: smooth;
}

.navbar-text {
    color: white;
    font-size: 1.2vw;
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.navbar li {
    color: red;
    background-color: #3B3B3B;
    position: relative;
    padding: 1vw 0.2vw;
    overflow: hidden;
}

.navbar li::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 8px;
    width: 0;
    height: 0.3vw;
    background-color: red;
    transition: width 0.2s ease 0s, left 0.2s ease 0s;
}

.navbar li:hover::after { width: 100%; }

.navbar nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.navbar nav ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar nav ul li {
    list-style-type: none;
    white-space: nowrap;
    margin-right: 0.8vw;
}

.logo {
    position: relative;
    width: 12vw;
    cursor: pointer;
    margin-left: 30px;
    margin-right: 10px;
}


/* === HEADINGS === */
.heading {
    text-align: center;
    min-width: 100%;
    position: relative;
    margin-top: 3%;
}

.crops mark, .dealers mark, .popup-content-5 mark, .popup-content-6 mark,
.popup-content-3 mark, .models mark, .fieldwork mark, .showoff .heading mark,
.youtube-field .heading mark, .models .heading mark, .star .heading mark,
.benefits .heading mark, .additional-features .heading mark {
    display: inline-block;
    background: #1560BD;
    padding: 0.8em 5%;
    color: white;
    font-size: 2vw;
    border-radius: 100px;
}

.headline {
    text-align: center;
    min-width: 100%;
    position: relative;
    margin-top: 3%;
}

.popup-content-1 .headline mark {
    display: inline-block;
    background: red;
    padding: 0.8em 5%;
    color: white;
    font-size: 2vw;
    border-radius: 100px;
}

/* === INTRO === */
.intro {
    position: relative;
    text-align: center;
    margin-top: 8.5vw;
}

.main-img {
    display: block;
    width: 100%;
    height: 30vw;
}

.title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 800;
    text-align: center;
}
.title p { color: white; margin: 0; }

.up {
    margin-top: 3vw;
    width: 96vw;
    margin-left: 18%;
    padding-right: 2%;
    transform: translateX(200%);
    opacity: 0;
    animation: slide-in-anim 1s ease-out forwards;
    font-size: 3.1vw;
}
.up p::after {
    display: block;
    content: '';
    width: 13%;
    height: 5px;
    background: red;
    position: absolute;
    right: 1%;
}

@keyframes slide-in-anim {
    20%  { opacity: 0; }
    100% { opacity: 1; transform: translateX(0); }
}

.down {
    margin-top: 13%;
    width: 96vw;
    transform: translateX(-200%);
    text-shadow: 0.5px 0.5px #696969;
    margin-left: 0%;
    padding-left: 2%;
    animation: slide-in-anim 1s ease-out forwards;
    font-size: 2.5vw;
    text-align: left;
}

.gst {
    text-align: center;
    margin-top: -8%;
    margin-bottom: -3%;
}
.gst img { width: 25vw; }

.specialist { text-align: center; font-size: 2.7vw; }
.specialist-text {
    text-align: center;
    font-size: 1.6vw;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.specialist-text a { color: black; }

/* === ROW === */
.row {
    display: flex;
    justify-content: space-around;
    margin-top: 3.5%;
    margin-bottom: 50px;
    margin-left: 4vw;
    margin-right: 4vw;
}

/* === PURPOSE === */
.purpose {
    width: 90%;
    box-sizing: border-box;
    overflow: hidden;
    text-align: left;
    font-size: 1.6vw;
    margin: 0 auto;
}
.purpose .row { display: flex; justify-content: space-between; }
.purpose .col-1, .purpose .col-2 { flex: 1; padding: 0 1vw; }

.aligned-item {
    display: flex;
    align-items: center;
    height: 5vw;
    margin-bottom: 1vw;
}
.aligned-item img { margin-right: 0.5vw; width: 4vw; height: auto; }

.video { height: 36vw; }
.video video { width: 60vw; height: 34vw; margin-top: 4%; }

/* === STAR === */
.graphic { text-align: center; }
.graphic img { width: 50vw; height: 30vw; margin-bottom: 3%; }

.star {
    width: 100%;
    line-height: 2.7vw;
    box-sizing: border-box;
    overflow: hidden;
    font-size: 1.63vw;
    margin-bottom: -3vw;
    white-space: nowrap;
}
.star .row  { margin-top: 2.5%; }
.star .col-1 { margin-left: 2.5%; width: 70%; }
.star .col-2 { width: 30%; }
.star img   { width: 23vw; margin-top: 12%; }

/* === CROPS === */
.crops {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    font-size: 1.7vw;
    max-width: 1800px;
    box-sizing: border-box;
    overflow: hidden;
    text-align: left;
    line-height: 3vw;
}
.crops .row { margin-top: 2.5%; }

/* === FIELDWORK === */
.fieldwork { margin-left: auto; margin-right: auto; width: 95%; overflow: hidden; }
.fieldwork img { width: 40vw; height: auto; }

/* === BENEFITS === */
.benefits {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-align: left;
    line-height: 2.5vw;
    font-size: 1.35vw;
}
.benefits .row { margin-top: 2.5%; }
.benefits mark, .star mark { font-size: 1.6vw; }

/* === YOUTUBE === */
.youtube-field .row {
    align-items: center;
    margin-bottom: 2%;
    margin-top: 2.5%;
    position: relative;
}
.youtube-field iframe { width: 100%; height: 100%; }
.youtube-field .col-1, .youtube-field .col-2 { width: 50%; height: 25vw; padding: 2%; }

/* === SHOWOFF === */
.showoff {
    display: block;
    box-sizing: border-box;
    overflow: hidden;
    margin: 0 auto;
    text-align: center;
    font-size: 1.5vw;
}
.showoff .row { margin-top: 6.5%; }
.showoff .col-1, .showoff .col-2 { width: 50%; margin-left: 1%; margin-right: 1%; margin-top: -5%; }
.showoff img { width: 40vw; height: auto; }

/* === TABLE === */
.dimensions { width: 100%; text-align: center; }
.dimensions table { margin-left: auto; margin-right: auto; max-width: 1600px; line-height: 1vw; margin-top: 3vw; }
.dimensions table th { line-height: 1.3vw; }
.dimensions img { margin-top: 3%; width: 60vw; }

.styled-table {
    border-collapse: collapse;
    margin: 0 auto;
    font-size: 0.9em;
    width: 80%;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
}
.styled-table thead tr {
    background-color: #1560BD;
    color: #ffffff;
    text-align: center;
    font-weight: 300;
}
.styled-table tbody tr { border-bottom: 1px solid #dddddd; }
.styled-table tbody tr:nth-of-type(even) { background-color: #f3f3f3; }
.styled-table tbody tr:last-of-type { border-bottom: 2px solid #1560BD; }
.styled-table th, .styled-table td { padding: 12px 15px; }

/* === PANEL & MACHINES === */
.panel img { width: 100%; height: auto; }

.machineimg {
    margin-top: -5%;
    margin-left: auto;
    margin-right: auto;
    width: 95%;
    box-sizing: border-box;
    overflow: hidden;
}
.machineimg .row { flex-basis: 50%; }
.machineimg img { width: 40vw; height: auto; }
.machineimg .col-1, .machineimg .col-2 { margin-right: 2%; margin-left: 2%; }

/* === HR === */
.hr-style {
    border: none;
    height: 0.265mm;
    background-image: linear-gradient(to right, transparent, black, transparent);
    width: 80%;
    margin: 0 auto;
}

/* === FOOTER === */
.footer {
    width: 100%;
    height: 7vw;
    position: relative;
    bottom: 0;
    display: flex;
    align-items: center;
    background-color: #3B3B3B;
}
.footer-text {
    width: 100%;
    color: white;
    font-size: 1vw;
    float: right;
    text-align: center;
    position: relative;
}

/* === POPUPS === */
#popup-container-1, #popup-container-2, #popup-container-3,
#popup-container-4, #popup-container-5, #popup-container-6 {
    position: fixed;
    left: 50%;
    transform: translate(-50%);
    z-index: 9999;
    bottom: 0;
    display: none;
    margin-top: 3vh;
    margin-bottom: 3vh;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    height: 88%;
    width: 90%;
    overflow-y: scroll;
}

#popup-container-1 { height: auto; max-height: 94%; overflow-y: auto; }
#popup-container-4 { width: 75%; }

#popup-content-1, #popup-content-2, #popup-content-3,
#popup-content-4, #popup-content-5 {
    background-color: white;
    padding: 20px;
    color: black;
    margin-top: 3%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#popup-content-1 {
    margin: 1% 2%;
    padding: 1%;
    margin-top: 3%;
    overflow-x: hidden;
}
#popup-content-1 .row, #popup-content-1 ul { font-size: 1.2vw; list-style-type: none; }
#popup-content-1 ul { text-align: left; }
#popup-content-1 .col-1, #popup-content-1 .col-2 { width: 45%; }
#popup-content-1 .heading { margin-top: auto; margin-bottom: -1.5%; }

#popup-content-2 .col-1 img { display: block; margin-right: -1vw; }
#popup-content-2 .col-2 img { display: block; margin-left: -1vw; }
#popup-content-2 .row       { margin: 2vw auto 2vw auto; }
#popup-content-2 .heading   { margin-top: auto; margin-bottom: 3.5%; }
#popup-content-2 img        { width: 38vw; height: auto; }

#popup-content-3 img        { width: 42vw; height: auto; margin-left: 2%; }
#popup-content-3 .row       { margin: 1.25vw auto 1vw auto; align-items: center; }
#popup-content-3 .heading   { margin-top: auto; margin-bottom: 3.5%; }
#popup-content-3 .col-1     { width: 43%; }
#popup-content-3 p          { text-align: left; font-size: 1.5vw; }

#popup-content-4 { height: 96%; }
#popup-content-4 h2 { margin-top: 5%; text-align: center; font-size: 30px; }
#popup-content-4 h3 { font-size: 1.3vw; }
#popup-content-4 b  { margin-top: 2vw; text-align: center; font-weight: 600; }
#popup-content-4 p  { margin-top: 7.5%; text-align: left; font-size: 1.3vw; }
#popup-content-4 .col-2 { text-align: left; width: 55%; }
#popup-content-4 .agriopardubicko .col-1 { width: 30vw; }

#popup-content-4 img { width: 12vw; height: 5vw; margin-top: 12%; }

#popup-content-4 .headingg {
    text-align: center;
    width: 100%;
    position: relative;
    margin-top: 3%;
}
#popup-content-4 .headingg mark {
    display: inline-block;
    background: lightgray;
    padding: 0.8em 5%;
    border-radius: 100px;
    color: black;
    font-weight: 400;
    font-size: 2vw;
}

#popup-content-5 .col-1 img { display: block; margin-right: -0.1vw; }
#popup-content-5 .col-2 img { display: block; margin-left: -0.1vw; }
#popup-content-5 img        { margin-left: auto; margin-right: auto; width: 42vw; height: auto; }
#popup-content-5 .row       { margin: 2vw auto 2vw auto; }
#popup-content-5 .heading   { margin-top: auto; margin-bottom: 4%; }

#popup-content-6 {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    height: 100%;
    text-align: center;
}
#popup-content-6 .heading  { margin-top: auto; margin-bottom: 3.5%; }
#popup-content-6 .row      { margin: 2vw auto 2vw auto; }
#popup-content-6 iframe    { width: 38vw; height: 26vw; margin-left: auto; margin-right: auto; }
#popup-content-6 .col-1 iframe { display: block; margin-right: -3vw; }
#popup-content-6 .col-2 iframe { display: block; margin-left: -3vw; }

.popup-container .tick { display: flex; align-items: center; margin-bottom: 1vw; }
.popup-container .tick::before { content: '✓'; color: #1560BD; margin-right: 0.5vw; }
.popup-container .aligned-item { display: flex; align-items: center; height: 5vw; margin-bottom: 1vw; font-size: 1.5vw; }
.popup-container .aligned-item img { margin-right: 0.5vw; width: 4vw; height: auto; }
.popup-container .heading  { text-align: center; margin-bottom: 2vw; }
.popup-container .additional-features { margin-top: 2vw; }

#popup-outer1 { text-align: center; margin-top: 2vw; }

/* === CONTACT FORM === */
.con-container {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3%;
    margin-bottom: 3%;
}

form {
    background: #fff;
    display: flex;
    flex-direction: column;
    width: 90%;
    height: auto;
    max-width: 1000px;
    border-radius: 1vw;
    position: relative;
}

form input, form textarea {
    border: 0;
    margin: 10px 0;
    max-width: 1000px;
    max-height: 800px;
    padding: 15px;
    outline: none;
    background: #f5f5f5;
    font-family: Open Sans;
    font-size: 1.85vh;
}

textarea { resize: none; }
#form .button_slide { line-height: 1.5vw; }

.fb-section { display: flex; justify-content: center; align-items: center; margin-top: 3%; }

/* ============================================================
   MOBILE  (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
    body { font-size: 14px !important; }

    /* Hide nav on mobile */
    .navbar-text { display: none; }

    .navbar { height: 14vw; }
    .logo   { width: clamp(80px, 28vw, 120px); margin-left: 15px; }

    /* Hero */
    .intro  { margin-top: 14vw; }
    .main-img { height: 55vw; }
    .up   { font-size: 4.5vw; margin-top: 8vw; width: 80%; margin-left: 10%; text-align: center; }
    .down { display: none !important; }
    .gst img { width: 50vw; }

    .specialist      { font-size: 5vw; }
    .specialist-text { font-size: 3.5vw; max-width: 92%; }

    /* Headings */
    .crops mark, .dealers mark,
    .popup-content-5 mark, .popup-content-6 mark,
    .popup-content-3 mark, .models mark,
    .fieldwork mark, .showoff .heading mark,
    .youtube-field .heading mark, .star .heading mark,
    .benefits .heading mark, .additional-features .heading mark {
        font-size: 4vw !important;
        padding: 0.6em 4% !important;
    }

    /* Stack two-column rows */
    .row {
        flex-direction: column;
        margin-left: 10px;
        margin-right: 10px;
        gap: 12px;
        margin-bottom: 20px;
    }

    .purpose .col-1, .purpose .col-2,
    .star .col-1,    .star .col-2,
    .fieldwork .col-1, .fieldwork .col-2,
    .youtube-field .col-1, .youtube-field .col-2,
    .showoff .col-1, .showoff .col-2,
    .machineimg .col-1, .machineimg .col-2,
    .crops .col-1, .crops .col-2,
    .crops .col-3, .crops .col-4 {
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .star { white-space: normal; font-size: 3.5vw; line-height: 1.9; overflow: visible; margin-bottom: 0; }
    .star img { width: 80vw; margin-top: 0; }

    .purpose    { font-size: 3.5vw; }
    .aligned-item { height: auto; margin-bottom: 12px; }
    .aligned-item img { width: 7vw; }

    .fieldwork img, .machineimg img, .showoff img { width: 92vw; height: auto; }

    .video       { height: auto; }
    .video video { width: 95vw; height: 56vw; margin-top: 2%; }

    .graphic img { width: 95vw; height: auto; }

    .youtube-field .col-1,
    .youtube-field .col-2 { height: 56vw; }

    .benefits { font-size: 3.2vw; line-height: 1.9; }
    .crops    { font-size: 3.5vw; line-height: 2; }

    /* Table scrollable */
    .dimensions   { overflow-x: auto; }
    .styled-table { width: 100%; font-size: 2.8vw; }
    .styled-table th, .styled-table td { padding: 8px 5px; }
    .dimensions table { line-height: 1.4; }
    .dimensions img { width: 95vw; }

    /* Popups */
    #popup-container-1, #popup-container-2, #popup-container-3,
    #popup-container-4, #popup-container-5, #popup-container-6 {
        width: 96% !important;
        padding: 12px;
    }

    #popup-content-1 .row,
    #popup-content-2 .row,
    #popup-content-3 .row,
    #popup-content-5 .row,
    #popup-content-6 .row { flex-direction: column; }

    #popup-content-1 .col-1,
    #popup-content-1 .col-2,
    #popup-content-3 .col-1 { width: 100%; }

    #popup-content-2 img,
    #popup-content-3 img,
    #popup-content-5 img   { width: 86vw; }

    #popup-content-6 iframe { width: 86vw; height: 52vw; }
    #popup-content-6 .col-1 iframe,
    #popup-content-6 .col-2 iframe { margin: 0; }

    #popup-content-4 .col-2 { width: 100%; }
    #popup-content-4 img    { width: 40vw; height: auto; }
    #popup-content-4 h2     { font-size: 5vw; }
    #popup-content-4 p      { font-size: 3.2vw; margin-top: 10px; }
    #popup-content-4 h3     { font-size: 3.8vw; }

    .popup-container .aligned-item { height: auto; font-size: 3.5vw; margin-bottom: 10px; }
    .popup-container .aligned-item img { width: 8vw; }

    #outer1, #outer2, #outer3, #outer4, #outer5, #outer6,
    #popup-outer1, #popup-outer2, #popup-outer3,
    #popup-outer4, #popup-outer5, #popup-outer6 { width: auto; }

    .button_slide, .button_slide-dealers {
        font-size: 3.8vw;
        height: 9vw;
        line-height: 9vw;
        padding: 0 5%;
    }

    .footer      { height: auto; padding: 16px 0; }
    .footer-text { font-size: 3vw; }

    .con-container { margin: 5% 0; }
    form { width: 95%; }
    form input, form textarea { font-size: 4vw; }
    #form .button_slide { line-height: 9vw; }

    .fb-section iframe { width: 95vw !important; }
}
