/**
 * Contact Page Styles
 * 
 * Contains all styling for the contact page including form elements,
 * contact information cards, validation states, and responsive layouts.
 * 
 * @package NewJusJumpin
 * @version 1.0.7
 */

/* ==================== HERO SECTION (UNCHANGED) ==================== */
.page-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-top: 15px;
    font-weight: 400;
}

.jj-contact-background-wrapper {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-image: url(../img/contact-web-bg2.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    z-index: -1;
    margin-top: -60px;
}

/* ==================== ENHANCED MESSAGE OVERLAY SECTION ==================== */
.message-overlay-section {
    position: relative;
    margin-top: -100px; /* Pull up to overlay hero */
    z-index: 100;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: linear-gradient(180deg, rgb(255 255 255 / -3%) 14%, #ffffff 16%);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.05);
}

.message-overlay-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(106, 17, 203, 0.1),
        0 5px 15px rgba(106, 17, 203, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(106, 17, 203, 0.1);
}

.message-overlay-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 25px 50px rgba(106, 17, 203, 0.15),
        0 10px 20px rgba(106, 17, 203, 0.1);
}

.overlay-card-inner {
    position: relative;
    padding: 3rem;
    background: linear-gradient(135deg, #ffffff, #f8f9ff);
    border-radius: 20px;
    overflow: hidden;
}

/* Decorative gradient background for the overlay card */
.overlay-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #588335 0%, #a3db53 100%);
    z-index: 1;
}

.overlay-card-decor {
    position: absolute;
    top: 25px;
    right: 25px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.decor-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

.decor-dot:nth-child(2) {
    animation-delay: 0.2s;
    background: linear-gradient(135deg, #ff6b35, #ff8c5a);
}

.decor-dot:nth-child(3) {
    animation-delay: 0.4s;
    background: linear-gradient(135deg, #48bb78, #38a169);
}

.overlay-card-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 1rem;
}

.overlay-icon {
    font-size: 3rem;
    color: #709e44;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
    text-shadow: 0 5px 15px rgba(106, 17, 203, 0.2);
}

.overlay-title {
    font-size: 2.2rem;
    color: #2d1b69;
    margin-bottom: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #64913c 0%, #a5e355 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.overlay-message {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.overlay-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(106, 17, 203, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(106, 17, 203, 0.1);
}

.overlay-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4a5568;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.overlay-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.overlay-feature i {
    color: #9ed551;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #68963e, #a0d952);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.overlay-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.overlay-btn {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    min-width: 280px;
    position: relative;
    overflow: hidden;
}

.overlay-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0));
    z-index: 1;
}

.overlay-btn i {
    margin-right: 12px;
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
}

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.btn-main {
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-sub {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
}

.overlay-btn-birthday {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    color: white;
}

.overlay-btn-birthday:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
}

.overlay-btn-call {
    background: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
    color: white;
}

.overlay-btn-call:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 117, 252, 0.4);
}

.overlay-badge {
    position: absolute;
    top: 25px;
    left: 0;
    background: linear-gradient(135deg, #c5df84 0%, #a3dc53 100%);
    color: white;
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    box-shadow: 5px 5px 15px rgba(106, 17, 203, 0.2);
    z-index: 3;
}

/* ==================== CONTRASTING MESH GREEN BACKGROUND SECTION ==================== */
.contact-mesh-bg {
    position: relative;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 100px 0 120px;
    overflow: hidden;
    margin-top: -50px;
    border-top: 8px solid #328436;
}

.mesh-pattern {
    position: absolute;
    margin-top: -52px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(76, 175, 80, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, rgba(106, 17, 203, 0.1) 2px, transparent 2px);
    background-size: 80px 80px;
    opacity: 0.7;
    z-index: 1;
}

.contact-elegant-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ==================== ENHANCED ELEGANT FORM STYLES ==================== */
.contact-form-elegant {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 25px;
    padding: 45px;
    box-shadow: 
        0 25px 70px rgba(46, 125, 50, 0.18),
        0 15px 40px rgba(46, 125, 50, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 0 0 1px rgba(76, 175, 80, 0.15);
    border: 2px solid rgba(76, 175, 80, 0.25);
    backdrop-filter: blur(10px);
}

.form-message-elegant {
    padding: 22px;
    border-radius: 18px;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 600;
    animation: slideDown 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 6px solid;
}

.success-message {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.12), rgba(76, 175, 80, 0.06));
    border: 1px solid rgba(76, 175, 80, 0.25);
    color: #2e7d32;
    border-left-color: #4caf50;
}

