/* ===================================
   Login / Landing Page Styles
   =================================== */

.landing-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1440px;
    height: 1250px;
    background: #FFFFFF;
    overflow: visible;
}

/* Ensure body has enough height to scroll the absolute container */
body {
    min-height: 1250px;
}

/* Login Button */
.login-trigger {
    position: absolute;
    width: 44px;
    height: 25px;
    left: 1351px;
    top: 31px;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0.003em;
    color: #000000;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* Logo */
.landing-logo {
    position: absolute;
    width: 250px;
    height: 250px;
    left: calc(50% - 250px/2);
    top: 46px;
    /* calc(50% - 250px/2 - 316.5px) based on 975px height */
    object-fit: contain;
}

/* Heading */
.landing-title {
    position: absolute;
    width: 800px;
    left: 50%;
    transform: translateX(-50%);
    top: 316px;
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #000000;
    margin: 0;
    text-align: center;
}

/* Subtitle */
.landing-subtitle {
    position: absolute;
    width: 800px;
    left: 50%;
    transform: translateX(-50%);
    top: 379px;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.003em;
    color: #000000;
    margin: 0;
    text-align: center;
}

/* Explore Button */
.btn-explore {
    position: absolute;
    width: 209px;
    height: 47px;
    left: calc(50% - 209px/2 - 2.5px);
    top: 415px;
    background: #C5A16E;
    border-radius: 8px;
    border: none;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0.003em;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

/* Gallery Base Styles */
.landing-gallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.gallery-item {
    position: absolute;
    width: 168px;
    height: 222px;
    border-radius: 8px;
    background: #D9D9D9;
    overflow: hidden;
    pointer-events: auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Individual Item Offsets */
.item-1 {
    left: 6px;
    top: 753px;
}

.item-2 {
    left: 6px;
    top: 521px;
}

.item-3 {
    left: 189px;
    top: 913px;
}

.item-4 {
    left: 189px;
    top: 676px;
}

.item-5 {
    left: 372px;
    top: 743px;
}

.item-6 {
    left: 372px;
    top: 506px;
}

.item-7 {
    left: 555px;
    top: 703px;
}

.item-8 {
    left: 738px;
    top: 633px;
}

.item-9 {
    left: 921px;
    top: 743px;
}

.item-10 {
    left: 921px;
    top: 506px;
}

.item-11 {
    left: 1104px;
    top: 683px;
}

.item-12 {
    left: 1104px;
    top: 446px;
}

.item-13 {
    left: 6px;
    top: 990px;
}

.item-14 {
    left: 189px;
    top: 1150px;
    border-radius: 25px;
}

/* Specific radius for this item */
.item-15 {
    left: 372px;
    top: 980px;
}

.item-16 {
    left: 555px;
    top: 940px;
}

.item-17 {
    left: 738px;
    top: 870px;
}

.item-18 {
    left: 921px;
    top: 980px;
}

.item-19 {
    left: 1104px;
    top: 920px;
}

.item-20 {
    left: 1287px;
    top: 743px;
}

.item-21 {
    left: 1287px;
    top: 506px;
}

.item-22 {
    left: 1287px;
    top: 980px;
}

@media (max-width: 1440px) {
    .landing-container {
        left: 50%;
        transform: translate(-50%, 0) scale(calc(100vw / 1440));
        transform-origin: top center;
    }

    body {
        overflow-x: hidden;
    }
}

@media (max-width: 1024px) {
    .landing-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .landing-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .landing-nav {
        padding: 20px;
    }

    .landing-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
    }

    .landing-title {
        font-size: 32px;
    }
}

/* Login Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.login-modal {
    background-color: #FFFFFF;
    width: 100%;
    max-width: 480px;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.modal-overlay.active .login-modal {
    transform: translateY(0);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-logo {
    width: 120px;
    margin: 0 auto 15px;
}

.modal-title {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 600;
    color: #000;
}

/* Form Styles */
.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.login-form .input-wrapper {
    position: relative;
}

.login-form input {
    width: 100%;
    height: 55px;
    background-color: #F8F8F8;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    padding: 0 20px;
    font-family: var(--font-body);
    font-size: 16px;
    color: #000;
    transition: border-color 0.3s ease;
}

.login-form input::placeholder {
    color: #BCBCBC;
}

.login-form input:focus {
    outline: none;
    border-color: #CDAF71;
}

.forgot-link {
    display: block;
    color: #00C2E5;
    font-family: var(--font-body);
    font-size: 14px;
    text-decoration: none;
    margin-top: 10px;
}

.btn-login-submit {
    width: 100%;
    background-color: #ECC78A;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 600;
    height: 55px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 30px;
    transition: background-color 0.3s ease;
}

.btn-login-submit:hover {
    background-color: #e2ba77;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    background: none;
    border: none;
}