@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');

@font-face {
    font-family: 'Big John';
    src: url('assets/fonts/BigJohn.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}


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

body {
    font-family: "League Spartan", sans-serif;
    background-color: #4a6e68;
    color: #fff;
}

.container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0;
}
.container.two {
    max-width: 1200px;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin-top: 50px;
    color: #fff;
    font-size: 14px;
    width: 100%;
}
.header section {
    width: 1340px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.header-left,
.header-right {
    flex: 1;
    cursor: pointer;
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
}

.header-right {
    text-align: right;
}

.header-center {
    flex: 1;
    text-align: center;
}

.logo {
    font-size: 51px;
    font-weight: 600;
    letter-spacing: 0;
}

.hero {
    padding: 10px 40px 0 60px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 0 auto;
}

.card {
    background-color: #f5f3ed;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card:first-child {
    border-radius: 8px 0 0 8px;
}
.card:last-child {
    border-radius: 0 8px 8px 0;
}
.card:last-child p {
    color: #c77a4a;
}
.card-content {
    padding: 30px;
    text-align: center;
}
.card-content img {
    height: 300px;
    margin-bottom: 30px;
}
.card-image {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #2d5049;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.card-subtitle {
    font-size: 11px;
    font-weight: 400;
    color: #8a9a95;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.card-description {
    font-size: 22px;
    color: #2d5049;
    margin-bottom: 25px;
    font-weight: 600;
}

.btn {
    padding: 12px 30px;
    background-color: #2d5049;
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn:hover {
    background-color: #1f3a34;
}

.btn-orange {
    background-color: #c77a4a;
}

.btn-orange:hover {
    background-color: #a86239;
}

.showroom-section {
    padding: 60px 0;
}

.section-title {
    font-size: 51px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 20px;
    color: #fff;
}

.showroom-grid {
    position: relative;
    margin: 0 auto;
}

.showroom-comparison {
    position: relative;
    height: 600px;
    overflow: hidden;
    cursor: ew-resize;
    display: flex;
}

.showroom-card {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.showroom-card-base,
.showroom-card-compare {
    position: relative;
    flex: 0 0 auto;
}

.showroom-card-compare {
    width: 50%;
    z-index: 1;
}

.showroom-card-base {
    width: 50%;
    z-index: 1;
}

.showroom-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showroom-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
}

.showroom-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 72px;
    border: none;
    border-radius: 999px;
    background: #f5f3ed;
    color: #2d5049;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
    z-index: 4;
    cursor: ew-resize;
}

.showroom-handle span {
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(assets/menu.png);
    background-position: 0 2px;
    background-repeat: no-repeat;
    height: 30px;
    width: 30px;
    transform: rotate(90deg);
}
/*.showroom-handle span img {
    transform: rotate(90deg);
        margin-right: 7px;

}*/

.showroom-comparison.is-dragging .showroom-handle,
.showroom-handle:hover {
    background: #ffffff;
}

.showroom-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 30px 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    gap: 10px;
    height: 600px;
}

.showroom-overlay h3 {
    font-family: 'Big John', sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
    position: relative;
}

.showroom-overlay h3.resine-title::after {
    content: '';
    position: absolute;
    display: flex;
    background: white;
    height: 7px;
    width: 4px;
    top: 0px;
    left: 1em;
    transform: rotate(45deg);
}

.showroom-overlay p {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 1.9px;
    opacity: 0.9;
    text-transform: uppercase;
}

.location-section {
    padding: 60px 0;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.8;
    font-weight: 400;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-address,
.location-hours {
    margin-bottom: 15px;
}

.location-description p {
    margin-bottom: 15px;
}

.map {
    margin-top: 30px;
    border-radius: 0;
    overflow: hidden;
}

.contact-section {
    padding: 60px 0 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    /*max-width: 900px;*/
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}


.contact-item p a,
.contact-item p {
    font-size: 14px;
    line-height: 1.8;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    line-height: 1.8;
    font-weight: 400;
}

.contact-form-wrapper {
    /*background-color: #f5f3ed;
    padding: 40px;
    border-radius: 8px;*/
}

.contact-intro,
.contact-response {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
    background-color: #fff;
    border-radius: 14px;
    padding: 35px;
}
.contact-form label {
    color: #4a6e68;
    font-size: 16px;
    font-weight: 700;
}
.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 2px solid #C1C1C1;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    background-color: #fff;
    resize: none;
    outline: none;
}

.contact-form input[type="email"] {
    border-radius: 100px;
}

.contact-form textarea {
    resize: none;
    min-height: 120px;
    border-radius: 10px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

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

.btn-submit {
    align-self: center;
    margin-top: 10px;
}

@media (max-width: 1024px) {
    .header section,
    .container {
        width: 90%;
    }

    .hero {
        padding: 10px 0px 0 0px;
    }
}


@media (max-width: 768px) {
    .contact-grid,
    .location-grid,
    .cards-grid {
            grid-template-columns: repeat(1, 1fr);
    }

    .header section {
        flex-direction: column;
        gap: 10px;
    }
    .header-left {
        order: 1;
    }
    .card {
        aspect-ratio: auto;
    }
    .section-title {
        font-size: 30px;
    }
    .location-grid,
    .contact-grid { gap:10px; }

    .showroom-overlay h3 {
        font-size: 18px;
        letter-spacing: 1px;
        text-align: center;
    }

    .showroom-overlay h3.resine-title::after {
        left: calc(50% - 6em);
    }

    .showroom-overlay p {
        font-size: 16px;
        letter-spacing: 1px;
        text-align: center;
        line-height: 20px;
    }

    .logo {
        font-size: 45px;
    }
}