/* =========================================
   ARIL MOTORS
   MAIN CSS
========================================= */


/* =========================================
   RESET
========================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
}

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

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

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


/* =========================================
   VARIABLES
========================================= */

:root {
    --black: #0a0a0a;
    --black-light: #111111;
    --card: #151515;
    --card-light: #1c1c1c;
    --white: #ffffff;
    --gray: #a1a1a1;
    --gray-light: #d0d0d0;
    --border: rgba(255, 255, 255, 0.1);
    --accent: #e10600;
    --accent-dark: #b80000;
}


/* =========================================
   CONTAINER
========================================= */

.container {
    width: min(1180px, 90%);
    margin: auto;
}


/* =========================================
   HEADER
========================================= */

.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;

    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid var(--border);
}

.navbar {
    width: min(1180px, 90%);
    margin: auto;

    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
}


/* NAV */

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    position: relative;

    color: var(--gray-light);

    font-size: 14px;
    font-weight: 500;

    transition: 0.3s;
}

.nav-menu a:hover {
    color: var(--white);
}

.nav-menu a::after {
    content: "";

    position: absolute;
    bottom: -8px;
    left: 0;

    width: 0;
    height: 2px;

    background: var(--accent);

    transition: 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}


/* MOBILE MENU */

.menu-toggle {
    display: none;

    border: none;
    background: none;

    color: white;

    font-size: 28px;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;

    background-image:
        url("https://images.unsplash.com/photo-1558980664-10ea6f3e2d9f?auto=format&fit=crop&w=2000&q=85");

    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.75) 45%,
            rgba(0, 0, 0, 0.35) 100%
        );
}

.hero-content {
    position: relative;

    width: min(1180px, 90%);
    margin: auto;

    padding-top: 80px;
}

.hero-subtitle {
    color: var(--accent);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 20px;
}

.hero h1 {
    max-width: 700px;

    font-size: clamp(45px, 7vw, 82px);

    line-height: 1.05;

    letter-spacing: -4px;

    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-description {
    max-width: 550px;

    color: var(--gray-light);

    font-size: 17px;

    margin-bottom: 35px;
}


/* BUTTON */

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 28px;

    border-radius: 4px;

    font-size: 14px;
    font-weight: 700;

    transition: 0.3s;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-dark);

    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}


/* SCROLL */

.hero-scroll {
    position: absolute;

    bottom: 35px;
    right: 5%;

    display: flex;
    align-items: center;
    gap: 15px;

    color: #aaa;

    font-size: 11px;
}

.scroll-line {
    width: 50px;
    height: 1px;

    background: #777;
}


/* =========================================
   STATS
========================================= */

.stats {
    background: #111111;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    padding: 35px 20px;

    text-align: center;

    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item h2 {
    font-size: 32px;
}

.stat-item p {
    color: var(--gray);

    font-size: 13px;
}


/* =========================================
   SECTION
========================================= */

.section {
    padding: 120px 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;

    margin-bottom: 50px;
}

.section-label {
    color: var(--accent);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 12px;
}

.section-heading h2,
.about-content h2,
.contact-info h2 {
    font-size: clamp(32px, 5vw, 52px);

    line-height: 1.1;

    letter-spacing: -2px;
}

.section-heading h2 span,
.about-content h2 span,
.contact-info h2 span {
    color: var(--accent);
}

.section-description {
    max-width: 400px;

    color: var(--gray);

    font-size: 14px;
}


/* =========================================
   COLLECTION
========================================= */

.collection {
    background: var(--black);
}


/* TOOLS */

.collection-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-bottom: 35px;
}


/* SEARCH */

.search-box {
    position: relative;

    width: 320px;
}

.search-box input {
    width: 100%;

    height: 48px;

    padding: 0 45px 0 18px;

    border: 1px solid var(--border);
    border-radius: 4px;

    outline: none;

    background: var(--card);
    color: white;
}

.search-box input:focus {
    border-color: var(--accent);
}

.search-box span {
    position: absolute;

    right: 16px;
    top: 50%;

    transform: translateY(-50%);

    color: #888;

    font-size: 22px;
}


/* FILTER */

.filter-buttons {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 12px 22px;

    border: 1px solid var(--border);
    border-radius: 3px;

    background: transparent;
    color: var(--gray);

    font-size: 13px;

    transition: 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    color: white;

    border-color: var(--accent);
}


/* VEHICLES */

.vehicle-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.vehicle-card {
    overflow: hidden;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 5px;

    transition: 0.4s;
}

.vehicle-card:hover {
    transform: translateY(-8px);

    border-color: rgba(255, 255, 255, 0.2);
}


/* IMAGE */

.vehicle-image {
    height: 250px;

    position: relative;

    overflow: hidden;
}

