/* contact.css */

/* Hero Section */
.contact-hero {
    position: relative;
    height: 60vh;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('/api/placeholder/1920/1080') center/cover no-repeat;
}

.contact-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 800px;
}

.contact-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.contact-hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: #fafafa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Contact Form Styles */
.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.contact-form-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact-form-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 2px;
    background-color: #FF006C;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF006C;
}

.error-message {
    color: #ff3b3b;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ff3b3b;
}

.form-group.error .error-message {
    display: block;
}

.submit-button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    color: #000;
    background: white;
    border: 2px solid #000;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #FF006C;
    transition: left 0.3s ease;
    z-index: -1;
}

.submit-button:hover {
    color: white;
    border-color: #FF006C;
}

.submit-button:hover::before {
    left: 0;
}

.submit-button i {
    transition: transform 0.3s ease;
}

.submit-button:hover i {
    transform: translateX(4px);
}

/* Contact Information Styles */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
    font-family: 'Playfair Display', serif;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item i {
    color: #FF006C;
    font-size: 1.2rem;
    margin-top: 0.3rem;
}

.info-item a {
    color: #333;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #FF006C;
}

.map-container {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.location-map {
    width: 100%;
    height: auto;
    display: block;
}

.transport-info ul {
    list-style: none;
    margin: 0.5rem 0 0 1.5rem;
}

.transport-info li {
    margin-bottom: 0.5rem;
    position: relative;
}

.transport-info li::before {
    content: '•';
    color: #FF006C;
    position: absolute;
    left: -1rem;
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.success-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.modal-content i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 1.5rem;
}

.modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.modal-content p {
    color: #666;
    margin-bottom: 2rem;
}

.close-modal {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: #333;
    color: white;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.close-modal:hover {
    background: #FF006C;
}

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

@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 0;
    }

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

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

    .info-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .modal-content {
        padding: 2rem;
    }
}