/* Contact Page Specific Styles */

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #ff1493, #ff69b4);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: linear-gradient(135deg, #ffd700, #00bfff);
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.contact-hero .hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb span {
    opacity: 0.6;
}

/* Contact Info Section */
.contact-info-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-details h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact-details > p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #ff69b4, #ff1493);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.method-info h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.method-info p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.method-info a {
    color: #ff1493;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.method-info a:hover {
    color: #e91e63;
    text-decoration: underline;
}

.directions-link, .whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.directions-link {
    background: #007bff;
    color: white;
}

.directions-link:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.whatsapp-link {
    background: #25d366;
    color: white;
}

.whatsapp-link:hover {
    background: #20c05a;
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    border-radius: 20px 20px 0 0;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-header p {
    color: #666;
    font-size: 1rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #ff1493;
    box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.1);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-actions {
    text-align: center;
    margin-top: 1rem;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #ff1493, #e91e63);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 20, 147, 0.3);
}

.form-note {
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background: white;
}

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
    font-weight: 700;
}

.map-container-large {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.map-container-large iframe {
    width: 100%;
    height: 400px;
    border: none;
    filter: contrast(1.1) saturate(1.2);
}

.map-overlay-large {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
    padding: 2rem;
    color: white;
}

.map-info h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.map-info p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.directions-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.directions-btn-large:hover {
    background: linear-gradient(135deg, #ff1493, #e91e63);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 20, 147, 0.4);
}

/* CTA Section */
.contact-cta {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: linear-gradient(135deg, #ffd700, #00bfff);
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
    opacity: 0.3;
}

.cta-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #25d366;
    color: white;
}

.btn-primary:hover {
    background: #20c05a;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

/* Mobile Responsive Styles */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-container {
        order: -1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 4rem 0 3rem;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
    }
    
    .contact-info-section {
        padding: 3rem 0;
    }
    
    .contact-details h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .contact-details > p {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .contact-method {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }
    
    .method-icon {
        align-self: flex-start;
        margin-top: 0.25rem;
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .method-info {
        flex: 1;
    }
    
    .method-info h4 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .method-info p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
    }
    
    .method-info strong {
        font-weight: 700;
        color: #333;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
    
    .map-section {
        padding: 3rem 0;
    }
    
    .map-section h2 {
        font-size: 2rem;
    }
    
    .map-container-large iframe {
        height: 300px;
    }
    
    .map-overlay-large {
        padding: 1.5rem;
        text-align: center;
    }
    
    .map-info h4 {
        font-size: 1.2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 3rem 0 2rem;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .contact-info-section {
        padding: 2rem 0;
    }
    
    .contact-method {
        padding: 1.5rem 1rem;
        gap: 1rem;
    }
    
    .method-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .method-info h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .method-info p {
        font-size: 0.95rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .form-header h3 {
        font-size: 1.3rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .submit-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .map-container-large iframe {
        height: 250px;
    }
    
    .map-overlay-large {
        padding: 1rem;
    }
    
    .map-info h4 {
        font-size: 1rem;
    }
    
    .map-info p {
        font-size: 0.9rem;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

/* Form Validation Styles */
.form-group input:invalid:not(:focus):not(:placeholder-shown),
.form-group textarea:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #dc3545;
    background: #fff5f5;
}

.form-group input:valid:not(:focus):not(:placeholder-shown),
.form-group textarea:valid:not(:focus):not(:placeholder-shown) {
    border-color: #28a745;
    background: #f8fff8;
}

/* Loading state for form submission */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .contact-method:hover {
        transform: none;
    }
    
    .submit-btn:hover {
        transform: none;
    }
    
    .directions-btn-large:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .contact-method {
        border: 2px solid #333;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        border-color: #333;
    }
}

/* Enhanced mobile styles for better contact info alignment */
@media (max-width: 768px) {
    .contact-method {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }
    
    .method-icon {
        align-self: flex-start;
        margin-top: 0.25rem;
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .method-info {
        flex: 1;
    }
    
    .method-info h4 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .method-info p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
    }
    
    .method-info strong {
        font-weight: 700;
        color: #333;
    }
    
    .directions-link, .whatsapp-link {
        margin-top: 1rem;
        padding: 10px 18px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .contact-method {
        padding: 1.5rem 1rem;
        gap: 1rem;
    }
    
    .method-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .method-info h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .method-info p {
        font-size: 0.95rem;
    }
    
    .directions-link, .whatsapp-link {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Additional form enhancements */
.form-group.focused label {
    color: #ff1493;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label {
    color: #ff1493;
}

/* Enhanced animation for contact methods */
.contact-method {
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: backwards;
}

.contact-method:nth-child(1) { animation-delay: 0.1s; }
.contact-method:nth-child(2) { animation-delay: 0.2s; }
.contact-method:nth-child(3) { animation-delay: 0.3s; }
.contact-method:nth-child(4) { animation-delay: 0.4s; }

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

/* Better spacing for mobile contact info */
@media (max-width: 768px) {
    .contact-methods {
        gap: 1.5rem;
    }
    
    .contact-details {
        margin-bottom: 2rem;
    }
    
    .contact-details h2 {
        margin-bottom: 1rem;
    }
    
    .contact-details > p {
        margin-bottom: 2rem;
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Improved form styling for mobile */
@media (max-width: 480px) {
    .form-header {
        margin-bottom: 2rem;
    }
    
    .form-header h3 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .form-header p {
        font-size: 0.95rem;
        color: #777;
    }
    
    .contact-form {
        gap: 1.25rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .form-actions {
        margin-top: 1.5rem;
    }
    
    .form-note {
        font-size: 0.85rem;
        margin-top: 0.75rem;
    }
}