.vehicle-image img {
    height: 100%;

    object-fit: cover;

    transition: 0.5s;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.08);
}

.vehicle-category {
    position: absolute;

    top: 15px;
    left: 15px;

    padding: 6px 10px;

    background: var(--accent);

    color: white;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;
}


/* INFO */

.vehicle-info {
    padding: 25px;
}

.vehicle-brand {
    color: var(--accent);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 5px;
}

.vehicle-info h3 {
    font-size: 21px;

    margin-bottom: 15px;
}

.vehicle-details {
    display: flex;
    gap: 8px;

    flex-wrap: wrap;

    margin-bottom: 22px;
}

.vehicle-details span {
    padding: 5px 8px;

    background: #202020;

    color: #aaa;

    font-size: 10px;
}

.vehicle-bottom {
    display: flex;

    justify-content: space-between;
    align-items: end;

    padding-top: 18px;

    border-top: 1px solid var(--border);
}

.vehicle-bottom small {
    display: block;

    color: #777;

    font-size: 10px;
}

.vehicle-bottom strong {
    display: block;

    margin-top: 3px;

    font-size: 15px;
}

.detail-btn {
    padding: 9px 16px;

    background: transparent;

    border: 1px solid var(--border);

    color: white;

    font-size: 11px;

    transition: 0.3s;
}

.detail-btn:hover {
    background: white;
    color: black;
}


/* NO RESULT */

.no-result {
    display: none;

    text-align: center;

    padding: 60px 0;
}

.no-result h3 {
    margin-bottom: 8px;
}

.no-result p {
    color: var(--gray);
}


/* =========================================
   PROMO
========================================= */

.promo {
    padding: 80px 0;

    background:
        linear-gradient(
            90deg,
            rgba(225, 6, 0, 0.9),
            rgba(120, 0, 0, 0.8)
        );
}

.promo-content {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.promo .section-label {
    color: white;
}

.promo h2 {
    max-width: 650px;

    font-size: clamp(30px, 5vw, 50px);

    line-height: 1.1;

    margin-bottom: 15px;
}

.promo p {
    max-width: 600px;

    color: #eee;
}

.promo .btn {
    flex-shrink: 0;

    background: white;
    color: black;
}

.promo .btn:hover {
    background: #eee;
}


/* =========================================
   ABOUT
========================================= */

.about {
    background: #101010;
}

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    height: 600px;

    object-fit: cover;
}

.experience-box {
    position: absolute;

    right: -20px;
    bottom: 30px;

    display: flex;
    flex-direction: column;

    padding: 25px 30px;

    background: var(--accent);

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.experience-box strong {
    font-size: 42px;
    line-height: 1;
}

.experience-box span {
    font-size: 11px;
    margin-top: 5px;
}

.about-content > p:not(.section-label) {
    color: var(--gray);

    font-size: 15px;

    margin-top: 20px;
}

.about-features {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

    margin-top: 30px;
}

.about-features div {
    display: flex;
    align-items: center;

    gap: 10px;
}

.about-features span {
    color: var(--accent);

    font-size: 18px;
}

.about-features p {
    color: #ddd;

    font-size: 13px;
}


/* =========================================
   GALLERY
========================================= */

.gallery {
    background: var(--black);
}

.gallery-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    grid-template-rows: 260px 260px;

    gap: 15px;
}

.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    height: 100%;

    object-fit: cover;

    transition: 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-large {
    grid-row: span 2;
}


/* =========================================
   CONTACT
========================================= */

.contact {
    background: #101010;
}

.contact-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;
}

.contact-info > p:not(.section-label) {
    color: var(--gray);

    max-width: 500px;

    margin-top: 20px;
}

.contact-list {
    margin-top: 40px;
}

.contact-item {
    display: flex;

    gap: 15px;

    margin-bottom: 25px;
}

.contact-icon {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #1c1c1c;

    color: var(--accent);

    border: 1px solid var(--border);
}

.contact-item small {
    color: #777;

    font-size: 10px;
}

.contact-item p {
    font-size: 14px;
}


/* FORM */

.contact-form-wrapper {
    padding: 35px;

    background: var(--card);

    border: 1px solid var(--border);
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

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

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #ccc;

    font-size: 12px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;

    padding: 14px;

    border: 1px solid var(--border);

    outline: none;

    background: #0e0e0e;

    color: white;

    border-radius: 3px;

    font-size: 13px;
}

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

.form-group textarea {
    resize: vertical;
}

.form-submit {
    width: 100%;

    border: none;
}


/* =========================================
   MODAL
========================================= */

.modal {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 2000;

    align-items: center;
    justify-content: center;

    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.85);

    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;

    z-index: 1;

    width: min(850px, 100%);

    display: grid;

    grid-template-columns: 1fr 1fr;

    background: #151515;

    border: 1px solid var(--border);

    max-height: 90vh;
}

