/* ============================================================
   CONTACT PAGE — DEDICATED STYLES
   ============================================================ */

/* ======= HERO ======= */
.contact-hero {
    position: relative;
    padding: 16rem 0 10rem;
    background: var(--secondary);
    overflow: hidden;
}
.contact-hero-bg {
    position: absolute;
    inset: 0;
    background: url('../img/region-me.png') center/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
    transform: scale(1.05);
    animation: slowZoom 20s ease-out forwards;
}
@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.8) 0%, rgba(10,10,10,1) 100%);
    z-index: 1;
}
.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* ======= CONTACT CARDS GRID ======= */
.contact-cards-section {
    background: var(--secondary);
    padding-bottom: 6rem;
    position: relative;
    z-index: 3;
    margin-top: -5rem; /* Pull up to overlap hero slightly */
}
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.contact-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: left;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.contact-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(245, 196, 0, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.contact-card:hover::before {
    transform: scaleX(1);
}
.c-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(245, 196, 0, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    transition: all 0.5s ease;
}
.contact-card:hover .c-card-icon {
    background: var(--primary);
    color: var(--secondary);
    transform: scale(1.1) rotate(5deg);
}
.c-card-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
}
.c-card-text {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}
.c-card-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}
.c-card-link:hover {
    gap: 0.8rem;
}

/* ======= FORM & MAP SPLIT SECTION ======= */
.contact-split-section {
    background: #080808;
    padding: 8rem 0;
}
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

/* Left: Map/Location Visual */
.location-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/5;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.loc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) grayscale(20%);
}
.loc-overlay-box {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
}
.loc-overlay-title {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}
.loc-overlay-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Right: Form */
.premium-form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 4rem;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.form-grid .full-width {
    grid-column: span 2;
}

.input-group {
    position: relative;
    margin-bottom: 1rem;
}
.input-field {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    font-size: 1rem;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.3s ease;
}
.input-field:focus {
    outline: none;
    border-bottom-color: var(--primary);
}
.input-label {
    position: absolute;
    left: 0;
    top: 1rem;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}
.input-field:focus ~ .input-label,
.input-field:valid ~ .input-label,
.input-field:not(:placeholder-shown) ~ .input-label {
    top: -12px;
    font-size: 0.8rem;
    color: var(--primary);
}

.submit-btn-wrap {
    margin-top: 2rem;
}
.btn-submit {
    width: 100%;
    background: var(--primary);
    color: var(--secondary);
    border: none;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}
.btn-submit:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(245, 196, 0, 0.2);
}
.btn-submit i {
    transition: transform 0.3s ease;
}
.btn-submit:hover i {
    transform: translateX(5px);
}

/* ======= RESPONSIVE ======= */
@media (max-width: 1024px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .split-layout {
        grid-template-columns: 1fr;
    }
    .location-visual {
        aspect-ratio: 16/9;
    }
}
@media (max-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    .contact-hero {
        padding: 12rem 0 8rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-grid .full-width {
        grid-column: span 1;
    }
    .premium-form {
        padding: 2.5rem;
    }
    .loc-overlay-box {
        left: 1rem; right: 1rem; bottom: 1rem;
        padding: 1.5rem;
    }
}
