/* Contact Page Styles */
.contact-content {
    background: var(--white);
    padding: 60px 0;
    min-height: calc(100vh - 87px);
    position: relative;
}

.page-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
}

.page-header h1 {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    color: var(--deep-slate-gray);
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--deep-slate-gray);
    opacity: 0.8;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

/* Contact Info Section */
.contact-info, .contact-form-section {
    display: flex;
    flex-direction: column;
}

.info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    height: 100%;
}

.info-card {
    background: var(--blush-rose-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    font-size: 2rem;
    color: var(--deep-slate-gray);
    margin-bottom: 1rem;
}

.info-card h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: var(--deep-slate-gray);
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--deep-slate-gray);
    line-height: 1.6;
}

/* Contact Form Section */
.contact-form-section {
    background: var(--blush-rose-light);
    padding: 3rem;
    border-radius: 20px;
    height: 100%;
}

.form-container h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--deep-slate-gray);
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(54, 69, 79, 0.2);
    border-radius: 8px;
    background: var(--white);
    font-size: 1rem;
    color: var(--deep-slate-gray);
    transition: all 0.3s ease;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: rgba(54, 69, 79, 0.6);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--deep-slate-gray);
    outline: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    transform: translateY(-1.5rem);
    font-size: 0.875rem;
    color: var(--deep-slate-gray);
}

.submit-btn {
    background: var(--deep-slate-gray);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #2a3640;
}

/* WhatsApp Popup */
.whatsapp-popup {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.whatsapp-popup.active {
    display: flex;
}

.popup-content {
    background: white;
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-header {
    background: #25D366;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.popup-body {
    padding: 1.5rem;
}

.popup-body p {
    margin-bottom: 1rem;
    color: var(--deep-slate-gray);
}

#whatsapp-message {
    width: 100%;
    min-height: 100px;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
    resize: vertical;
}

.send-btn {
    background: #25D366;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.send-btn:hover {
    background: #1ea952;
}

/* WhatsApp Sticky Button */
.whatsapp-sticky {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    background: #25D366;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-sticky:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
    background: #1ea952;
}

.whatsapp-sticky::before {
    content: '';
    position: absolute;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    70% {
        transform: scale(1.1);
        opacity: 0.2;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.whatsapp-sticky .tooltip {
    position: absolute;
    right: 85px;
    background: #333;
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-size: 1rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-sticky .tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 8px solid #333;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.whatsapp-sticky:hover .tooltip {
    opacity: 1;
    visibility: visible;
    right: 90px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .page-header h1 {
        font-size: 3rem;
    }
}

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

    .page-header {
        margin-bottom: 2rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .contact-form-section {
        padding: 2rem;
    }

    .form-container h2 {
        font-size: 2rem;
    }

    .whatsapp-sticky {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        bottom: 2rem;
        right: 2rem;
    }

    .whatsapp-sticky::before {
        width: 75px;
        height: 75px;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 0 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .contact-subtitle {
        font-size: 1rem;
    }

    .contact-form-section {
        padding: 1.5rem;
    }

    .popup-content {
        width: 95%;
    }

    .whatsapp-sticky {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .whatsapp-sticky::before {
        width: 70px;
        height: 70px;
    }

    .whatsapp-sticky .tooltip {
        display: none;
    }
} 