.modal-close {
    position: absolute;

    right: 15px;
    top: 15px;

    z-index: 2;

    width: 38px;
    height: 38px;

    border: 1px solid var(--border);

    background: rgba(0, 0, 0, 0.7);

    color: white;

    font-size: 22px;
}

.modal-image {
    min-height: 450px;
}

.modal-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.modal-info {
    padding: 45px;
}

.modal-info h2 {
    font-size: 35px;

    line-height: 1.1;

    margin-bottom: 15px;
}

.modal-price {
    color: var(--accent);

    font-size: 22px;
    font-weight: 800;

    margin-bottom: 30px;
}

.modal-specs {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 1px;

    background: var(--border);

    margin-bottom: 30px;
}

.modal-specs div {
    padding: 15px;

    background: #191919;
}

.modal-specs small {
    display: block;

    color: #777;

    font-size: 10px;

    margin-bottom: 5px;
}

.modal-specs strong {
    font-size: 12px;
}

.modal-contact {
    width: 100%;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    padding-top: 70px;

    background: #080808;

    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 60px;
}

.footer-grid > div:first-child p {
    max-width: 300px;

    color: #777;

    font-size: 13px;

    margin-top: 15px;
}

.footer h4 {
    margin-bottom: 20px;

    font-size: 13px;
}

.footer-grid > div:not(:first-child) a,
.footer-grid > div:not(:first-child) p {
    display: block;

    color: #777;

    font-size: 12px;

    margin-bottom: 10px;

    transition: 0.3s;
}

.footer-grid > div:not(:first-child) a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-links a {
    width: 35px;
    height: 35px;

    display: flex !important;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);

    color: #aaa !important;
}

.social-links a:hover {
    background: var(--accent);

    border-color: var(--accent);
}

.footer-bottom {
    padding: 25px 5%;

    border-top: 1px solid var(--border);

    text-align: center;

    color: #555;

    font-size: 11px;
}


/* =========================================
   BACK TO TOP
========================================= */

.back-to-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    display: none;

    align-items: center;
    justify-content: center;

    z-index: 900;

    border: none;

    background: var(--accent);

    color: white;

    font-size: 20px;
}


