/* Contact Page - Premium Branded Design */

/* Contact Header Band - Compact Premium Header */
.contact-header-band {
    background: linear-gradient(to bottom, 
        rgba(250, 250, 250, 1) 0%,
        rgba(245, 250, 245, 0.98) 50%,
        rgba(250, 250, 250, 1) 100%);
    background-image: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
    padding: clamp(3rem, 5vw, 4rem) 20px;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    position: relative;
    margin-top: 0;
}

.contact-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.contact-header-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--primary-green, #1a4d2e);
    margin: 0;
    line-height: 1.1;
    letter-spacing: -1px;
    position: relative;
    padding-bottom: 0.75rem;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-green, #2d7a4f), var(--accent-green, #7fb069));
    border-radius: 2px;
}

.contact-subtitle {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: var(--text-medium, #4a4a4a);
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.contact-header-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(45, 122, 79, 0.2);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-green, #1a4d2e);
    transition: all 0.2s ease;
}

.chip-location {
    background: rgba(127, 176, 105, 0.1);
    border-color: rgba(45, 122, 79, 0.25);
}

.chip-response {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(45, 122, 79, 0.15);
}

.contact-header-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-quick {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(229, 231, 235, 0.6);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contact-quick:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(45, 122, 79, 0.3);
    background: rgba(255, 255, 255, 1);
}

.contact-quick:focus-visible {
    outline: 2px solid var(--secondary-green, #2d7a4f);
    outline-offset: 2px;
}

.contact-quick-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light, #6b7280);
}

.contact-quick-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-green, #1a4d2e);
    line-height: 1.4;
}

.contact-quick:hover .contact-quick-value {
    color: var(--secondary-green, #2d7a4f);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(to bottom, #fafafa 0%, #f5f7f4 100%);
    padding: clamp(3rem, 6vw, 5rem) 20px;
    min-height: 60vh;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Glass Card Styling */
.contact-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(46, 125, 50, 0.12);
    border-radius: 18px;
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.contact-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--primary-green, #1a4d2e);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.contact-card-subtitle {
    color: var(--text-light, #6b7280);
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Contact Callout */
.contact-callout {
    background: linear-gradient(135deg, rgba(127, 176, 105, 0.1), rgba(45, 122, 79, 0.08));
    border-left: 3px solid var(--secondary-green, #2d7a4f);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.contact-callout p {
    margin: 0;
    color: var(--text-medium, #4a4a4a);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Location Badge */
.contact-location-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(26, 77, 46, 0.08);
    border: 1px solid rgba(26, 77, 46, 0.15);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-green, #1a4d2e);
}

/* Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark, #1a1a1a);
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-light, #e5e7eb);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-dark, #1a1a1a);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-green, #2d7a4f);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(45, 122, 79, 0.1);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--border-medium, #d1d5db);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

/* Contact Button */
.btn-contact {
    align-self: flex-start;
    background: linear-gradient(135deg, var(--secondary-green, #2d7a4f), var(--accent-green, #7fb069));
    color: white;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(45, 122, 79, 0.25);
    min-height: 48px;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 122, 79, 0.35);
    background: linear-gradient(135deg, var(--primary-green, #1a4d2e), var(--secondary-green, #2d7a4f));
}

.btn-contact:focus-visible {
    outline: 2px solid var(--secondary-green, #2d7a4f);
    outline-offset: 2px;
}

.btn-contact:active {
    transform: translateY(0);
}

.btn-contact:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Form Message */
.form-message {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
    border: 1px solid transparent;
}

.form-message.success {
    background: rgba(168, 213, 163, 0.2);
    color: var(--primary-green, #1a4d2e);
    border-color: rgba(45, 122, 79, 0.3);
}

.form-message.error {
    background: rgba(255, 182, 193, 0.2);
    color: #721c24;
    border-color: rgba(220, 53, 69, 0.3);
}

/* Info Blocks */
.info-block {
    margin-bottom: 2rem;
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-block-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-block-header h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-green, #1a4d2e);
    margin: 0;
    flex-shrink: 0;
}

.info-block-divider {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--border-light, #e5e7eb), transparent);
}

.info-block-content {
    color: var(--text-medium, #4a4a4a);
    line-height: 1.8;
    margin: 0;
    font-size: 1rem;
}

.info-block-content a {
    color: var(--secondary-green, #2d7a4f);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-block-content a:hover {
    color: var(--primary-green, #1a4d2e);
    text-decoration: underline;
}

/* Hours List */
.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-day {
    font-weight: 600;
    color: var(--text-dark, #1a1a1a);
    font-size: 0.95rem;
}

.hours-time {
    color: var(--text-medium, #4a4a4a);
    font-size: 0.95rem;
}

/* Map Container */
.map-container {
    margin-top: 0.5rem;
}

.map-placeholder {
    background: rgba(250, 250, 250, 0.8);
    border: 2px dashed var(--border-medium, #d1d5db);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-light, #6b7280);
}

.map-placeholder p {
    margin-bottom: 0.5rem;
    color: var(--text-medium, #4a4a4a);
}

.map-note {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-light, #6b7280);
}

/* Responsive Design */
@media (min-width: 968px) {
    .contact-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: clamp(260px, 40vh, 360px);
        padding-top: clamp(56px, 7vh, 90px);
    }
    
    .contact-hero-fade {
        height: 80px;
        background: linear-gradient(to bottom, rgba(250, 250, 250, 0.1) 0%, rgba(250, 250, 250, 0.5) 20%, rgba(250, 250, 250, 0.9) 50%, rgba(250, 250, 250, 0.5) 80%, rgba(250, 250, 250, 0.1) 100%);
    }
    
    .contact-section {
        padding: 2.5rem 16px;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .btn-contact {
        width: 100%;
        align-self: stretch;
    }
}

@media (max-width: 480px) {
    .contact-header-band {
        padding: 2rem 12px;
    }
    
    .contact-header-chips {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .chip {
        width: 100%;
        justify-content: center;
    }
    
    .contact-section {
        padding: 2rem 12px;
    }
    
    .contact-card {
        padding: 1.5rem 1.25rem;
        border-radius: 16px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-card {
        transition: none;
    }
    
    .btn-contact {
        transition: none;
    }
    
    .contact-quick {
        transition: none;
    }
}
