/* ══════════════════════════════════════════════════════════════
   ELY'S CURE — İLETİŞİM SAYFASI STİLLERİ (contact.css)
   ══════════════════════════════════════════════════════════════ */

:root {
    --bento-navy: #13425e;
    --bento-navy-light: #2f5977;
    --bento-gold: #c9a96e;
    --bento-gold-hover: #b39359;
    --bento-bg: #f9f9f9;
    --bento-card-bg: #ffffff;
    --bento-border: rgba(194, 199, 206, 0.4);
    --bento-text-main: #1a1c1c;
    --bento-text-muted: #72787e;
}

/* ── Hero Section ── */
.contact-hero {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 5rem;
    overflow: hidden;
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.contact-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.4) 50%, #f9f9f9 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.contact-hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* ── Bento Grid & Cards ── */
.contact-bento-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 20px;
}

@media (min-width: 768px) {
    .contact-bento-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .contact-bento-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .col-span-2-lg {
        grid-column: span 2 / span 2;
    }
}

.bento-card {
    background: var(--bento-card-bg);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px -10px rgba(19, 66, 94, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bento-card:hover {
    box-shadow: 0 20px 40px -15px rgba(19, 66, 94, 0.22);
    transform: translateY(-3px);
    border-color: rgba(201, 169, 110, 0.4);
}

.bento-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.bento-icon-box.gold {
    background-color: rgba(201, 169, 110, 0.15);
    color: var(--bento-gold);
}

.bento-icon-box.navy {
    background-color: rgba(19, 66, 94, 0.1);
    color: var(--bento-navy);
}

.bento-card:not(#office-info-card):hover .bento-icon-box.gold,
.info-row:hover .bento-icon-box.gold {
    background-color: var(--bento-gold);
    color: #FFFFFF;
}

.bento-card:not(#office-info-card):hover .bento-icon-box.navy,
.info-row:hover .bento-icon-box.navy {
    background-color: var(--bento-navy);
    color: #FFFFFF;
}

/* ── Info Row Hover Effects ── */
.info-row {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0.75rem;
    border: 1px solid transparent;
}

.info-row:hover {
    background-color: rgba(19, 66, 94, 0.04);
    border-color: rgba(19, 66, 94, 0.08);
}

/* ── Main Content Section ── */
.contact-main-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px 6rem 20px;
}

.contact-layout-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 40px;
}

@media (min-width: 1024px) {
    .contact-layout-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
    .form-col-7 {
        grid-column: span 7 / span 7;
    }
    .info-col-5 {
        grid-column: span 5 / span 5;
    }
}

/* ── Custom Floating Label Forms ── */
.form-group-relative {
    position: relative;
    width: 100%;
}

.input-field {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 0.5rem;
    padding: 1.15rem 1.25rem 0.85rem 1.25rem;
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    color: var(--bento-text-main);
    transition: all 0.3s ease;
    height: 56px;
}

select.input-field {
    appearance: none;
    -webkit-appearance: none;
    background-image: none;
}

.input-field:focus {
    outline: none;
    border-color: var(--bento-gold);
    box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.12);
}

.floating-label {
    position: absolute;
    left: 1.25rem;
    top: 1rem;
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    color: var(--bento-text-muted);
    pointer-events: none;
    transition: all 0.2s ease;
}

/* Floating Label Animation */
.input-field:focus ~ .floating-label,
.input-field:not(:placeholder-shown) ~ .floating-label,
.input-field.has-value ~ .floating-label {
    top: -0.5rem;
    left: 1rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--bento-gold);
    background: white;
    padding: 0 0.35rem;
    text-transform: uppercase;
}

/* Textarea Customization */
textarea.input-field {
    height: auto;
    min-height: 140px;
    padding-top: 1.25rem;
}

/* Custom Select Dropdown Arrow */
.select-arrow {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bento-text-muted);
    pointer-events: none;
}

/* ── Custom Radio Buttons (Chips & Tags) ── */
.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip-label {
    cursor: pointer;
    user-select: none;
}

.chip-span {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 8px;
    background-color: #E8EEF2;
    color: #42474d;
    font-size: 13.5px;
    font-weight: 600;
    border: 1.5px solid transparent;
    transition: all 0.2s ease;
}

.chip-label input:checked + .chip-span {
    background-color: var(--bento-gold);
    color: #FFFFFF;
    border-color: var(--bento-gold);
    box-shadow: 0 6px 14px rgba(201, 169, 110, 0.3);
}

.chip-label:hover .chip-span:not(input:checked + .chip-span) {
    background-color: rgba(19, 66, 94, 0.1);
    color: var(--bento-navy);
}

/* ── Custom Checkbox ── */
.form-check-input-custom {
    width: 19px;
    height: 19px;
    border: 1px solid rgba(194, 199, 206, 0.8);
    border-radius: 4px;
    appearance: none;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    background-color: #FFFFFF;
}

.form-check-input-custom:checked {
    background-color: var(--bento-navy-light);
    border-color: var(--bento-navy-light);
}

.form-check-input-custom:checked::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 10px;
    color: #FFFFFF;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ── Primary Submit Button ── */
.btn-primary-custom {
    padding: 16px 32px;
    background-color: var(--bento-navy);
    border: none;
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.btn-primary-custom:hover {
    background-color: var(--bento-navy-light);
    box-shadow: 0 8px 20px rgba(19, 66, 94, 0.25);
}

/* ── Social Chip Links ── */
.social-chip-round {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background-color: #ffffff;
    color: var(--bento-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(194, 199, 206, 0.2);
    transition: all 0.25s ease;
}

.social-chip-round:hover {
    background-color: var(--bento-gold);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(201, 169, 110, 0.3);
}

/* ── Simulated Map ── */
.map-view-box {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    height: 260px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px -10px rgba(19, 66, 94, 0.12);
}

.map-view-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-view-box:hover img {
    transform: scale(1.04);
}
