/* ================= VARIABLES ================= */
:root {
    --blue: #3B82F6;
    --blue-accent: #0ea5e9;
    --purple: #3B82F6;
    --text-light: #ffffff;
    --text-muted: #BEB69B;
    --text-dark: #0F172A;
    --bg-dark: #0F172A;
    --bg-light: #f9fafb;
    --border-color: #1E293B;
}

/* ================= BASE ================= */
.contact-page {
    margin-top: 0;
    font-family: "Poppins", sans-serif;
    background: var(--bg-dark);
}

/* ================= HERO SECTION ================= */
.contact-hero {
    height: 70vh;
    width: 100%;
    background: url("../images/hero.jpeg") right center / cover no-repeat;
    background-attachment: fixed;
    background-size: cover !important;
    background-position: center right !important;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(5, 31, 32, 0.7) 0%,
        rgba(5, 31, 32, 0.55) 45%,
        rgba(5, 31, 32, 0.25) 70%,
        rgba(5, 31, 32, 0) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin-left: 60px;
    color: var(--text-light);
    text-align: left;
}

.contact-hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--blue), var(--blue-accent));
    -webkit-background-clip: text;
    color: transparent;
}

.contact-hero p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 600px;
}

/* ================= CONTACT SECTION ================= */
.contact-section {
    padding: 120px 40px;
    background: var(--bg-dark);
}

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

/* ================= CONTACT INFO ================= */
.contact-info h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    -webkit-background-clip: text;
    color: transparent;
}

.contact-info > p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    line-height: 1.6;
}

/* ================= INFO CARDS ================= */
.info-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--blue);
    transform: translateY(-4px);
}

.info-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
    color: white;
    font-weight: 600;
}

.info-icon.blue {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--blue);
}

.info-icon.purple {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--purple);
}

.info-icon.red {
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: var(--blue-accent);
}

.info-card strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 6px;
}

.info-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.info-card a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: var(--purple);
    text-decoration: underline;
}

/* ================= CONTACT FORM ================= */
.contact-form-container h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 32px;
    background: linear-gradient(135deg, var(--blue), var(--blue-accent));
    -webkit-background-clip: text;
    color: transparent;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 14px 16px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.contact-form select {
    color: var(--text-muted);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form 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='%23BEB69B' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

/* ================= SUBMIT BUTTON ================= */
.btn-submit {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--blue), var(--blue-accent));
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ================= MAP SECTION ================= */
.map-section {
    padding: 100px 40px;
    background: var(--bg-light);
    text-align: center;
}

.map-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 48px;
    background: linear-gradient(135deg, var(--blue), var(--blue-accent));
    -webkit-background-clip: text;
    color: transparent;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* ================= RESPONSIVE ================= */

/* Large Tablets (1024px) */
@media (max-width: 1024px) {
    .contact-hero { height: 60vh; }
    
    .contact-section { padding: 100px 30px; }
    
    .contact-grid {
        gap: 60px;
    }
}

/* Tablets (768px) */
@media (max-width: 992px) {
    .contact-hero { height: 55vh; }

    .hero-content {
        margin-left: 30px;
    }

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

    .contact-section {
        padding: 80px 24px;
    }

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

/* Mobile Landscape (600px) */
@media (max-width: 768px) {
    .contact-hero {
        height: 50vh;
        margin-top: 60px;
    }

    .hero-content {
        margin-left: 20px;
    }

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

    .contact-hero p {
        font-size: 1rem;
    }

    .contact-section {
        padding: 60px 20px;
    }

    .contact-grid {
        gap: 40px;
    }

    .contact-info h2,
    .contact-form-container h2 {
        font-size: 1.8rem;
        margin-bottom: 24px;
    }

    .map-section {
        padding: 60px 20px;
    }

    .map-container iframe {
        height: 350px;
    }

    .info-card {
        padding: 18px;
    }

    .info-icon {
        width: 48px;
        height: 48px;
    }
}

/* Mobile Portrait (480px) */
@media (max-width: 600px) {
    .contact-hero {
        height: 45vh;
        background-attachment: scroll;
    }

    .hero-content {
        margin-left: 16px;
        margin-right: 16px;
    }

    .contact-hero h1 {
        font-size: 1.9rem;
        margin-bottom: 16px;
    }

    .contact-hero p {
        font-size: 0.95rem;
    }

    .contact-section {
        padding: 50px 16px;
    }

    .contact-grid {
        gap: 30px;
    }

    .contact-info h2,
    .contact-form-container h2 {
        font-size: 1.6rem;
    }

    .contact-info > p {
        margin-bottom: 32px;
    }

    .info-card {
        gap: 14px;
        padding: 16px;
        margin-bottom: 16px;
    }

    .btn-submit {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .map-section {
        padding: 50px 16px;
    }

    .map-section h2 {
        font-size: 1.8rem;
        margin-bottom: 32px;
    }

    .map-container iframe {
        height: 300px;
    }
}

/* Extra Small Mobile (360px) */
@media (max-width: 480px) {
    .contact-hero {
        height: 40vh;
    }

    .hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(5, 31, 32, 0.95) 0%,
            rgba(5, 31, 32, 0.85) 100%
        );
    }

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

    .contact-hero p {
        font-size: 0.9rem;
    }

    .contact-section {
        padding: 40px 12px;
    }

    .contact-info h2,
    .contact-form-container h2 {
        font-size: 1.4rem;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 14px;
    }

    .info-card {
        gap: 12px;
        padding: 14px;
    }

    .info-card strong {
        font-size: 1rem;
    }

    .info-card p {
        font-size: 0.9rem;
    }

    .map-section {
        padding: 40px 12px;
    }

    .map-section h2 {
        font-size: 1.5rem;
    }

    .map-container iframe {
        height: 280px;
    }
}

/* Large Screens (1440px+) */
@media (min-width: 1440px) {
    .contact-hero { height: 75vh; }
    
    .hero-content {
        margin-left: 80px;
    }

    .contact-hero h1 { font-size: 4.5rem; }
    
    .contact-section {
        padding: 140px 60px;
    }
    
    .contact-grid {
        gap: 100px;
    }
}

/* TV/4K Screens (1920px+) */
@media (min-width: 1920px) {
    .contact-hero {
        height: 80vh;
    }

    .hero-content {
        margin-left: 100px;
        max-width: 900px;
    }

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

    .contact-hero p {
        font-size: 1.5rem;
    }

    .contact-section {
        padding: 160px 80px;
    }

    .contact-info h2,
    .contact-form-container h2 {
        font-size: 3rem;
    }

    .map-container iframe {
        height: 600px;
    }
}
