/* Contact Overlay Styles - Split Layout & Carousel */
.contact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10002;
    display: none;
    opacity: 0;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
}

.close-contact {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 40px;
    cursor: pointer;
    color: #1a1a2e;
    z-index: 10005;
    transition: transform 0.3s ease;
}

.close-contact:hover {
    transform: rotate(90deg);
}

/* Left Section: Information */
.contact-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8%;
    background: transparent;
    z-index: 2;
}

.contact-greeting {
    font-family: 'SF Pro', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #1a1a2e;
    margin-bottom: 30px;
    max-width: 450px;
    font-weight: 400;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.social-link {
    font-size: 1.5rem;
    color: #1a1a2e;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    opacity: 0.7;
}

.contact-email-container {
    display: flex;
    align-items: center;
    background: white;
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: fit-content;
    position: relative;
}

.code-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: black;
    color: white;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    border-radius: 2px;
}

.email-address {
    font-family: 'SF Pro', sans-serif;
    font-size: 1.1rem;
    color: #1a1a2e;
    text-decoration: none;
    border-bottom: 1.5px solid #1a1a2e;
    padding-bottom: 2px;
    margin-right: 40px;
    font-weight: 500;
}

/* Right Section: Carousel */
.contact-right {
    flex: 1.2;
    position: relative;
    background: #f8f8f8;
    overflow: hidden;
}

.carousel-container {
    height: 100%;
    display: flex;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    z-index: 3;
    max-width: 600px;
}

.slide-title {
    font-family: 'SF Pro', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.slide-description {
    font-family: 'SF Pro', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 400;
}

.explore-btn {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-family: 'SF Pro', sans-serif;
    border-bottom: 1px solid white;
    padding-bottom: 5px;
    font-size: 1rem;
    transition: opacity 0.3s;
}

.explore-btn:hover {
    opacity: 0.7;
}

/* Navigation for Carousel */
.carousel-nav {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 10;
}

.nav-arrow {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s;
    font-size: 1.5rem;
    opacity: 0.6;
}

.nav-arrow:hover {
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .contact-overlay {
        flex-direction: column;
    }

    .contact-left {
        padding: 80px 40px 40px;
    }

    .contact-right {
        height: 50vh;
    }

    .slide-title {
        font-size: 2.5rem;
    }
}