/* Contact Page Styles */
:root {
    /*Primary Colors*/
    --color-primary: #EAA1C1;
    --color-secondary: #A3C3CD;
    --color-tertiary: #BFD0AC;
    
    /*Background Color*/
    --color-bg: #FFFBF7;
    
    /*Secondary Color*/
    --color-light: #ffffff;
    --color-dark: #CC4782;
}

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-pattern)"/></svg>');
    opacity: 0.4;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-hero .page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Abril Fatface', serif;
}

.contact-hero .page-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* Contact Methods */
.contact-methods {
    padding: 100px 0;
    background: white;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.method-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #CC4782;
}

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

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #CC4782 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}
.method-icon ::before{color: #fff;}
.method-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.method-card > p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.method-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-link {
    color:#232323;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
a.contact-link.btn.btn-success.btn-sm{
    background: var(--color-secondary);
    color: #fff;
    font-weight: bold;
    font-size: 18px;
}
.contact-link:hover {
    color: #764ba2;
}

.chat-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.availability {
    font-size: 0.9rem;
    color: #999;
}

/* Contact Form Section */
.contact-form-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.form-container {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-header {
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    font-family: 'Playfair Display', serif;
}

.form-header p {
    color: #666;
    line-height: 1.6;
}

/* Bootstrap form elements inside the PHP contact form */
.form-container .form-label {
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

.form-container .form-control,
.form-container .form-select {
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: none;
    transition: all .2s ease;
}

.form-container .form-control:focus,
.form-container .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,.12);
}

.form-container textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.form-container .form-check-input {
    width: 18px;
    height: 18px;
    margin-top: .2rem;
    border: 2px solid #e9ecef;
    border-radius: 4px;
}

.form-container .form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-container .form-check-label a {
    color: #667eea;
    text-decoration: none;
}

.form-container .form-check-label a:hover {
    text-decoration: underline;
}

.form-container .submit-btn {
    width: 100%;
    border-radius: 14px;
    padding: 16px 20px;
    font-size: 1.05rem;
    background: linear-gradient(135deg,#667eea,#764ba2);
}

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

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

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

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    line-height: 1.5;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.terms-link {
    color: #667eea;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Contact Information */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card,
.social-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-card h3,
.social-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #CC4782;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color:#CC4782;
}

.info-content p {
    color: #232323;
    line-height: 1.5;
    margin: 0;
}

.social-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link.instagram {
    background: linear-gradient(135deg, #e1306c, #fd1d1d, #fcb045);
    color: white;
}

.social-link.facebook {
    background: #1877f2;
    color: white;
}

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

.social-link.tiktok {
    background: #000;
    color: white;
}

.social-link:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.map-container {
}

.map-placeholder {
    background: #f8f9fa;
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ddd;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.map-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.map-content i {
    font-size: 4rem;
    color: #667eea;
    margin-bottom: 20px;
}

.map-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.map-content p {
    color: #666;
    margin-bottom: 20px;
}

.directions-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.directions-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.map-info {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.map-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
}

.transport-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.transport-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.transport-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.transport-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.transport-item p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.faq-question i {
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 25px 30px;
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .map-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-container {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .contact-hero .page-title {
        font-size: 2.5rem;
    }
    
    .contact-hero .page-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .methods-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-container {
        padding: 30px 25px;
    }
    
    .form-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-form-section,
    .contact-methods,
    .map-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .info-card,
    .social-card {
        padding: 30px 25px;
    }
    
    .map-info {
        padding: 25px 20px;
    }
    
    .faq-question {
        padding: 20px 25px;
    }
    
    .faq-answer p {
        padding: 20px 25px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 100px 0 60px;
    }
    
    .contact-hero .page-title {
        font-size: 2rem;
    }
    
    .method-card {
        padding: 30px 20px;
    }
    
    .form-container {
        padding: 25px 20px;
    }
    
    .checkbox-label {
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .map-placeholder {
        height: 300px;
    }
    
    .map-content i {
        font-size: 3rem;
    }
    
    .transport-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-link {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

/* Success/Error Messages */
.form-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message i {
    font-size: 1.2rem;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
