/* ========================================
   Contact Page Styles - Enhanced
   ======================================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--secondary-white);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::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 1200 120"><path fill="%231a7a4f" d="M0 0v46.29c47.79 22.2 103.59 32.17 158 28 70.36-5.37 136.33-33.31 206.8-37.5 73.84-4.36 147.54 16.88 218.2 35.26 69.27 18 138.3 24.88 209.4 13.08 36.15-6 69.85-17.84 104.45-29.34C989.49 25 1113-14.29 1200 52.47V0z" opacity=".25"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
    opacity: 0.95;
}

.page-breadcrumb {
    font-size: 1rem;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.page-breadcrumb a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: var(--transition-normal);
}

.page-breadcrumb a:hover {
    color: var(--secondary-white);
}

/* Quick Contact Section */
.quick-contact-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--secondary-white);
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.quick-contact-card {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    padding: var(--spacing-xl);
    border-radius: 16px;
    text-align: center;
    color: var(--secondary-white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
    position: relative;
    overflow: hidden;
}

.quick-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.quick-contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.quick-contact-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition-normal);
}

.quick-contact-card:hover .quick-contact-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.quick-contact-icon {
    color: var(--text-primary);
}

.quick-contact-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.quick-contact-text {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.quick-contact-text a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition-normal);
    display: inline-block;
}

.quick-contact-text a:hover {
    color: var(--secondary-white);
    transform: translateX(5px);
}

.quick-contact-label {
    font-size: 0.9rem;
    opacity: 0.9;
    display: block;
}

.quick-contact-label.link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-normal);
}

.quick-contact-label.link:hover {
    color: var(--secondary-white);
    transform: translateX(5px);
}

/* Contact Main Section */
.contact-main-section {
    padding: var(--spacing-xl) 0;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-icon {
    color: var(--primary-green);
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: var(--spacing-sm);
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--secondary-white);
    padding: var(--spacing-xl);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    font-size: 0.95rem;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-green);
    pointer-events: none;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 14px 14px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition-normal);
    font-family: inherit;
}

.form-textarea {
    padding-left: 14px;
    resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(22, 94, 63, 0.1);
}

.form-input.error,
.form-textarea.error {
    border-color: #dc3545;
}

.form-error {
    display: block;
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: var(--spacing-xs);
    min-height: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    cursor: pointer;
}

.form-checkbox {
    margin-top: 4px;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.checkbox-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkbox-text a {
    color: var(--primary-green);
    text-decoration: underline;
}

.checkbox-text a:hover {
    color: var(--accent-color);
}

/* Submit Button */
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--secondary-white);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    justify-content: center;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-icon {
    transition: var(--transition-normal);
}

.btn-submit:hover .btn-icon {
    transform: translateX(5px);
}

/* Form Message */
.form-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Map Container */
.contact-map-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.map-container {
    background-color: var(--secondary-white);
    padding: var(--spacing-lg);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.map-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.map-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-md);
}

.map-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.btn-map {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 12px 28px;
    background-color: var(--primary-green);
    color: var(--secondary-white);
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    justify-content: center;
    width: 100%;
}

.btn-map:hover {
    background-color: var(--accent-color);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Working Hours Card */
.working-hours-card {
    background-color: var(--secondary-white);
    padding: var(--spacing-lg);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.working-hours-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.working-hours-icon {
    color: var(--primary-green);
    margin-bottom: var(--spacing-sm);
}

.working-hours-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.working-hours-list {
    list-style: none;
}

.working-hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid #e0e0e0;
}

.working-hours-item:last-child {
    border-bottom: none;
}

.working-hours-item.closed {
    opacity: 0.6;
}

.day {
    font-weight: 600;
    color: var(--text-primary);
}

.time {
    color: var(--primary-green);
    font-weight: 600;
}

.working-hours-item.closed .time {
    color: #dc3545;
}

/* Social Media Card */
.social-media-card {
    background-color: var(--secondary-white);
    padding: var(--spacing-lg);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.social-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: var(--spacing-lg);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-green);
    color: var(--secondary-white);
    border-radius: 50%;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.social-link:hover {
    background-color: var(--accent-color);
    color: var(--text-primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-md);
}

/* Partners Section */
.partners-section {
    background-color: var(--secondary-white);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation-delay: 0s;
}

.animate-fade-in-delay {
    animation-delay: 0.15s;
}

.animate-fade-in-delay-2 {
    animation-delay: 0.3s;
}

/* Responsive */
@media (min-width: 768px) {
    .quick-contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .btn-submit {
        width: auto;
    }
}

@media (min-width: 1024px) {
    .contact-main-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .page-title {
        font-size: 4rem;
    }
    
    .map-wrapper {
        padding-top: 100%;
    }
}

@media (max-width: 767px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .contact-form-wrapper {
        padding: var(--spacing-md);
    }
    
    .quick-contact-card {
        padding: var(--spacing-md);
    }
}

/* Utilities */
.bg-light {
    background-color: #f8f9fa;
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: var(--spacing-xl) 0;
}