/* ============================================
   CONTACT PAGE STYLES - MOBILE FIRST
   ============================================ */

:root {
    --primary-color: #2e7d32;
    --primary-colors: #12743b;
    --secondary-color: #34a853;
    --dark-color: #1a1a1a;
    --light-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --text-muted: #6c757d;
    --white: #ffffff;
    --danger: #dc3545;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --bg-light: #f8f9fa;
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --warning-color: #ffc107;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-contact {
    background: var(--primary-gradient);
    padding: 3rem 1rem;
    margin-top: 56px;
    position: relative;
    overflow: hidden;
}

.hero-contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-contact h1 {
    color: var(--white);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero-contact .lead {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* ============================================
   CONTACT CARDS
   ============================================ */

.contact-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--success-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-wrapper i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-card h5 {
    color: var(--dark-color);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.contact-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Social Icons */
.social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-icon:hover {
    background: var(--primary-gradient);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* ============================================
   FORM SECTION
   ============================================ */

.form-wrapper {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.form-wrapper h2 {
    color: var(--dark-color);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-control,
.form-select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* Buttons */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    opacity: 0.95;
}

.btn-outline-secondary {
    border: 2px solid var(--border-color);
    color: var(--dark-color);
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    background: transparent;
}

.btn-outline-secondary:hover {
    background: var(--light-gray);
    border-color: var(--text-muted);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ============================================
   INFO SIDEBAR
   ============================================ */

.info-sidebar {
    background: var(--light-gray);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    height: 100%;
}

.info-sidebar h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
}

.info-section {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    transition: var(--transition);
}

.info-section:hover {
    box-shadow: var(--shadow-sm);
}

.info-section i {
    flex-shrink: 0;
}

.info-section h5 {
    font-size: 1rem;
    color: var(--dark-color);
}

.info-section p {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.info-section ul {
    padding-left: 0;
}

.info-section ul li {
    padding: 0.25rem 0;
}

/* ============================================
   MAP PLACEHOLDER
   ============================================ */

.map-placeholder {
    background: var(--white);
    padding: 4rem 2rem;
    border-radius: var(--border-radius);
    border: 2px dashed var(--border-color);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-placeholder i {
    color: var(--text-muted);
    display: block;
}

/* ============================================
   UTILITIES
   ============================================ */

.text-danger {
    color: var(--danger);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

/* ============================================
   RESPONSIVE - TABLET (768px+)
   ============================================ */

@media (min-width: 768px) {
    .hero-contact {
        padding: 4rem 2rem;
    }

    .hero-contact h1 {
        font-size: 2.5rem;
    }

    .hero-contact .lead {
        font-size: 1.125rem;
    }

    .form-wrapper {
        padding: 3rem 2.5rem;
    }

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

    .info-sidebar {
        padding: 2.5rem 2rem;
    }

    .contact-card {
        padding: 2.5rem 2rem;
    }

    .icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .icon-wrapper i {
        font-size: 1.75rem;
    }
}

/* ============================================
   RESPONSIVE - DESKTOP (992px+)
   ============================================ */

@media (min-width: 992px) {
    .hero-contact {
        padding: 5rem 2rem;
    }

    .hero-contact h1 {
        font-size: 3rem;
    }

    .hero-contact .lead {
        font-size: 1.25rem;
    }

    .form-wrapper h2 {
        font-size: 2.25rem;
    }

    .info-sidebar h3 {
        font-size: 1.75rem;
    }
}

/* ============================================
   RESPONSIVE - LARGE DESKTOP (1200px+)
   ============================================ */

@media (min-width: 1200px) {
    .hero-contact h1 {
        font-size: 3.5rem;
    }

    .contact-card {
        padding: 3rem 2rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-card,
.form-wrapper,
.info-sidebar {
    animation: fadeIn 0.6s ease-out;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.form-control:focus-visible,
.form-select:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
