/* General styles */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Forum&family=Gloock&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

html {
    scroll-behavior: smooth;
}
body{
    font-family: 'Gloock', serif;
    margin: 0;
    padding: 0;
    background-color: white;
    color: black;
}

/* Custom gold dot cursor */
* {
    cursor: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgb(162, 138, 0);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

/* Page transition overlay */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.page-transition.fade-out {
    opacity: 1;
    pointer-events: all;
}

/* Grain texture */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 100px 100px;
    pointer-events: none;
    z-index: 99998;
    opacity: 0.08;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
    border-top: none;
}

.footer-gold {
    width: 40px;
    height: 1px;
    background: rgb(162, 138, 0);
    margin: 0 auto 12px;
}

.footer-text {
    font-family: 'Playfair Display', serif;
    font-size: 0.55rem;
    letter-spacing: 4px;
    color: #bbb;
    text-transform: uppercase;
}

/* Header styles */
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    padding: 5px;
    background-color: white;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.model-profile header {
    position: static;
}

.home-link {
    display: none;
}

.home-header .logo {
    visibility: hidden;
}

.logo img{
    height: 160px;
    margin-left: 35px;
}

.nav-links{
    list-style: none;
    display: flex;
}

.nav-links li{
    margin-right: 70px;
    font-family: 'Playfair display', serif;
}

.nav-links a{
    text-decoration: none;
    color: black;
    transition: ease 0.2s;
}

.nav-links a:hover{
    color: rgb(162, 138, 0);
}

.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-30%);
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 150px;
    text-align: center;
}

.dropdown-menu li{
    padding: 10px 20px;
}

.dropdown-menu li a{
    color: black;
    text-decoration: none;
    display: block;
}

.dropdown-menu li a:hover{
    color: rgb(162, 138, 0);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li{
    position: relative;
}

.hamburger{
    display: none;
    flex-direction: column;
    cursor: pointer;
}

/*.hamburger span{
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 4px 0;
    margin-right: 50px;
} */

button{
    display: none;
}

/* Landing page */
.landing {
    height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: white;
    position: relative;
    text-align: center;
}

.landing-title{
    font-size: 2.6rem;
    font-family: 'Forum', serif;
    text-align: center;
    letter-spacing: 6px;
    color: #111;
    margin: 0;
    opacity: 0;
    animation: fadeUp 1.8s ease forwards 0.3s;
}

.gold-line {
    width: 0;
    height: 1px;
    background-color: rgb(162, 138, 0);
    margin-top: 24px;
    animation: drawLine 1.2s ease forwards 1.8s;
}


.location {
    font-family: 'Playfair Display', serif;
    font-size: 0.75rem;
    letter-spacing: 5px;
    color: #888;
    margin-top: 20px;
    opacity: 0;
    animation: fadeUp 1.2s ease forwards 2.6s;
    text-transform: uppercase;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes drawLine {
    from { width: 0; }
    to { width: 220px; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

*,
*::before,
*::after{
    box-sizing: border-box;
}

/* Models section */

.section-gold-line {
    width: 0;
    height: 1px;
    background: rgb(162, 138, 0);
    margin: 0 auto 40px;
    animation: drawSectionLine 0.9s ease forwards 1.2s;
}

.men-section .section-gold-line {
    animation-delay: 1.4s;
}

@keyframes drawSectionLine {
    from { width: 0; }
    to { width: 120px; }
}

.models {
    padding: 30px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    overflow-x: hidden;
}

#models{
    width: 100%;
}

.models-wrapper{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    width: 100%;
    flex-wrap: wrap;
    overflow: hidden;
}

.women-section, .men-section{
    flex: 1 1 45%;
    min-width: 300px;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 150px;
}

.women-section h3, .men-section h3{
    font-size: 2.5rem;
    letter-spacing: 8px;
    font-weight: 400;
    margin-bottom: 6px;
    opacity: 0;
    animation: fadeUp 1.2s ease forwards 0.6s;
}

#women-models, #men-models {
    flex: 1;
}

.models h3 {
    text-align: center;
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
}

.portfolio-images img{
    transition: transform 0.4s ease, filter 0.4s ease;
    cursor: none;
}

.portfolio-images img:hover{
    transform: scale(1.05);
    filter: brightness(1.1);
}

.models-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 250px));
    gap: 20px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    align-items: start;
    justify-content: center;
}

