@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Text:ital,wght@0,300..700;1,300..700&display=swap');

html, body {
    height: 100%;
    margin: 0;
    font-family: "Red Hat Text", sans-serif;
}

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

.container {
    margin: 0 auto;
    width: 100%;
    max-width: 1920px;
    position: relative;
    min-height: 100vh;
    overflow: auto;
}

.center {
    margin: 100px 50px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
}

.center img {
    max-width: 100%;
    width: 600px;
    height: auto;
}

.container.page > .page-header {
    justify-content: space-between;
}

.fade-in-menu {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 1s;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 0.5s;
}

/* Styles for Index page menu */
.container > .menu {
    display: flex;
    justify-content: flex-end;
    padding: 80px 160px;
    margin-bottom: 20px;
}

.container > .menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 77px;
}

.container > .menu ul li a {
    text-decoration: none;
    color: black;
    font-size: 34px;
    font-weight: 300;
    transition: color 0.3s ease;
}

.container > .menu ul li a:hover {
    color: gray;
}


@media (max-width: 768px) {
    .container > .menu {
        justify-content: center;
    }

    .center img {
        transform: translate(0, 0);
    }

    .container > .menu ul li a {
        font-size: 24px;
    }
}

.models-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.models-container .model {
    flex: 0 0 calc(33%);
    max-width: calc(33%);
    box-sizing: border-box;
    padding: 50px;
    text-align: center;
}

.models-container .model img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    transition: transform 0.3s ease-in-out;
}

.models-container .model:hover img {
    transform: scale(1.05);
}

.models-container .model p {
    font-size: 36px;
    font-weight: 400;
    margin: 0;
}

.models-container .model a {
    text-decoration: none;
    color: black;
}

.instagram {
    width: 40px;
}

.two-columns {
    align-items: flex-start;
    display: flex;
    gap: 0;
}

.two-columns > div {
    flex: 1;
    margin: 0 100px;
    box-sizing: border-box;
    max-width: 100%;
}

.two-columns > div:first-child {
    flex: 1;
}

.two-columns > div:last-child {
    flex: 9;
}


.contact {
    font-size: 18px;
}

.contact.sig {
    justify-content: flex-end;
    /*margin: auto 100px;*/
}

.contact.sig .signature {
    display: block;
    width: 373px;
    margin-top: 0;
    margin-bottom: 80px;
    float: right;
}


.contact .text {
    margin: 50px 0 50px 120px;
    max-width: 1200px;
}


@media (max-width: 1200px) {
    .models-container .model {
        flex: 0 0 calc(50% - 40px);
        max-width: calc(50% - 40px);
    }
    .two-columns {
        flex-direction: column-reverse;
        gap: 10px;
    }
    .two-columns > div {
        margin: auto 0;
    }
    .contact {
        margin: 0;
        font-size: 20px;
        text-align: justify;
    }
    .contact.sig .signature {
        margin-top: 0;
        max-width: 100%;
    }
    .contact .text {
        margin: 50px 0 50px 0;
    }
}

@media (max-width: 768px) {
    .models-container .model {
        flex: 0 0 calc(100% - 20px);
        max-width: calc(100% - 20px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* --- STYLES FOR UNIFIED PAGE HEADER & MODEL DETAIL PAGE --- */

.container.page, .container.model-detail-page {
    display: flex;
    flex-direction: column;
    padding: 40px 60px;
    box-sizing: border-box;
    min-height: 100vh;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 60px;
    gap: 20px;
}

.page-logo {
    display: block;
    flex-shrink: 1;
}

.page-logo img {
    display: block;
    max-width: 840px;
    max-height: 36px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.page-nav {
    flex-shrink: 0;
}

.nav-link-text {
    text-decoration: none;
    color: black;
    font-size: 34px;
    font-weight: 300;
    transition: color 0.3s ease;
}

.nav-link-text:hover {
    color: gray;
}

.close-button {
    color: black;
    display: block; /* Ensures the SVG inside behaves correctly */
}

.close-button svg {
    width: 48px;
    height: 48px;
    stroke-width: 1;
    transition: transform 0.3s ease;
}

.close-button:hover svg {
    transform: rotate(90deg);
}

.model-slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 30px 0;
    position: relative;
    /*flex-grow: 1;*/
}

.swiper {
    width: 100%;
    max-width: 1200px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 18px;
    background: #fff;
    height: auto;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: black;
}

.swiper-button-prev-custom {
    left: 20px;
}

.swiper-button-next-custom {
    right: 20px;
}

.swiper-button-prev-custom svg,
.swiper-button-next-custom svg {
    width: 60px;
    height: 60px;
    stroke-width: 0.5;
}

.model-info {
    text-align: center;
    padding: 20px 0;
}

.model-name {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.model-stats {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* --- RESPONSIVE STYLES FOR NEW/UNIFIED ELEMENTS --- */
@media (max-width: 1200px) {
    .swiper-button-prev-custom,
    .swiper-button-next-custom {
        display: none;
    }

    .swiper-pagination {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .container.page, .container.model-detail-page {
        padding: 20px;
    }

    .page-header {
        margin-bottom: 40px;
    }

    .nav-link-text {
        font-size: 24px;
    }

    .close-button svg {
        width: 32px;
        height: 32px;
    }

    .model-name {
        font-size: 28px;
    }

    .model-stats {
        font-size: 14px;
    }


}

.swiper-pagination {
    display: none;
    position: relative; /* Overwrites default absolute positioning */
    bottom: auto; /* Resets default positioning */
    margin-top: 25px; /* Adds space between slider and dots */
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #ccc; /* Light gray for inactive dots */
    opacity: 1; /* Make sure they are fully visible */
    transition: background-color 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: #000000;
}
