/* ==============================================================================
    CONTACT PAGE STYLESHEET
    - Dark Theme with Yellow Accent
    - Contact Form with reCAPTCHA
    - Social Media Integration
    - Google Map Section
    - Responsive Design
    ============================================================================== */

/* ==============================================================================
    CONTACT HEADER
    ============================================================================== */

.contact-header {
    background: linear-gradient(135deg, #0f0f0f 0%, #16213e 100%);
    color: white;
    text-align: center;
    padding: 100px 20px 80px;
    position: relative;
    overflow: hidden;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            linear-gradient(90deg, rgba(255,193,7,0.1) 1px, transparent 1px),
            linear-gradient(rgba(255,193,7,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-flow 20s linear infinite;
    opacity: 0.3;
}

@keyframes grid-flow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.contact-header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.contact-header h1 {
    font-family: 'Oswald', 'Impact', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
}

.contact-header .lead {
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.6;
    color: #d0d0d0;
    margin: 0;
}

/* ==============================================================================
    CONTACT INFO BAR
    ============================================================================== */

.contact-info-bar {
    background-color: #1e1e1e;
    padding: 60px 20px;
    border-bottom: 5px solid #ffc107;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 2px solid rgba(255, 193, 7, 0.2);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    border-color: #ffc107;
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.2);
}

.info-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.5));
}

.info-details h3 {
    color: #ffc107;
    font-family: 'Oswald', 'Impact', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-details a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.info-details a:hover {
    color: #ffc107;
}

.info-details p {
    color: #9e9e9e;
    font-size: 0.9rem;
    margin: 5px 0 0 0;
    line-height: 1.5;
}

/* ==============================================================================
    CONTACT FORM SECTION
    ============================================================================== */

.contact-form-section {
    background-color: #f8f9fa;
    padding: 80px 20px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Form Container */
.form-container {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    font-family: 'Oswald', 'Impact', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: #1e1e1e;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-intro {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24;
}

/* Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffc107;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* reCAPTCHA */
.g-recaptcha {
    transform: scale(1);
    transform-origin: 0 0;
}

/* Submit Button */
.btn {
    padding: 16px 40px;
    border: none;
    border-radius: 8px;
    font-family: 'Oswald', 'Impact', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #1e1e1e;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 193, 7, 0.5);
    background: linear-gradient(135deg, #ffcd38, #ffa726);
}

.btn-large {
    padding: 18px 50px;
    font-size: 1.2rem;
}

.btn-icon {
    font-size: 1.3rem;
}

.form-privacy {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin-top: 10px;
}

.form-privacy a {
    color: #ffc107;
    text-decoration: none;
    font-weight: 600;
}

.form-privacy a:hover {
    text-decoration: underline;
}

/* ==============================================================================
    SIDEBAR
    ============================================================================== */

.sidebar-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-box {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.sidebar-box h3 {
    font-family: 'Oswald', 'Impact', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: #1e1e1e;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-box p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Social Links - Large Style */
.social-links-large {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.social-link.facebook {
    background-color: #f0f4ff;
    color: #1877f2;
}

.social-link.facebook:hover {
    background-color: #1877f2;
    color: white;
    transform: translateX(5px);
    border-color: #1877f2;
}

.social-link.twitter {
    background-color: #f5f5f5;
    color: #000000;
}

.social-link.twitter:hover {
    background-color: #000000;
    color: white;
    transform: translateX(5px);
    border-color: #000000;
}

.social-link.tiktok {
    background-color: #fff0f5;
    color: #000000;
}

.social-link.tiktok:hover {
    background-color: #000000;
    color: white;
    transform: translateX(5px);
    border-color: #000000;
}

/* Highlighted Sidebar Box */
.sidebar-highlight {
    background: linear-gradient(135deg, #1e1e1e, #2d2d2d);
    color: white;
    border: 3px solid #ffc107;
}

.sidebar-highlight h3 {
    color: #ffc107;
}

.sidebar-highlight p {
    color: #d0d0d0;
}

.emergency-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background-color: #ffc107;
    color: #1e1e1e;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Oswald', 'Impact', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.emergency-phone:hover {
    background-color: #ffcd38;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
}

.phone-icon {
    font-size: 2rem;
    animation: ring 2s infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
}

.emergency-text {
    text-align: center;
    color: #ffc107;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 10px;
}

/* Sidebar List */
.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: #333;
    font-weight: 500;
}

.sidebar-list li:last-child {
    border-bottom: none;
}

/* ==============================================================================
    GOOGLE MAP SECTION
    ============================================================================== */

.map-section {
    background-color: #f8f9fa;
    padding-bottom: 0;
}

.map-header {
    background-color: #1e1e1e;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.map-header h2 {
    font-family: 'Oswald', 'Impact', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffc107;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.map-header p {
    color: #d0d0d0;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.map-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-top: 5px solid #ffc107;
    border-bottom: 5px solid #ffc107;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.map-info {
    background-color: white;
    padding: 60px 20px;
}

.map-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.map-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.map-info-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 5px rgba(255, 193, 7, 0.3));
}

.map-info-item h4 {
    font-family: 'Oswald', 'Impact', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e1e1e;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.map-info-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ==============================================================================
    RESPONSIVE DESIGN
    ============================================================================== */

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-container {
        padding: 40px 30px;
    }

    .contact-info-bar {
        padding: 40px 20px;
    }

    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 25px;
    }

    .map-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contact-header {
        padding: 80px 20px 60px;
    }

    .form-container {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-item {
        padding: 25px;
    }

    .sidebar-box {
        padding: 25px;
    }

    .emergency-phone {
        font-size: 1.5rem;
        padding: 15px;
    }

    .map-header {
        padding: 40px 20px;
    }

    .map-header h2 {
        font-size: 2rem;
    }

    .map-container {
        height: 350px;
    }

    .map-info {
        padding: 40px 20px;
    }

    .map-info-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* reCAPTCHA scaling for mobile */
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
}

@media (max-width: 480px) {
    .contact-header h1 {
        font-size: 2rem;
    }

    .contact-header .lead {
        font-size: 1rem;
    }

    .form-container h2 {
        font-size: 1.8rem;
    }

    .btn-large {
        padding: 16px 30px;
        font-size: 1rem;
    }

    .emergency-phone {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 5px;
    }

    .map-info-icon {
        font-size: 2rem;
    }

    /* reCAPTCHA scaling for small mobile */
    .g-recaptcha {
        transform: scale(0.77);
        transform-origin: 0 0;
    }
}

/* ==============================================================================
    ACCESSIBILITY
    ============================================================================== */

/* Focus states */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.btn:focus,
.social-link:focus {
    outline: 3px solid #ffc107;
    outline-offset: 2px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}