/* ============================================================
   LYLA JEWELRY - CONTACT PAGE
   Contact form and private viewing booking
   ============================================================ */

/* ==================== MEDIA QUERY BREAKPOINTS ====================
   Large Desktop: 1440px+
   Desktop:       1025px - 1439px (default base styles)
   Tablet:        768px - 1024px
   Large Mobile:  481px - 767px  
   Mobile:        max-width: 480px
   ============================================================ */

/* ==================== BASE STYLES (Desktop 1025px-1439px) ==================== */

/* Contact Section */
.contact-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: white;
    font-family: 'Avenir', sans-serif;
    color: black;
    min-height: 100vh;
}

/* Background Image */
.contact-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-div-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

/* Contact Container */
.contact-container {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    padding: 120px 40px;
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

/* Left Side - Contact Info */
.contact-info-side {
    width: 50%;
}

.contact-main-title {
    font-size: 50px;
    font-weight: 500;
    line-height: 110%;
    margin-top: 10px;
    margin-bottom: 8rem;
    width: 84%;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.info-item h3 {
    font-size: 17px;
    font-weight: 800;
    line-height: 128%;
    margin-bottom: 10px;
}

.info-item p {
    font-size: 14px;
    opacity: 90%;
    margin: 3px 0;
}

/* Social Icons */
.icon-img-wrapper-contact {
    width: 35px;
    height: 35px;
    background: #ddd;
    border: 2px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.icon-img-wrapper-contact:hover {
    border-color: #fff;
    background: #ddd;
}

.contact-social {
    display: flex;
    gap: 4px;
    margin-top: 15px;
}

.info-item img {
    width: 14px;
    height: 14px;
    opacity: 100%;
    -webkit-filter: invert(1);
}

/* Form Card */
.contact-form-card {
    background: #eee;
    backdrop-filter: blur(30px);
    padding: 40px;
    border-radius: 20px;
    border: 3px solid #eee;
    width: 600px;
    min-height: 650px;
}

.form-title {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 30px;
    padding-top: 20px;
    color: #000;
}

/* Input Groups */
.input-group {
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    padding-bottom: 8px;
}

.input-group label {
    display: block;
    font-size: 14px;
    color: black;
    opacity: 0.8;
    margin-bottom: 5px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    color: #000;
    outline: none;
    font-family: 'Avenir', sans-serif;
    font-size: 15px;
    padding: 5px 0;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.input-group textarea {
    resize: vertical;
    min-height: 60px;
}

/* Custom Select */
.custom-select {
    width: 100%;
    background: transparent;
    border: none;
    color: rgb(0, 0, 0);
    padding: 5px 0;
    outline: none;
    font-family: 'Avenir', sans-serif;
    font-size: 15px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 15px;
}

.custom-select option {
    background: #000;
    color: #000;
}

/* Form Row (side by side inputs) */
.form-row-mobile {
    display: flex;
    gap: 20px;
    width: 100%;
}

.form-row-mobile .input-group {
    width: 50%;
    margin-bottom: 50px;
}

.half-width {
    flex: 1;
}

/* Send Button */
.send-btn {
    margin-top: 20px;
    background: transparent;
    border: 1px solid rgb(0, 0, 0);
    color: rgb(0, 0, 0);
    padding: 12px 35px;
    cursor: pointer;
    font-family: 'Avenir', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

.send-btn:hover {
    background: rgb(0, 0, 0);
    color: white;
}

.send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Form Display Control */
.mobile-form-only {
    display: none;
}

.desktop-form-only {
    display: block;
}

/* ==================== LARGE DESKTOP: 1440px+ ==================== */
@media (min-width: 1440px) {
    .contact-container {
        padding: 140px 60px;
        gap: 80px;
    }

    .contact-main-title {
        font-size: 50px;
    }

    .contact-form-card {
        width: 700px;
        height: 700px;
        padding: 50px;
    }

    .form-title {
        font-size: 45px;
    }
}

/* ==================== TABLET: 768px - 1024px ==================== */
@media (min-width: 768px) and (max-width: 1024px) {
    .desktop-form-only {
        display: none !important;
    }

    .mobile-form-only {
        display: block !important;
        width: 100%;
        background: none !important;
        border: none !important;
        padding: 0;
    }

    .contact-container {
        flex-direction: column;
        padding: 80px 40px;
    }

    .contact-image-wrapper {
        height: 450px;
    }

    .contact-info-side {
        width: 65%;
        margin-top: 40px;
    }

    .contact-main-title {
        font-size: 40px;
        margin-bottom: 3rem;
        width: 100%;
    }

    .info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 10px;
        margin-bottom: 50px;
    }

    .contact-form-card {
        width: 100%;
        height: auto;
        padding: 30px 20px;
        background: #000000;
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: none;
    }

    .form-title {
        font-size: 32px;
        margin-bottom: 3rem;
    }
}

/* ==================== LARGE MOBILE: 481px - 767px ==================== */
@media (min-width: 481px) and (max-width: 767px) {
    .contact-info-side{
        order: 2;
        padding-inline: 30px;
    }
    .desktop-form-only {
        display: none !important;
    }

    .mobile-form-only {
        display: block !important;
        width: 100%;
        background: none !important;
        border: none !important;
        padding: 0;
    }

    .contact-container {
        flex-direction: column;
        padding: 60px 20px;
    }

    .contact-image-wrapper {
        height: 450px;
    }

    .contact-info-side {
        
        width: 100%;
        margin-top: 40px;
        
        order: 2;
        padding-inline: 30px;
    
    }

    .contact-main-title {
        font-size: 35px;
        margin-bottom: 3rem;
        width: 100%;
    }

    .info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 10px;
        margin-bottom: 50px;
    }

    .info-item h3 {
        font-size: 15px;
    }

    .info-item p {
        font-size: 13px;
    }

    .contact-form-card {
        width: 100%;
        height: auto;
        padding: 30px 20px;
        background: #000000;
        border: 1px solid rgba(0, 0, 0, 0.1);
        backdrop-filter: none;
    }

    .form-title {
        font-size: 28px;
        margin-bottom: 3rem;
    }

    .form-row-mobile .send-btn {
        width: 100px;
        padding: 15px;
    }
}

/* ==================== MOBILE: ≤480px ==================== */
@media (max-width: 480px) {
        .contact-info-side{
            width: 100%;
        order: 2;
        padding-inline: 20px;
    }
    .desktop-form-only {
        display: none !important;
    }

    .mobile-form-only {
        display: block !important;
        width: 100%;
        background: none !important;
        border: none !important;
        padding: 0;
    }

    .contact-container {
        flex-direction: column;
        padding: 10px 10px;
        gap: 0px;
    }

    .contact-image-wrapper {
        height: 500px;
    }



    .contact-main-title {
        font-size: 31px;
        margin-bottom: 3rem;
        width: 100%;
    }

    .info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 10px;
        margin-bottom: 50px;
    }

    .info-item h3 {
        font-size: 14px;
    }

    .info-item p {
        font-size: 12px;
    }

    .icon-img-wrapper-contact {
        width: 30px;
        height: 30px;
    }

    .info-item img {
        width: 12px;
        height: 12px;
    }

    .contact-form-card {
        width: 100%;
        height: auto;
        padding: 30px 20px;
        background: #000000;
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: none;
    }

    .form-title {
        font-size: 28px;
        margin-bottom: 30px;
        margin-top: 30px;
    }

    .input-group {
        margin-bottom: 20px;
    }

    .input-group label {
        font-size: 13px;
    }

    .input-group input,
    .input-group textarea {
        font-size: 14px;
    }

    .form-row-mobile .send-btn {
        width: 100%;
        padding: 15px;
    }

    .send-btn {
        width: 100%;
        padding: 14px 25px;
        font-size: 14px;
    }
}
