/* Contact Page Styles */

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--border-brown) 100%);
    color: white;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F5F2E9' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 1;
}

.contact-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero-title {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--bg-soft-beige);
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.2;
    animation: fadeInUp 0.6s ease;
}

.contact-hero-subtitle {
    font-family: 'Titillium Web', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--bg-soft-beige);
    margin: 0 0 20px 0;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.contact-hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(250, 250, 247, 0.9);
    margin: 0;
    animation: fadeInUp 0.6s ease 0.2s both;
}

/* Contact Content */
.contact-content {
    padding: 80px 20px;
    background: var(--bg-warm-white);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Info Cards */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.contact-info-card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--bg-soft-beige);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-green), var(--border-brown));
    transition: left 0.5s ease;
}

.contact-info-card:hover::before {
    left: 0;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(47, 79, 79, 0.15);
    border-color: var(--accent-green);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--bg-soft-beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    transition: all 0.4s ease;
}

.contact-info-card:hover .contact-info-icon {
    background: var(--accent-green);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.contact-info-title {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 10px 0;
}

.contact-info-text {
    font-size: 15px;
    color: #6d6d6d;
    margin: 0;
    line-height: 1.6;
}

.contact-info-text a {
    color: var(--accent-green);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-info-text a:hover {
    color: var(--border-brown);
}

/* Contact Form Section */
.contact-form-section {
    background: white;
    border-radius: 16px;
    padding: 50px;
    margin-bottom: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--bg-soft-beige);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form-title {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 15px 0;
}

.contact-form-description {
    font-size: 16px;
    color: #6d6d6d;
    margin: 0;
    line-height: 1.6;
}

/* Contact Form 7 Styling */
.contact-form-wrapper .wpcf7-form {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-wrapper .wpcf7-form p {
    margin-bottom: 25px;
}

.contact-form-wrapper .wpcf7-form label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form-wrapper .wpcf7-form input[type="text"],
.contact-form-wrapper .wpcf7-form input[type="email"],
.contact-form-wrapper .wpcf7-form input[type="tel"],
.contact-form-wrapper .wpcf7-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--bg-soft-beige);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--bg-warm-white);
    color: var(--text-dark);
    font-family: inherit;
}

.contact-form-wrapper .wpcf7-form input[type="text"]:focus,
.contact-form-wrapper .wpcf7-form input[type="email"]:focus,
.contact-form-wrapper .wpcf7-form input[type="tel"]:focus,
.contact-form-wrapper .wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    background: white;
    box-shadow: 0 4px 20px rgba(47, 79, 79, 0.1);
}

.contact-form-wrapper .wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-wrapper .wpcf7-form input[type="submit"] {
    background: var(--accent-green);
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form-wrapper .wpcf7-form input[type="submit"]:hover {
    background: var(--border-brown);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(47, 79, 79, 0.3);
}

.contact-form-wrapper .wpcf7-response-output {
    margin: 25px 0 0;
    padding: 15px 20px;
    border-radius: 8px;
    border: none;
}

.contact-form-wrapper .wpcf7-not-valid-tip {
    color: #dc2626;
    font-size: 13px;
    margin-top: 5px;
}

.contact-form-wrapper .wpcf7-validation-errors {
    background: #fee2e2;
    color: #991b1b;
}

.contact-form-wrapper .wpcf7-mail-sent-ok {
    background: #d1fae5;
    color: #065f46;
}

/* Map Section */
.contact-map-section {
    margin-top: 60px;
}

.contact-map-title {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin: 0 0 30px 0;
}

.contact-map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--bg-soft-beige);
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 20px;
    }

    .contact-hero-title {
        font-size: 36px;
    }

    .contact-hero-subtitle {
        font-size: 22px;
    }

    .contact-hero-description {
        font-size: 16px;
    }

    .contact-content {
        padding: 60px 0px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 60px;
    }

    .contact-form-section {
        padding: 30px 20px;
        margin-bottom: 40px;
    }

    .contact-form-title {
        font-size: 28px;
    }

    .contact-map-wrapper iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .contact-hero-title {
        font-size: 28px;
    }

    .contact-hero-subtitle {
        font-size: 20px;
    }

    .contact-info-card {
        padding: 25px 20px;
    }

    .contact-form-wrapper .wpcf7-form input[type="submit"] {
        width: 100%;
    }
}
