/* ==========================================================================
   Contact Page Styles
   ONLY using: golden-green (#8B9A46), dark-red (#8B2C2C), pale-yellow (#FFF8DC)
   ========================================================================== */

/* Contact Hero */
.hero-section {
    padding: 6rem 2rem 3rem;
    background: linear-gradient(135deg,
        rgba(139, 154, 70, 0.08) 0%,
        rgba(139, 44, 44, 0.05) 100%);
    text-align: center;
}

.hero-section .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-section .hero-title {
    color: var(--dark-red);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-section .hero-subtitle {
    color: var(--dark-red);
    opacity: 0.85;
    font-size: 1.15rem;
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    padding: 4rem 2rem;
    background: var(--pale-yellow);
}

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Form Container */
.contact-form-container {
    background: rgba(255, 248, 220, 0.6);
    border: 2px solid rgba(139, 154, 70, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
}

.contact-form-container h2 {
    color: var(--dark-red);
    font-size: 1.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(139, 154, 70, 0.2);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form label {
    color: var(--dark-red);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

/* Contact Info Sidebar */
.contact-info {
    position: sticky;
    top: 100px;
}

.contact-info h2 {
    color: var(--dark-red);
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 248, 220, 0.6);
    border: 2px solid rgba(139, 154, 70, 0.2);
    border-radius: 15px;
    transition: all 0.3s;
}

.contact-method:hover {
    border-color: var(--golden-green);
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(139, 44, 44, 0.1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--golden-green), rgba(139, 154, 70, 0.8));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pale-yellow);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-details h3 {
    color: var(--dark-red);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--dark-red);
    opacity: 0.85;
    margin: 0;
    line-height: 1.6;
}

.contact-details a {
    color: var(--golden-green);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: var(--dark-red);
    text-decoration: underline;
}

.contact-note {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

/* Social Links in Contact Info */
.contact-info .social-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(139, 154, 70, 0.2);
}

.contact-info .social-links h3 {
    color: var(--dark-red);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 44px;
    height: 44px;
    background: rgba(139, 154, 70, 0.1);
    border: 2px solid rgba(139, 154, 70, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--golden-green);
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--golden-green);
    border-color: var(--golden-green);
    color: var(--pale-yellow);
    transform: translateY(-3px);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

/* Map Section */
.map-section {
    padding: 4rem 2rem;
    background: linear-gradient(to bottom,
        rgba(139, 154, 70, 0.05),
        transparent);
}

.map-section h2 {
    text-align: center;
    color: var(--dark-red);
    font-size: 2rem;
    margin-bottom: 2rem;
}

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

.map-placeholder {
    background: rgba(255, 248, 220, 0.6);
    border: 2px solid rgba(139, 154, 70, 0.2);
    border-radius: 20px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark-red);
    opacity: 0.7;
}

.map-placeholder p {
    margin: 0.5rem 0;
}

/* Toast Container */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    background: var(--pale-yellow);
    border: 2px solid var(--golden-green);
    color: var(--dark-red);
    box-shadow: 0 10px 30px rgba(139, 44, 44, 0.15);
    animation: slideInRight 0.3s ease-out;
}

.toast.success {
    border-color: var(--golden-green);
    background: rgba(139, 154, 70, 0.1);
}

.toast.error {
    border-color: var(--dark-red);
    background: rgba(139, 44, 44, 0.1);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 248, 220, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(139, 154, 70, 0.2);
    border-top-color: var(--golden-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Button Loader */
.btn-loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 248, 220, 0.3);
    border-top-color: var(--pale-yellow);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

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

    .contact-info {
        position: static;
    }

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

@media (max-width: 640px) {
    .hero-section {
        padding: 4rem 1rem 2rem;
    }

    .hero-section .hero-title {
        font-size: 1.75rem;
    }

    .hero-section .hero-subtitle {
        font-size: 1rem;
    }

    .contact-section {
        padding: 2rem 1rem;
    }

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

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

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-method {
        padding: 1rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .map-placeholder {
        height: 250px;
    }

    .toast-container {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }

    .toast {
        padding: 0.75rem 1rem;
    }
}

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

.contact-form-container,
.contact-method {
    animation: fadeInUp 0.6s ease-out;
}

.contact-method:nth-child(2) {
    animation-delay: 0.1s;
}

.contact-method:nth-child(3) {
    animation-delay: 0.2s;
}

.contact-method:nth-child(4) {
    animation-delay: 0.3s;
}