.model-card{
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.model-card .img-wrap{
    position: relative;
    overflow: hidden;
}

.model-card img{
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: top;
    filter: grayscale(100%);
    transition: filter 0.3s, transform 0.4s;
}

.model-card:hover img{
    filter: grayscale(0%);
    transform: scale(1.03);
}

.model-card .view-profile {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.75);
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 0.6rem;
    letter-spacing: 4px;
    text-align: center;
    padding: 11px;
    text-transform: uppercase;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.model-card:hover .view-profile {
    transform: translateY(0);
}

.model-card .name {
    font-family: 'Playfair Display', serif;
    font-size: 0.68rem;
    letter-spacing: 4px;
    color: #111;
    text-align: center;
    padding: 12px 0 4px;
    text-transform: uppercase;
    transition: color 0.3s;
    position: static;
    opacity: 1;
}

.model-card:hover .name {
    color: rgb(162, 138, 0);
}

/* Contact section */
.contact {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: white;
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-heading {
    font-family: 'Forum', serif;
    font-size: 4.5rem;
    letter-spacing: 12px;
    color: #111;
    margin: 0;
    opacity: 0;
    animation: fadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
    padding-top: 50px;
}

.contact-gold-line {
    width: 0;
    height: 1px;
    background: rgb(162, 138, 0);
    margin: 22px auto;
    animation: drawLine 1s ease forwards 1.2s;
}

.contact-email {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: #888;
    text-decoration: none;
    opacity: 0;
    animation: fadeUp 1.2s ease forwards 1.8s;
    transition: color 0.3s, letter-spacing 0.3s;
}

.contact-email:hover {
    color: rgb(162, 138, 0);
    letter-spacing: 4px;
}

/* Corner brackets */
.corner-tl, .corner-br {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0;
    animation: fadeUp 1s ease forwards 2.4s;
}

.corner-tl {
    top: 30px;
    left: 30px;
    border-top: 1px solid rgb(162, 138, 0);
    border-left: 1px solid rgb(162, 138, 0);
}

.corner-br {
    bottom: 30px;
    right: 30px;
    border-bottom: 1px solid rgb(162, 138, 0);
    border-right: 1px solid rgb(162, 138, 0);
}

/* Model personal page */
.model-page {
    padding: 5px 20px 60px;
    max-width: 900px;
    margin: 0 auto;
}

.model-name{
    text-align: center;
    font-size: 2.5rem;
    letter-spacing: 2px;
    font-weight: 400;
    margin-bottom: 50px;
    font-family: 'Forum', sans-serif;
}

.model-name .letter {
    display: inline-block;
    opacity: 0;
    animation: letterFade 0.4s ease forwards;
}

@keyframes letterFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Model header section */
.model-header{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    text-align: left;
    width: 100%;
    margin-bottom: 40px;
}

.model-details{
    flex: 1;
    padding-top: 70px;
    max-width: 400px;
    text-align: left;
    font-family: 'Forum', sans-serif;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.stats-table tr {
    border-bottom: 1px solid rgb(162, 138, 0);
}

.stats-table tr:first-child {
    border-top: 1px solid rgb(162, 138, 0);
}

.stats-table td {
    padding: 10px 0;
    font-family: 'Playfair Display', serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.stats-table td:first-child {
    color: #999;
    width: 40%;
    padding-right: 20px;
}

.stats-table td:last-child {
    color: #111;
    text-align: right;
    padding-left: 20px;
}

/* Headshot */
.headshot{
    width: 280px;
    height: 400px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}

.model-header {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 40px;
    width: 100%;
    margin-bottom: 40px;
}

/* Model details */
.model-details{
    flex: 1;
    width: 100%;
    text-align: left;
    font-family: 'Forum', sans-serif;
}

.model-details h2{
    margin-bottom: 10px;
}

/* Horizontal divider */
.gold-divider-portfolio {
    width: 100%;
    height: 1px;
    background: rgb(162, 138, 0);
    margin: 40px 0;
    animation: none;
}

/* Portfolio section */
.model-portfolio {
    text-align: center;
    padding: 20px;
}

/* Portfolio images in a 2x2 grid */
.portfolio-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    justify-items: center;
    align-items: center;
    transition: transform 0.4s ease-in-out;
}

.portfolio-images img{
    width: 100%;
    max-width: 250px;
    height: 350px;
    object-fit: cover;
    border-radius: 3px;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.pdf-container {
    text-align: center;
    margin-top: 16px;
}

.pdf-container a{
    font-size: 0.65rem;
    font-family: 'Playfair Display', sans-serif;
    color: #111;
    text-decoration: none;
    letter-spacing: 4px;
    text-transform: uppercase;
    border-bottom: 1px solid rgb(162, 138, 0);
    padding-bottom: 3px;
    transition: color 0.3s;
}

.pdf-container a:hover{
    color: rgb(162, 138, 0);
}

.portfolio-label {
    font-family: 'Playfair Display', serif;
    font-size: 0.6rem;
    letter-spacing: 5px;
    color: #5c5c5c;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.6;
}

/* fullscreen lightbox */
.fullscreen-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.fullscreen-overlay img{
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
}

.close-btn{
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: rgb(162, 138, 0);
    cursor: pointer;
    user-select: none;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Portfolio Slider */
.portfolio-slider {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
}

/* ── Contact forms ── */
.contact {
    height: auto;
    min-height: 100vh;
    padding: 160px 20px 80px;
    align-items: flex-start;
}

.contact-container {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

/* Tabs */
.contact-tabs {
    display: flex;
    justify-content: center;
    margin: 40px 0 36px;
    gap: 0;
}

.contact-tab {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 0.55rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    padding: 10px 28px;
    border: 1px solid #ddd;
    background: white;
    color: #bbb;
    cursor: none;
    transition: all 0.2s;
}

.contact-tab.active {
    border-color: rgb(162, 138, 0);
    color: #111;
}

.contact-tab:hover {
    color: rgb(162, 138, 0);
}

/* Form fields */
.contact-form {
    width: 100%;
    text-align: left;
}

.contact-form.hidden {
    display: none;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}

.form-field {
    margin-bottom: 24px;
}

.form-field label {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 0.55rem;
    letter-spacing: 3px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
    font-family: 'Gloock', serif;
    font-size: 0.85rem;
    color: #111;
    background: transparent;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
    cursor: none;
}

.form-field input[type="file"] {
    font-family: 'Playfair Display', serif;
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: #888;
    padding-top: 8px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: rgb(162, 138, 0);
}

.form-field textarea {
    resize: none;
    height: 90px;
}

.form-submit {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 15px;
    border: 1px solid #111;
    background: transparent;
    font-family: 'Playfair Display', serif;
    font-size: 0.58rem;
    letter-spacing: 5px;
    color: #111;
    text-transform: uppercase;
    cursor: none;
    transition: background 0.2s, color 0.2s;
}

.form-submit:hover {
    background: #111;
    color: white;
}

/* Responsive styles */

@media (max-width: 400px) {
    .landing-title {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }

    .contact-heading {
        font-size: 1.6rem;
        letter-spacing: 4px;
    }

    .contact-tabs {
        flex-direction: column;
        align-items: center;
    }

    .contact-email {
        font-size: 0.65rem;
    }

    .portfolio-images {
        grid-template-columns: 1fr;
    }

    .portfolio-images img {
        height: 260px;
    }

    .portfolio-images img.wide {
        grid-column: span 1;
        height: 220px;
    }
}

@media (min-width: 769px){
    .nav-item.dropdown:hover .dropdown-menu{
        display: block;
    }
}

@media (max-width: 1024px) {
    .models-container {
        grid-template-columns: repeat(3, 1fr); /* tablet */
    }
}

@media (max-width: 768px) {
    .dropdown-menu{
        display: none;
        position: relative;
        background-color: transparent;
        box-shadow: none;
        text-align: center;
        width: 100%;
    }

    .contact {
        padding: 120px 20px 60px;
    }

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

    .contact-tab {
        font-size: 0.5rem;
        padding: 10px 18px;
        letter-spacing: 3px;
    }

    .contact-heading {
        font-size: 2.2rem;
        letter-spacing: 7px;
    }

    .landing-title {
        font-size: 1.6rem;
        letter-spacing: 3px;
    }

    .gold-line {
        animation: drawLine 1.2s ease forwards 1.8s;
    }

    .contact-heading {
        font-size: 2.8rem;
        letter-spacing: 8px;
    }

    .contact-email {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .corner-tl, .corner-br {
        width: 25px;
        height: 25px;
    }

    .dropdown-menu.active{
        display: block;
    }

    .dropdown-menu li{
        padding: 10px;
    }

    .nav-item.dropdown .dropdown-menu {
        position: absolute;
        left: 50%;
        top: 100%;
        transform: translateX(-50%);
        width: auto;
        background: white;
        border-radius: 5px;
        padding: 10px 0;
        z-index: 999;
    }

    .models-container{
        grid-template-columns: repeat(2, 1fr); /* keep 2 cols on mobile */
        /*max-width: 100%;*/
    }

    .model-card img {
        height: 220px; /* shorter on mobile */
    }

    .model-page {
        padding: 120px 20px 40px;
    }

    .model-name {
        font-size: 1.6rem;
        letter-spacing: 1px;
        margin-bottom: 30px;
    }

    .model-header {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

      .stats-table td {
        font-size: 0.7rem;
        padding: 8px 0;
            }

    .headshot {
        width: 100%;
        max-width: 280px;
        height: 360px;
    }

    .divider-vertical {
        display: none;
    }

    .model-details {
        max-width: 100%;
        width: 100%;
        text-align: center;
        padding: 0 20px;
    }

    .model-details p {
        font-size: 0.85rem;
        margin: 6px 0;
    }

    .pdf-container {
        margin-top: 16px;
    }

    .portfolio-images {
        grid-template-columns: repeat(2, 1fr); /* 2 cols on mobile */
        gap: 6px;
    }

    .portfolio-images img {
        height: 200px;
        max-width: 100%;
    }


    .models-container-wrapper{
        flex-direction: column;
    }

    .portfolio-images img.wide {
        grid-column: span 2;
        height: 180px;
    }

    /* hide custom cursor on mobile */
    .cursor-dot {
        display: none;
    }

    * {
        cursor: auto;
    }

    .logo {
    display: none;
    }

    .home-link {
    display: list-item;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100vw;
        height: 100vh;
        background-color: white;
        justify-content: center;
        text-align: center;
        z-index: 999;
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%);
        position: fixed;
        top: 0;
        left: 0;
        padding: 0;
        margin: 0;
    }

    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }

    .nav-links li {
        margin: 20px 0;
        font-size: 1.5rem;
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-links a {
        text-align: center;
        width: 100%;
    }

    .close-btn{
        display: block;
        position: absolute;
        top: 20px;
        right: 30px;
        font-size: 2rem;
        background: none;
        border: none;
        cursor: pointer;
        color: black;
    }

    header {
        justify-content: flex-end;
        padding-top: 15px
    }

    .nav-links.active ~ .hamburger,
    .hamburger.active {
        display: none;
    }

    .hamburger {
        display: flex;
        margin-top: 10px;
        align-self: flex-start;
        margin-right: 20px;
        padding-top: 40px;
    }

    .hamburger span {
    width: 25px;
    height: 1.5px;
    background-color: black;
    margin: 4px 0;
    margin-right: 50px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .models-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .women-section, .men-section {
        width: 100%;
        max-width: 700px;
    }

    .models-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 250px));
        justify-content: center;
    }

    .cursor-dot
    {
        display: none;
    }
}