/* ══════════════════════════════════════════════════
   contact.css — ZSM Digital Contact Page
   Hero, contact info, form
   ══════════════════════════════════════════════════ */

/* Hero Section */
.hero {
    min-height: 45vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 20px 60px;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 13px;
    color: #999;
    margin-bottom: 40px;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 24px;
    line-height: 1.1;
    color: white;
    letter-spacing: -0.03em;
    font-style: italic;
}

.hero h1 strong {
    font-weight: 400;
}

.hero p {
    font-size: 1.1rem;
    color: #666;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Contact Section */
.contact-section {
    padding: 60px 20px 100px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.contact-info p {
    color: #888;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-detail:last-child {
    border-bottom: none;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 20px;
    height: 20px;
    stroke: #888;
    stroke-width: 1.5;
    fill: none;
}

.contact-detail-text h4 {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-detail-text p {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0;
}

.contact-detail-text a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail-text a:hover {
    color: white;
}

/* Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/static/images/contact-bg.jpg') center center / cover no-repeat;
    opacity: 0.12;
    z-index: -1;
    pointer-events: none;
    border-radius: 16px;
}

.contact-form-container h2 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.contact-form-container .form-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 400;
}

.form-privacy-notice {
    margin: 20px 0 6px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    font-size: 0.8rem;
    color: #777;
    line-height: 1.6;
}

.form-privacy-notice a {
    color: #aaa;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-privacy-notice a:hover {
    color: #fff;
}

.form-consent-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 14px 0;
    cursor: pointer;
}

.form-consent-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    margin-top: 2px;
    position: relative;
    transition: all 0.2s ease;
}

.form-consent-check input[type="checkbox"]:checked {
    background: #fff;
    border-color: #fff;
}

.form-consent-check input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 12px;
    font-weight: 700;
}

.form-consent-check span {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.5;
}

.form-consent-check span a {
    color: #aaa;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-consent-check span a:hover {
    color: #fff;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px 18px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input::placeholder {
    color: #555;
}

.form-input:focus {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    background: white;
    color: #000;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-top: 8px;
}

.submit-btn:hover {
    background: #e5e5e5;
    transform: translateY(-1px);
}

.form-feedback {
    text-align: center;
    margin-top: 12px;
    color: #888;
    font-size: 0.9rem;
}


/* ── Contact Responsive ── */
/* Mobile Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.05);
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    background: rgba(10, 10, 12, 0.98);
    border-radius: 16px;
    padding: 24px 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-links {
    list-style: none;
    margin-bottom: 20px;
}

.mobile-nav-links li {
    margin: 0;
}

.mobile-nav-links a {
    color: #999;
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    display: block;
    padding: 12px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-buttons .login-btn {
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #999;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    font-weight: 400;
}

.mobile-buttons .login-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.mobile-buttons .signup-btn {
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
    background: white;
    color: #000;
    border: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.mobile-buttons .signup-btn:hover {
    background: #e5e5e5;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 900px) {
    .navbar {
        padding: 14px 20px;
    }

    .nav-links, .nav-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 120px 20px 40px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .contact-form-container {
        padding: 28px 20px;
    }
}

/* --- Map section --- */
.map-section-content { padding: 80px 40px; max-width: 1200px; margin: 0 auto; }
.map-header { text-align: center; margin-bottom: 40px; }
.map-title { font-size: 2.2rem; font-weight: 700; margin-bottom: 12px; }
.map-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.map-container { width: 100%; height: 500px; border-radius: 16px; border: 1px solid var(--border-color); overflow: hidden; }
.map-caption { text-align: center; margin-top: 16px; color: var(--text-muted); font-size: 0.95rem; font-style: italic; }
