/* Contact Page Styles - Based on Page 3 Context */

/* Contact Page Frame (3:227) - 1280x1080 */
.contact-page {
    height: 1080px;
    background-color: #ff2300;
    position: relative;
    overflow: hidden;
}

/* Logo (3:231) - 137x92 at (151, 31) */
.contact-logo {
    position: absolute;
    left: 151px;
    top: 31px;
    width: 137px;
    height: 92px;
    z-index: 100;
}

.contact-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Back Arrow (3:290) - 59x7 at (117, 77) rotated -180deg - THIN */
.back-arrow-contact {
    position: absolute;
    left: 117px;
    top: 77px;
    width: 60px;
    height: 20px;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 100;
    display: flex;
    align-items: center;
}

.back-arrow-contact svg {
    width: 100%;
    height: auto;
}

.back-arrow-contact svg path {
    stroke: #000000;
    stroke-width: 3;
    fill: #000000;
}

.back-arrow-contact:hover {
    opacity: 0.85;
    transform: translateX(-8px) scale(1.05);
}

/* Contact Container (3:230) - Rectangle 4: 628x433 at (356, 323) */
.contact-container {
    position: absolute;
    left: 356px;
    top: 323px;
    width: 628px;
    height: 433px;
    background-color: #232323;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    z-index: 10;
}

/* Contact Us Title (3:232) - 323x32 at (573, 450) */
.contact-title {
    font-size: 60px;
    font-family: 'LT Serif', 'Georgia', serif;
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 31px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
}

/* Subtitle (3:234) - "Got a project ? Send us a message" at (471, 508) */
.contact-subtitle {
    font-size: 31px;
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 400;
    letter-spacing: -0.1em;
    line-height: 26px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
}

/* Contact Form Box */
.contact-form-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Email Input Wrapper (3:233) - Rectangle 9: 470x63 */
.email-input-wrapper {
    position: relative;
    width: 100%;
    max-width: 470px;
    height: 63px;
    background-color: #d9d9d9;
    border-radius: 15px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin: 0 auto;
}

/* Email Input (3:247) - "Enter your mail" */
.email-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 31px;
    font-family: 'Outfit', Arial, sans-serif;
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 31px;
    color: #000000;
}

.email-input-wrapper input::placeholder {
    color: #7e7e7e;
}

/* Send Button (3:235) - 59x59 at (830, 565) - Mail Icon */
.send-button {
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: -25px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.send-button:hover {
    transform: scale(1.15);
}

.send-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Form Status Message */
.form-status {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Helvetica', Arial, sans-serif;
    text-align: center;
    display: none;
    animation: fadeIn 0.3s;
}

.form-status.success {
    display: block;
    background: rgba(0, 200, 100, 0.2);
    color: #00ff6e;
    border: 1px solid rgba(0, 200, 100, 0.4);
}

.form-status.error {
    display: block;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cloud Images - Big Clouds (6-1 series) */
.cloud-img {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    opacity: 0.9;
    will-change: transform;
}

/* Cloud Big 1 (3:248) - 386x179 at (244, 92) */
.cloud-big-1 {
    left: 244px;
    top: 92px;
    width: 386px;
    height: 179px;
    animation: float-slow-1 5s linear infinite alternate;
}

/* Cloud Big 2 (3:229) - 386x179 at (38, 360) */
.cloud-big-2 {
    left: 38px;
    top: 360px;
    width: 386px;
    height: 179px;
    animation: float-slow-2 6s linear infinite alternate;
}

/* Cloud Big 3 (3:228) - 386x179 at (889, 345) */
.cloud-big-3 {
    left: 889px;
    top: 345px;
    width: 386px;
    height: 179px;
    animation: float-slow-3 7s linear infinite alternate;
}

/* Cloud Big 4 - Additional cloud top right */
.cloud-big-4 {
    left: 780px;
    top: 120px;
    width: 320px;
    height: 150px;
    animation: float-slow-1 6.5s linear infinite alternate;
}

/* Cloud Big 5 - Additional cloud bottom left */
.cloud-big-5 {
    left: 120px;
    top: 750px;
    width: 300px;
    height: 140px;
    animation: float-slow-2 8s linear infinite alternate;
}

/* Cloud Big 6 - Additional cloud middle right */
.cloud-big-6 {
    left: 950px;
    top: 650px;
    width: 280px;
    height: 130px;
    animation: float-slow-3 5.5s linear infinite alternate;
}

/* Smooth straight-line horizontal movement - clouds drift slowly right */
@keyframes float-slow-1 {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(40px);
    }
}

@keyframes float-slow-2 {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-30px);
    }
}

@keyframes float-slow-3 {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50px);
    }
}

/* Responsive Design */
@media (max-width: 1280px) {
    .contact-page {
        width: 100%;
        height: auto;
        min-height: 100vh;
        padding: 20px;
    }

    .contact-logo {
        left: 20px;
        top: 20px;
        width: 100px;
        height: 67px;
    }

    .back-arrow-contact {
        left: 20px;
        top: 100px;
    }

    .contact-container {
        position: relative;
        left: auto;
        top: auto;
        margin: 150px auto 50px;
        width: 90%;
        max-width: 600px;
        height: auto;
        padding: 50px 30px;
    }

    .contact-title {
        font-size: 48px;
    }

    .contact-subtitle {
        font-size: 24px;
        line-height: 32px;
    }

    .email-input-wrapper {
        max-width: 100%;
    }

    .cloud-img {
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .contact-page {
        width: 100%;
        height: auto;
        min-height: 100vh;
        padding: 0;
        overflow-x: hidden;
    }

    .contact-logo {
        left: 20px;
        top: 20px;
        width: 60px;
        height: 40px;
    }

    .back-arrow-contact {
        left: 20px;
        top: 70px;
        width: 50px;
        height: 18px;
    }

    .contact-container {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 140px auto 40px;
        width: calc(100% - 40px);
        max-width: none;
        height: auto;
        padding: 35px 25px;
        border-radius: 35px;
    }

    .contact-title {
        font-size: 32px;
        line-height: 36px;
        margin-bottom: 15px;
    }

    .contact-subtitle {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 30px;
    }

    .email-input-wrapper {
        max-width: 100%;
        height: 55px;
        padding: 0 15px;
    }

    .email-input-wrapper input {
        font-size: 16px;
        line-height: 20px;
    }

    .send-button {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }

    .form-status {
        font-size: 14px;
        padding: 10px 14px;
    }

    .cloud-img {
        opacity: 0.4;
    }

    .cloud-big-1,
    .cloud-big-2,
    .cloud-big-3,
    .cloud-big-4,
    .cloud-big-5,
    .cloud-big-6 {
        width: 200px;
        height: auto;
    }
}
