/* ===== CONTACT HERO ===== */
.contact-hero {
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    text-align: center;
    background: #1A3A2E;
}

/* Background Image using ::before */
.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/Temp2.jpg');
    /* ← CHANGE THIS to your image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Dark overlay for text readability */
.contact-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 58, 46, 0.78);
    z-index: 1;
}

/* Container sits on top of the overlay */
.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.contact-hero .accent-line {
    width: 60px;
    height: 3px;
    background: #c89f6c;
    margin: 12px auto 20px;
    border-radius: 4px;
}

.contact-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 60px 0 70px;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a4d5e;
    margin-bottom: 16px;
}

.contact-details p {
    color: #3a4a5a;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.contact-info-list {
    list-style: none;
    padding: 0;
}

.contact-info-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
    font-size: 1rem;
    color: #1e1e2a;
}

.contact-info-list li i {
    color: #c89f6c;
    font-size: 1.2rem;
    width: 24px;
    margin-top: 2px;
}

.contact-info-list li a {
    color: #1a4d5e;
    text-decoration: none;
}

.contact-info-list li a:hover {
    text-decoration: underline;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: #f8fafb;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #eef2f4;
}

.contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a4d5e;
    margin-bottom: 8px;
}

.contact-form p {
    color: #3a4a5a;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #1e1e2a;
    margin-bottom: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d9e2e8;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a4d5e;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== NAME + SURNAME SPLIT ===== */
.form-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.form-row .form-group.half {
    flex: 1 1 calc(50% - 8px);
    min-width: 160px;
}

@media (max-width: 480px) {
    .form-row .form-group.half {
        flex: 1 1 100%;
        min-width: unset;
    }
}

/* ===== MAP INSIDE LEFT COLUMN ===== */
.contact-map-inline {
    margin-top: 30px;
}

.contact-map-inline .map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26, 77, 94, 0.08);
    border-top: 3px solid #c89f6c;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-map-inline .map-container:hover {
    transform: scale(1.005);
    box-shadow: 0 8px 30px rgba(26, 77, 94, 0.15);
}

.contact-map-inline iframe {
    display: block;
    width: 100%;
    height: 250px;
    border: none;
}

/* ===== CONTACT CTA – SEAMLESS FOOTER BLEND ===== */
.contact-cta {
    padding: 70px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
    isolation: isolate;

    /* 
       The gradient now smoothly transitions to #1D2622 at the bottom.
       This perfectly matches your footer overlay, creating a continuous ombré.
    */
    background: radial-gradient(circle at 50% 30%, #3a4a3a 0%, #1f2c26 60%, #1d2622 100%);
    color: #fff;
}

/* Soft, glowing golden halo behind the text */
.contact-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(200, 159, 108, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
}

/* Subtle golden "sparkle" dust at the corners */
.contact-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: radial-gradient(circle at 90% 10%, rgba(200, 159, 108, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 10% 90%, rgba(200, 159, 108, 0.05) 0%, transparent 40%);
    z-index: -1;
}

.contact-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.contact-cta p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px;
    opacity: 0.85;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

/* Gold button that pops against the dark background */
.contact-cta .btn-primary {
    background: #c89f6c;
    color: #1e1e2a;
    box-shadow: 0 4px 24px rgba(200, 159, 108, 0.35);
    transition: all 0.3s ease;
    font-weight: 600;
}

.contact-cta .btn-primary:hover {
    background: #dab07e;
    box-shadow: 0 8px 40px rgba(200, 159, 108, 0.5);
    transform: translateY(-3px) scale(1.02);
}

/* Trust badges – elegant and muted */
.contact-cta .trust-inline {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    opacity: 0.6;
    color: rgba(255, 255, 255, 0.7);
}

.contact-cta .trust-inline span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-cta .trust-inline i {
    color: #c89f6c;
}

/* ===== FLOATING WHATSAPP ICON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 40px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
    font-size: 2.2rem;
    color: #fff;
}

/* Subtle pulse animation */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 40px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
    }
}

/* Small screen adjustment */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float i {
        font-size: 1.8rem;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-hero {
        padding: 80px 0 100px;
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.4rem;
    }

    .contact-hero {
        padding: 60px 0 80px;
        min-height: 300px;
    }

    .contact-form {
        padding: 24px;
    }

    .contact-cta h2 {
        font-size: 2rem;
    }

    .contact-map-inline iframe {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 50px 0 60px;
        min-height: 250px;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-cta h2 {
        font-size: 1.6rem;
    }

    .contact-cta p {
        font-size: 0.95rem;
    }

    .contact-cta .trust-inline {
        gap: 16px;
        font-size: 0.8rem;
    }

    .contact-map-inline iframe {
        height: 180px;
    }
}