/* =========================================
   ANIMATION
========================================= */

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.hero-content {
    animation: fadeUp 1s ease;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .nav-menu {
        position: absolute;

        top: 80px;
        left: 0;

        width: 100%;

        display: none;
        flex-direction: column;

        padding: 25px;

        background: #111;

        border-bottom: 1px solid var(--border);

        gap: 20px;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .section-heading {
        flex-direction: column;

        align-items: start;

        gap: 20px;
    }

    .vehicle-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .about-image img {
        height: 500px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;

        grid-template-rows: 250px 250px;
    }

    .gallery-large {
        grid-column: span 2;

        grid-row: span 1;
    }

    .promo-content {
        flex-direction: column;

        align-items: start;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 600px) {

    .navbar {
        height: 70px;
    }

    .nav-menu {
        top: 70px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;

        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-scroll {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item {
        padding: 25px 10px;
    }

    .stat-item h2 {
        font-size: 25px;
    }

    .collection-tools {
        flex-direction: column;

        align-items: stretch;
    }

    .search-box {
        width: 100%;
    }

    .filter-buttons {
        width: 100%;
    }

    .filter-btn {
        flex: 1;

        padding: 10px;
    }

    .vehicle-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-image {
        height: 260px;
    }

    .about-image img {
        height: 400px;
    }

    .experience-box {
        right: 15px;
        bottom: 15px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        display: grid;

        grid-template-columns: 1fr;

        grid-template-rows: repeat(4, 220px);
    }

    .gallery-large {
        grid-column: span 1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .modal-content {
        grid-template-columns: 1fr;

        max-height: 90vh;

        overflow-y: auto;
    }

    .modal-image {
        min-height: 250px;

        height: 250px;
    }

    .modal-info {
        padding: 30px;
    }

    .modal-info h2 {
        font-size: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

        /* =========================================
    PHOTO SLIDER
    ========================================= */

    .modal-gallery {
        width: 100%;
        margin-bottom: 25px;
    }

    /* Area foto utama */
    .gallery-main {
        position: relative;
        width: 100%;
        height: 420px;
        background: #111;
        border-radius: 15px;
        overflow: hidden;
    }

    /* Foto */
    .gallery-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }


    /* =========================================
    TOMBOL SLIDER
    ========================================= */

.modal-gallery {
    width: 100%;
    margin-bottom: 25px;
}


/* =========================================
   AREA FOTO UTAMA
========================================= */

.gallery-main {
    position: relative !important;

    width: 100%;
    height: 520px;

    background: #111;

    border-radius: 12px;

    overflow: hidden;
}


/* FOTO */

.gallery-main #modalImage {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================
   TOMBOL SLIDER
========================================= */

.gallery-main .gallery-btn {
    position: absolute !important;

    top: 50% !important;

    transform: translateY(-50%) !important;

    width: 45px !important;
    height: 45px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: none !important;
    border-radius: 50% !important;

    background: rgba(0, 0, 0, 0.75) !important;

    color: white !important;

    font-size: 22px !important;
    line-height: 45px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    cursor: pointer;

    z-index: 100 !important;

    transition: all 0.3s ease;
}


/* =========================================
   TOMBOL KIRI
========================================= */

.gallery-main .gallery-prev {
    left: 15px !important;
    right: auto !important;

    top: 50% !important;

    transform: translateY(-50%) !important;
}


/* =========================================
   TOMBOL KANAN
========================================= */

.gallery-main .gallery-next {
    right: 15px !important;
    left: auto !important;

    top: 50% !important;

    transform: translateY(-50%) !important;
}


/* =========================================
   HOVER
========================================= */

.gallery-main .gallery-btn:hover {
    background: #e10600 !important;

    transform: translateY(-50%) scale(1.08) !important;
}


/* =========================================
   THUMBNAIL
========================================= */

.gallery-thumbnails {
    display: flex;

    gap: 10px;

    margin-top: 12px;

    overflow-x: auto;
}

.thumbnail {
    width: 80px;
    height: 60px;

    object-fit: cover;

    border-radius: 8px;

    cursor: pointer;

    opacity: 0.5;

    border: 2px solid transparent;

    transition: 0.3s;
}

.thumbnail:hover {
    opacity: 1;
}

.thumbnail.active {
    opacity: 1;

    border-color: #e10600;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .gallery-main {
        height: 350px;
    }

    .gallery-main .gallery-btn {
        width: 40px !important;
        height: 40px !important;

        line-height: 40px !important;

        font-size: 18px;
    }

    .gallery-main .gallery-prev {
        left: 10px !important;
    }

    .gallery-main .gallery-next {
        right: 10px !important;
    }

    }

    /* =========================================
   FIX SLIDER DETAIL KENDARAAN
========================================= */

/* Area utama foto */
.modal-content .modal-gallery .gallery-main {
    position: relative !important;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: #111;
    border-radius: 12px;
}

/* Foto */
.modal-content .modal-gallery .gallery-main #modalImage {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* =========================================
   TOMBOL SLIDER
========================================= */

.modal-content .modal-gallery .gallery-main .gallery-btn {
    position: absolute !important;

    top: 50% !important;
    bottom: auto !important;

    width: 45px !important;
    height: 45px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: none !important;
    border-radius: 50% !important;

    background: rgba(0, 0, 0, 0.7) !important;
    color: white !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 22px !important;
    line-height: 1 !important;

    cursor: pointer;

    z-index: 9999 !important;

    transform: translateY(-50%) !important;
}


/* =========================================
   TOMBOL KIRI
========================================= */

.modal-content .modal-gallery .gallery-main .gallery-prev {
    left: 15px !important;
    right: auto !important;

    top: 50% !important;
    bottom: auto !important;

    transform: translateY(-50%) !important;
}


/* =========================================
   TOMBOL KANAN
========================================= */

.modal-content .modal-gallery .gallery-main .gallery-next {
    right: 15px !important;
    left: auto !important;

    top: 50% !important;
    bottom: auto !important;

    transform: translateY(-50%) !important;
}


/* =========================================
   HOVER
========================================= */

.modal-content .modal-gallery .gallery-main .gallery-btn:hover {
    background: #e10600 !important;

    transform: translateY(-50%) scale(1.1) !important;
}


/* =========================================
   THUMBNAIL
========================================= */

.modal-content .gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
}

.modal-content .gallery-thumbnails .thumbnail {
    width: 80px;
    height: 60px;
    flex-shrink: 0;

    object-fit: cover;

    border-radius: 8px;

    cursor: pointer;

    opacity: 0.5;

    border: 2px solid transparent;
}

.modal-content .gallery-thumbnails .thumbnail.active {
    opacity: 1;
    border-color: #e10600;
}


/* =========================================
HP
========================================= */

@media (max-width: 768px) {

    .modal-content .modal-gallery .gallery-main {
        height: 350px;
    }

    .modal-content .modal-gallery .gallery-main .gallery-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
    }

    .modal-content .modal-gallery .gallery-main .gallery-prev {
        left: 10px !important;
    }

    .modal-content .modal-gallery .gallery-main .gallery-next {
        right: 10px !important;
    }
}

}