/* ==============================
   Contact Page Premium Bootstrap CSS
============================== */

:root {
    --om-primary: #790b10;
    --om-primary-dark: #4c0508;
    --om-gold: #c9984a;
    --om-dark: #151515;
    --om-text: #4c4c4c;
    --om-muted: #777;
    --om-light: #fff8f3;
    --om-border: #eadbd3;
    --om-white: #ffffff;
    --om-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
    --om-shadow-hover: 0 24px 58px rgba(121, 11, 16, 0.15);
}

/* Hero */
.contact-hero {
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
        radial-gradient(circle at 85% 25%, rgba(201, 152, 74, 0.22), transparent 32%),
        linear-gradient(135deg, rgba(121, 11, 16, 0.96), rgba(27, 9, 8, 0.96));
    color: #fff;
    overflow: hidden;
    position: relative;
}

.contact-hero::before,
.contact-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
}

.contact-hero::before {
    width: 280px;
    height: 280px;
    top: -120px;
    right: -80px;
}

.contact-hero::after {
    width: 230px;
    height: 230px;
    bottom: -110px;
    left: -70px;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-hero-badge {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50px;
    margin-bottom: 18px;
    color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-hero h1 {
    font-size: 48px;
    font-weight: 800;
}

.contact-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255,255,255,0.88);
    font-size: 17px;
    line-height: 1.8;
}

