/* ========================================
   CONTACT PAGE STYLES (PREMIUM DESIGN)
   ======================================== */

/* Hero Section */
.page-header.contact-hero {
    /* Standard gradient inherited from style.css or explicitly set to match */
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    color: white;
}

.page-header.contact-hero .page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 20%);
    opacity: 0.6;
}

.page-header.contact-hero .section-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: white;
}

.page-header.contact-hero .page-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    color: white;
}

.page-header.contact-hero .page-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    color: white;
}

/* Contact Cards Section */
.contact-cards-section {
    position: relative;
    margin-top: -60px;
    /* Overlap hero */
    z-index: 10;
    padding-bottom: 60px;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    /* Soft premium shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(240, 85, 19, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #f05513;
    /* Primary color */
    transition: all 0.3s ease;
}

.contact-card:hover .icon-box {
    background: #f05513;
    color: white;
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.card-text {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.contact-link {
    color: #1a1a1a;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #f05513;
}

.note {
    font-size: 0.85rem;
    color: #999;
}

/* Main Contact Section (Form + Map) */
.contact-main-section {
    padding: 60px 0 100px;
    background-color: #f9f9f9;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    /* No gap for seamless look if wanted, or gap: 30px */
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.form-wrapper {
    padding: 60px 50px;
}

.map-wrapper {
    position: relative;
    min-height: 500px;
    /* Ensure height matches form */
}

.premium-form .form-group {
    margin-bottom: 25px;
}

.premium-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.premium-form .form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 10px;
    background: #fcfcfc;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.premium-form .form-control:focus {
    border-color: #f05513;
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(240, 85, 19, 0.1);
}

.premium-form textarea.form-control {
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: flex-start;
    /* Align with top line of text */
    gap: 12px;
    margin-bottom: 30px;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #f05513;
}

.form-check-label {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    cursor: pointer;
}

.form-check-label a {
    color: #f05513;
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(240, 85, 19, 0.2);
}

.btn-block:hover {
    box-shadow: 0 15px 30px rgba(240, 85, 19, 0.3);
    transform: translateY(-2px);
}

/* Responsive Adjusments */
@media (max-width: 992px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .map-wrapper {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .page-header.contact-hero .page-title {
        font-size: 2.5rem;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-cards-section {
        margin-top: -40px;
        padding-bottom: 40px;
    }

    .form-wrapper {
        padding: 40px 25px;
    }
}