/* ═══════════════════════════════════════
   CONTACT PAGE — Chethi Batik 2026
   Premium Dark Red & Elegant Design
   ═══════════════════════════════════════ */

.contact-page {
    background-color: var(--bg);
}

/* ─── Contact Hero ─── */
.contact-hero {
    position: relative;
    padding: 10rem 0 6rem;
    background: #fff;
    overflow: hidden;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 10% 10%, rgba(211, 47, 47, 0.08) 0%, transparent 40%),
                      radial-gradient(circle at 90% 90%, rgba(211, 47, 47, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--red);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.1;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.1s forwards;
}

.hero-title span {
    color: var(--red);
    font-style: italic;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    animation: fadeInUp 1s ease 0.2s forwards;
}

/* ─── Contact Info Grid ─── */
.contact-info-section {
    padding: 5rem 0;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.info-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease);
}

.info-card:hover {
    transform: translateY(-8px);
    border-color: var(--red-glow);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.info-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.info-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(211, 47, 47, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--red);
    transition: all 0.4s var(--ease);
}

.info-card:hover .info-card-icon {
    background: var(--red);
    color: var(--white);
    transform: rotateY(360deg);
}

.info-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.info-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}

.info-link:hover {
    color: var(--red);
}

.info-links-stack {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.info-card address {
    font-style: normal;
    color: var(--text-main);
    font-weight: 500;
}

.info-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(46, 213, 115, 0.1);
    color: #2ed573;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── Contact Form & Map Section ─── */
.contact-form-section {
    padding: 5rem 0 10rem;
}

.contact-flex-layout {
    display: flex;
    gap: 5rem;
    align-items: flex-start;
}

.contact-form-col {
    flex: 1.2;
}

.contact-map-col {
    flex: 1;
    position: sticky;
    top: 100px;
}

.section-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--red);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 3rem;
}

.section-title span {
    color: var(--red);
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray);
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 2px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.05);
}

.submit-btn {
    align-self: flex-start;
    padding: 1.1rem 2.5rem;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s var(--ease);
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--red-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--red-glow);
}

.submit-btn i {
    transition: transform 0.3s;
}

.submit-btn:hover i {
    transform: translate(4px, -4px);
}

/* Map Column Styles */
.map-container {
    width: 100%;
    height: 550px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
}

.map-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    pointer-events: none;
}

.map-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 1.5rem;
    border-left: 3px solid var(--red);
    box-shadow: var(--shadow-light);
    border-radius: 2px;
}

.map-card p {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 0.4rem;
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-flex-layout {
        flex-direction: column;
        gap: 4rem;
    }
    
    .contact-map-col {
        width: 100%;
        position: static;
    }
    
    .map-container {
        height: 400px;
    }
}

@media (max-width: 640px) {
    .form-row {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .contact-hero {
        padding: 8rem 0 4rem;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