/* Background */
.contact-main-section,
.contact-map-section,
.contact-hours-section {
    background:
        linear-gradient(180deg, #fff, #fff8f3);
}

/* Common heading */
.contact-section-heading span {
    display: inline-block;
    color: var(--om-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.contact-section-heading h2 {
    color: var(--om-dark);
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 8px;
}

.contact-section-heading p {
    color: var(--om-muted);
    margin-bottom: 0;
    line-height: 1.7;
}

/* Cards */
.contact-form-card,
.contact-info-card,
.contact-map-card,
.working-hours-card {
    background: var(--om-white);
    border: 1px solid var(--om-border);
    border-radius: 26px;
    box-shadow: var(--om-shadow);
    transition: 0.35s ease;
}

.contact-form-card,
.contact-info-card,
.working-hours-card {
    padding: 36px;
}

.contact-form-card:hover,
.contact-info-card:hover,
.contact-map-card:hover,
.working-hours-card:hover {
    box-shadow: var(--om-shadow-hover);
}

/* Form */
.contact-form-card .form-label {
    color: var(--om-dark);
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 8px;
}

.contact-input-group {
    border: 1px solid var(--om-border);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    transition: 0.25s ease;
}

.contact-input-group:focus-within {
    border-color: var(--om-primary);
    box-shadow: 0 0 0 4px rgba(121, 11, 16, 0.09);
}

.contact-input-group .input-group-text {
    width: 54px;
    border: 0;
    background: var(--om-light);
    color: var(--om-primary);
    font-size: 18px;
    justify-content: center;
}

.contact-input-group .form-control,
.contact-input-group .form-select {
    min-height: 54px;
    border: 0;
    box-shadow: none !important;
    color: var(--om-dark);
    font-size: 15px;
}

.contact-input-group .form-control::placeholder {
    color: #999;
}

.contact-input-group textarea.form-control {
    min-height: 125px;
    resize: none;
    padding-top: 15px;
}

.textarea-icon {
    align-items: flex-start !important;
    padding-top: 18px;
}

.country-code-select {
    max-width: 115px;
    border-left: 1px solid var(--om-border) !important;
    border-right: 1px solid var(--om-border) !important;
}

/* Submit Button */
.contact-submit-btn {
    background: linear-gradient(135deg, var(--om-primary), var(--om-primary-dark));
    border: 0;
    color: #fff;
    min-width: 230px;
    min-height: 54px;
    border-radius: 50px;
    font-weight: 800;
    letter-spacing: 0.3px;
    box-shadow: 0 14px 28px rgba(121, 11, 16, 0.25);
    transition: 0.3s ease;
}

.contact-submit-btn:hover {
    background: linear-gradient(135deg, #111, #000);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

/* Contact Info */
.contact-info-item {
    display: flex;
    gap: 15px;
    background: linear-gradient(135deg, #fffaf8, #ffffff);
    border: 1px solid #f0dfd7;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 16px;
    transition: 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-4px);
    border-color: rgba(121, 11, 16, 0.28);
    box-shadow: 0 14px 32px rgba(121, 11, 16, 0.09);
}

.contact-info-icon {
    width: 42px;
    min-width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--om-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.contact-info-item h5 {
    font-size: 16px;
    font-weight: 800;
    color: var(--om-dark);
    margin-bottom: 7px;
}

.contact-info-item p {
    color: var(--om-text);
    line-height: 1.7;
    margin-bottom: 6px;
}

.contact-info-item a {
    color: var(--om-text);
    text-decoration: none;
    word-break: break-word;
}

.contact-info-item a:hover {
    color: var(--om-primary);
}

/* Social */
.contact-social-links a {
    width: 44px;
    height: 44px;
    background: var(--om-primary);
    color: #fff !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s ease;
}

.contact-social-links a:hover {
    background: var(--om-dark);
    color: #fff !important;
    transform: translateY(-4px);
}

/* Maps */
.contact-map-card {
    padding: 18px;
    overflow: hidden;
}

.map-address {
    display: flex;
    gap: 12px;
    min-height: 86px;
    margin-bottom: 12px;
}

.map-address i {
    color: var(--om-primary);
    margin-top: 5px;
}

.map-address p {
    color: var(--om-dark);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-map-card iframe {
    border-radius: 18px;
    width: 100%;
    height: 350px;
    display: block;
}

/* Opening Hours */
.contact-hours-image img {
    width: 100%;
    border-radius: 26px;
    box-shadow: var(--om-shadow);
    object-fit: cover;
}

.hours-list {
    background: var(--om-light);
    border: 1px solid #f0dfd7;
    border-radius: 18px;
    padding: 10px 22px !important;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px dashed #dcc7bd;
    color: var(--om-text);
}

.hours-list li:last-child {
    border-bottom: 0;
}

.hours-list li span {
    color: var(--om-dark);
    font-weight: 800;
}

.hours-list .closed {
    color: var(--om-primary);
}

/* Responsive */
@media (max-width: 991px) {
    .contact-hero h1 {
        font-size: 38px;
    }

    .contact-form-card,
    .contact-info-card,
    .working-hours-card {
        padding: 28px;
    }
}

@media (max-width: 575px) {
    .contact-hero {
        padding-top: 45px !important;
        padding-bottom: 45px !important;
    }

    .contact-hero h1 {
        font-size: 30px;
    }

    .contact-hero p {
        font-size: 15px;
    }

    .contact-section-heading h2 {
        font-size: 25px;
    }

    .contact-form-card,
    .contact-info-card,
    .working-hours-card {
        padding: 22px;
        border-radius: 20px;
    }

    .contact-input-group .input-group-text {
        width: 46px;
        font-size: 16px;
    }

    .contact-input-group .form-control,
    .contact-input-group .form-select {
        min-height: 50px;
        font-size: 14px;
    }

    .country-code-select {
        max-width: 90px;
        padding-left: 7px;
        padding-right: 7px;
    }

    .contact-submit-btn {
        width: 100%;
        min-width: 100%;
    }

    .contact-info-item {
        padding: 16px;
        gap: 12px;
    }

    .contact-info-icon {
        width: 38px;
        min-width: 38px;
        height: 38px;
    }

    .contact-social-links {
        justify-content: center;
    }

    .map-address {
        min-height: auto;
    }

    .contact-map-card iframe {
        height: 300px;
    }

    .hours-list li {
        display: block;
    }

    .hours-list li span {
        display: block;
        margin-bottom: 4px;
    }
}