.error-message {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.12), rgba(244, 67, 54, 0.06));
    border: 1px solid rgba(244, 67, 54, 0.25);
    color: #d32f2f;
    border-left-color: #f44336;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.elegant-form-card {
    background: transparent;
}

.form-header-elegant {
    text-align: center;
    margin-bottom: 45px;
}

.form-header-elegant h2 {
    color: #2e7d32;
    margin-bottom: 18px;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(46, 125, 50, 0.1);
}

.form-header-elegant p {
    color: #555;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.form-section-elegant {
    margin-bottom: 35px;
}

.form-label-elegant {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #2e7d32;
    font-weight: 700;
    font-size: 1.15rem;
}

.form-label-elegant i {
    color: #4caf50;
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
}

.required-elegant {
    color: #f44336;
    margin-left: 4px;
    font-weight: 800;
}

.form-row-elegant {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.elegant-input,
.elegant-select,
.elegant-textarea {
    width: 100%;
    padding: 20px 22px;
    border: 2px solid rgba(76, 175, 80, 0.35);
    border-radius: 15px;
    font-family: 'Nunito', Arial, sans-serif;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.elegant-input:focus,
.elegant-select:focus,
.elegant-textarea:focus {
    outline: none;
    border-color: #4caf50;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.25), 0 8px 25px rgba(76, 175, 80, 0.15);
    background: white;
    transform: translateY(-2px);
}

.elegant-input::placeholder,
.elegant-textarea::placeholder {
    color: #999;
}

.select-wrapper {
    position: relative;
}

.elegant-select {
    appearance: none;
    padding-right: 60px;
    cursor: pointer;
    background-image: none;
}

.select-arrow {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #4caf50;
    pointer-events: none;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.select-wrapper:focus-within .select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.elegant-textarea {
    resize: vertical;
    min-height: 160px;
    line-height: 1.7;
}

.form-actions-elegant {
    text-align: center;
    margin-top: 45px;
}

.btn-elegant-submit {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: white;
    border: none;
    padding: 22px 60px;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 35px rgba(76, 175, 80, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-elegant-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0));
    z-index: 1;
}

.btn-elegant-submit i {
    position: relative;
    z-index: 2;
}

.btn-elegant-submit span {
    position: relative;
    z-index: 2;
}

.btn-elegant-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(76, 175, 80, 0.45);
}

.form-footer-elegant {
    text-align: center;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 2px solid rgba(76, 175, 80, 0.2);
    color: #666;
    font-size: 0.95rem;
}

.form-footer-elegant i {
    color: #4caf50;
    margin-right: 10px;
    font-size: 1.1rem;
}

/* ==================== ENHANCED ELEGANT CONTACT INFO ==================== */
.contact-info-elegant {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 25px;
    padding: 45px;
    box-shadow: 
        0 25px 70px rgba(106, 17, 203, 0.12),
        0 15px 40px rgba(106, 17, 203, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 0 0 1px rgba(106, 17, 203, 0.15);
    border: 2px solid rgba(106, 17, 203, 0.2);
    backdrop-filter: blur(10px);
    height: 100%;
}

.info-card-elegant {
    background: transparent;
}

.info-header-elegant {
    text-align: center;
    margin-bottom: 45px;
}

.info-header-elegant h2 {
    color: #6a11cb;
    margin-bottom: 18px;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(106, 17, 203, 0.1);
}

.info-header-elegant p {
    color: #555;
    font-size: 1.15rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

.info-content-elegant {
    margin-bottom: 35px;
}

.info-item-elegant {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 2px solid rgba(106, 17, 203, 0.15);
    transition: all 0.3s ease;
}

.info-item-elegant:hover {
    transform: translateX(5px);
}

.info-item-elegant:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-icon-elegant {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 5px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.info-item-elegant:hover .info-icon-elegant {
    transform: scale(1.1) rotate(5deg);
}

.address-icon { 
    background: linear-gradient(135deg, #6a11cb, #2575fc); 
}
.email-icon { 
    background: linear-gradient(135deg, #2196f3, #0d47a1); 
}
.birthday-icon { 
    background: linear-gradient(135deg, #ff9800, #f57c00); 
}
.marketing-icon { 
    background: linear-gradient(135deg, #9c27b0, #6a1b9a); 
}

.info-text-elegant h3 {
    color: #6a11cb;
    margin-bottom: 12px;
    font-size: 1.4rem;
    font-weight: 700;
}

.info-text-elegant p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 8px;
}

.phone-list-elegant {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-link-elegant {
    color: #6a11cb;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    padding: 8px 15px;
    background: rgba(106, 17, 203, 0.05);
    border-radius: 10px;
}

.info-link-elegant:hover {
    color: #2575fc;
    transform: translateX(8px);
    background: rgba(106, 17, 203, 0.1);
}

.social-section-elegant {
    text-align: center;
    margin: 45px 0 35px;
    padding: 35px 0;
    border-top: 2px solid rgba(106, 17, 203, 0.15);
    border-bottom: 2px solid rgba(106, 17, 203, 0.15);
}

.social-section-elegant h3 {
    color: #6a11cb;
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 700;
}

.social-links-elegant {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-link-elegant {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.social-link-elegant:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.fb-link { background: linear-gradient(135deg, #3b5998, #2d4373); }
.yt-link { background: linear-gradient(135deg, #ff0000, #cc0000); }
.ig-link { 
    background: linear-gradient(45deg, 
        #405de6, 
        #833ab4 25%, 
        #fd1d1d 50%, 
        #f56040 75%, 
        #ffdc80 100%
    );
}

.whatsapp-cta-elegant {
    text-align: center;
    margin: 35px 0;
}

.btn-whatsapp-elegant {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    padding: 20px 40px;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.15rem;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-whatsapp-elegant::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0));
    z-index: 1;
}

.btn-whatsapp-elegant i,
.btn-whatsapp-elegant span {
    position: relative;
    z-index: 2;
}

.btn-whatsapp-elegant:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(37, 211, 102, 0.45);
}

.hours-info-elegant {
    text-align: center;
    color: #666;
    font-size: 1.05rem;
    padding-top: 25px;
    border-top: 2px solid rgba(106, 17, 203, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 600;
}

.hours-info-elegant i {
    color: #6a11cb;
    font-size: 1.2rem;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
    .contact-elegant-wrapper {
        gap: 50px;
    }
    
    .contact-form-elegant,
    .contact-info-elegant {
        padding: 40px 35px;
    }
}

@media (max-width: 1024px) {
    .overlay-title {
        font-size: 1.9rem;
    }
    
    .contact-elegant-wrapper {
        gap: 40px;
    }
    
    .form-header-elegant h2,
    .info-header-elegant h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .message-overlay-section {
        margin-top: -80px;
        padding: 1.5rem 0;
    }
    
    .overlay-card-inner {
        padding: 2rem 1.5rem;
    }
    
    .overlay-title {
        font-size: 1.7rem;
    }
    
    .overlay-message {
        font-size: 1.1rem;
        padding: 0;
    }
    
    .overlay-btn {
        min-width: 100%;
        max-width: 300px;
    }
    
    .contact-mesh-bg {
        padding: 80px 0 100px;
    }
    
    .contact-elegant-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-form-elegant,
    .contact-info-elegant {
        padding: 35px 30px;
    }
    
    .form-row-elegant {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .form-header-elegant h2,
    .info-header-elegant h2 {
        font-size: 2rem;
    }
    
    .info-item-elegant {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .info-icon-elegant {
        margin-top: 0;
        margin-bottom: 20px;
    }
    
    .social-links-elegant {
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .message-overlay-section {
        margin-top: -60px;
    }
    
    .overlay-title {
        font-size: 1.5rem;
    }
    
    .overlay-message {
        font-size: 1rem;
    }
    
    .overlay-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .overlay-feature {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .overlay-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-mesh-bg {
        padding: 60px 0 80px;
    }
    
    .contact-form-elegant,
    .contact-info-elegant {
        padding: 30px 25px;
    }
    
    .form-header-elegant h2,
    .info-header-elegant h2 {
        font-size: 1.8rem;
    }
    
    .btn-elegant-submit,
    .btn-whatsapp-elegant {
        width: 100%;
        justify-content: center;
        padding: 20px;
    }
}

@media (max-width: 400px) {
    .overlay-title {
        font-size: 1.3rem;
    }
    
    .overlay-message {
        font-size: 0.95rem;
    }
    
    .overlay-btn {
        padding: 0.9rem 1.5rem;
    }
    
    .form-header-elegant h2,
    .info-header-elegant h2 {
        font-size: 1.6rem;
    }
}