/* ===========================
   CONTACT SECTION - SPLIT DESIGN
   =========================== */

.contact {
    background: #000;
    min-height: 80vh; 
    display: flex;
    align-items: center;
    padding: 60px 140px;
    border-radius: 60px 60px 0 0; 
    margin-top: -60px; 
}

.contact-split-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 120px;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
}

/* ===========================
   LEFT SIDE
   =========================== */

.contact-left {
    padding-right: 40px;
}

.contact-big-title {
    font-size: clamp(50px, 7vw, 90px);
    font-weight: 900;
    color: #ffffff;
    line-height: 0.95;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}

.contact-email-link {
    font-size: clamp(16px, 2vw, 22px);
    color: rgba(255, 255, 255, 0.586);
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-email-link:hover {
    color: rgba(255, 255, 255, 0.586);
    text-decoration-color: #807ef0;
}

/* ===========================
   RIGHT SIDE - FORM
   =========================== */

.contact-right {
    width: 100%;
}

.simple-contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.simple-contact-form input,
.simple-contact-form textarea {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    font-size: 15px;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.simple-contact-form input::placeholder,
.simple-contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

/* Focus effect */
.simple-contact-form input:focus,
.simple-contact-form textarea:focus {
    border-bottom-color: #b5adfa;
    box-shadow: none;
}

/* Make textarea resize vertically only */
.simple-contact-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Inline form layout for Name + Email or Phone */
.form-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Send Button - Same as Hero Buttons */
.btn-send-contact {
    width: 100%;
    padding: 18px 40px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.586);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.586);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-send-contact::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.586);
    left: var(--x, 50%);
    top: var(--y, 50%);
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
                height 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    z-index: 0;
    pointer-events: none;
}

.btn-send-contact:hover::before {
    width: 400%;
    height: 400%;
}

.btn-send-contact:hover {
    color: rgba(255, 255, 255, 0.586);
    transform: scale(1.02);
}

.btn-send-contact:active {
    transform: scale(0.98);
}

.btn-send-contact span {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.btn-send-contact:hover span {
    color: #000000; 
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: #000;
    padding: 40px 80px;
    text-align: center;
    border-top: 1px solid #222;
}

.footer p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 400;
}

.footer-location {
    font-size: 13px;
    color: #555;
    margin-bottom: 0;
}

/* ===========================
   RESPONSIVE - TABLET
   =========================== */

@media (max-width: 1024px) {
    .contact {
        padding: 60px;
    }

    .contact-split-container {
        gap: 60px;
    }

    .contact-big-title {
        font-size: 70px;
    }
}

/* ===========================
   RESPONSIVE - MOBILE
   =========================== */

@media (max-width: 768px) {
    .contact {
        padding: 60px 40px;
    }

    .contact-split-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-left {
        text-align: center;
        padding-right: 0;
    }

    .contact-big-title {
        font-size: 56px;
    }

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

    /* Contact send button - mobile tap */
    .btn-send-contact:active::before {
        width: 400% !important;
        height: 400% !important;
        transition: none !important;
    }
    
    .btn-send-contact:active span {
        color: #000 !important;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 60px 24px;
    }

    .contact-big-title {
        font-size: 44px;
    }

    .contact-email-link {
        font-size: 16px;
    }

    .simple-contact-form input,
    .simple-contact-form textarea {
        padding: 16px 20px;
        font-size: 14px;
    }

    .btn-send-contact {
        padding: 16px 32px;
        font-size: 13px;
    }

    .footer {
        padding: 30px 24px;
    }
    
    .footer p {
        font-size: 12px;
    }
}
/* ===========================
   PHONE INPUT VALIDATION
   =========================== */

.phone-input-wrapper {
    position: relative;
    width: 100%;
}

.phone-input-wrapper.error input {
    border-bottom-color: #ff6b6b !important;
}

.phone-error {
    color: #ff6b6b;
    font-size: 13px;
    margin-top: -8px;
    margin-bottom: 8px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.phone-error.show {
    opacity: 1;
    height: auto;
    margin-top: 4px;
}