/* ========================================
   Contact Page Styles
   ======================================== */

/* ---- Section Header (shared) ---- */
.section-header {
    margin-bottom: 3.5rem;
}

.section-header__tag {
    display: inline-block;
    font-family: 'Jost', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e87722;
    background: rgba(232, 119, 34, 0.08);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-header__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.section-header__divider {
    margin-bottom: 1rem;
    opacity: 0.75;
}

.section-header__desc {
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    color: #666;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Contact Form Section ---- */
.contact-form-section {
    padding: 5rem 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1.5px solid rgba(232, 119, 34, 0.1);
    pointer-events: none;
}

.contact-form-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 119, 34, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

/* -- Left Info Panel -- */
.contact-form-panel--info {
    position: relative;
    background: #1a1a2e;
    overflow: hidden;
    min-height: 520px;
}

.panel-bg {
    position: absolute;
    inset: 0;
    background-image: url('../../images/discover_section/482012176.png');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    animation: panelKenBurns 20s ease-in-out infinite alternate;
}

@keyframes panelKenBurns {
    0%   { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.panel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.92) 0%, rgba(26, 26, 46, 0.7) 50%, rgba(26, 26, 46, 0.55) 100%);
}

.panel-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem 3rem;
}

.panel-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(232, 119, 34, 0.15);
    border: 1.5px solid rgba(232, 119, 34, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #e87722;
    margin-bottom: 1.75rem;
    animation: panelIconPulse 2.5s ease-in-out infinite;
}

@keyframes panelIconPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(232, 119, 34, 0.3); }
    50%      { box-shadow: 0 0 0 14px rgba(232, 119, 34, 0); }
}

.panel-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.panel-divider {
    margin-bottom: 1.25rem;
    opacity: 0.8;
}

.panel-desc {
    font-family: 'Jost', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.panel-contact-preview {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.preview-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
    font-family: 'Jost', sans-serif;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.3s ease;
}

.preview-item:hover {
    color: #e87722;
}

.preview-item i {
    width: 20px;
    text-align: center;
    color: #e87722;
    font-size: 0.82rem;
}

/* -- Right Form Panel -- */
.contact-form-panel--form {
    background: #fff;
    padding: 3.5rem 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
    display: block;
    letter-spacing: 0.02em;
}

.required-star {
    color: #e87722;
}

.optional-tag {
    font-weight: 400;
    color: #999;
    font-size: 0.78rem;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: #bbb;
    font-size: 0.9rem;
    pointer-events: none;
    transition: color 0.3s ease;
    z-index: 2;
}

.input-wrapper--textarea .input-icon {
    top: 1rem;
    transform: none;
}

.input-wrapper:focus-within .input-icon {
    color: #e87722;
}

.form-control {
    font-family: 'Jost', sans-serif;
    width: 100%;
    border: 2px solid #c0c0c0;
    border-radius: 8px;
    padding: 0.85rem 1rem 0.85rem 2.6rem;
    font-size: 0.92rem;
    color: #2c2c2c;
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
}

.form-control:hover {
    border-color: #a0a0a0;
}

.form-control:focus {
    border-color: #e87722;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(232, 119, 34, 0.12);
}

.form-control::placeholder {
    color: #aaa;
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
    padding-top: 1rem;
}

/* -- Form Footer -- */
.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.form-check-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding-left: 0;
    margin-bottom: 0;
}

.form-check-input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    border: 1.5px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-check-input:checked {
    background-color: #e87722;
    border-color: #e87722;
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(232, 119, 34, 0.12);
    border-color: #e87722;
}

.form-check-label {
    font-family: 'Jost', sans-serif;
    font-size: 0.83rem;
    color: #666;
    line-height: 1.5;
    cursor: pointer;
}

.privacy-link {
    font-family: 'Jost', sans-serif;
    font-size: 0.83rem;
    color: #e87722;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-left: 1.6rem;
}

.privacy-link:hover {
    color: #c9631a;
    text-decoration: underline;
}

/* -- Submit Button -- */
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #e87722;
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.35s ease;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-submit:hover {
    background: #c9631a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 119, 34, 0.35);
}

.btn-submit:hover::before {
    width: 400px;
    height: 400px;
}

.btn-submit i {
    transition: transform 0.3s ease;
}

.btn-submit:hover i {
    transform: translateX(4px);
}

/* ---- Contact Info Section ---- */
.contact-info-section {
    padding: 5rem 0;
    background: #faf9f6;
    position: relative;
    overflow: hidden;
}

.contact-info-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(232, 119, 34, 0.05) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

/* -- Info Card -- */
.info-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.03);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.info-card__accent-bar {
    height: 4px;
    background: linear-gradient(90deg, #e87722, #f7a44a, #e87722);
    background-size: 200% 100%;
    animation: accentSlide 3s ease-in-out infinite;
}

@keyframes accentSlide {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.info-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 2rem 0;
}

.info-card__icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(232, 119, 34, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #e87722;
    flex-shrink: 0;
}

.info-card__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.info-card__body {
    padding: 1.5rem 2rem;
}

/* -- Info Row -- */
.info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #f3f3f3;
    transition: background 0.25s ease;
    border-radius: 6px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin: 0 -0.5rem;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row:hover {
    background: rgba(232, 119, 34, 0.03);
}

.info-row__icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #999;
    flex-shrink: 0;
    transition: all 0.35s ease;
}

.info-row:hover .info-row__icon {
    background: #e87722;
    border-color: #e87722;
    color: #fff;
    transform: rotate(360deg);
}

.info-row__text {
    font-family: 'Jost', sans-serif;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
}

.info-row__text p {
    margin: 0;
    color: #555;
}

.info-row__text a {
    display: block;
    color: #555;
    text-decoration: none;
    transition: color 0.25s ease;
    line-height: 1.7;
}

.info-row__text a:hover {
    color: #e87722;
}

/* -- Social Links -- */
.info-card__social {
    display: flex;
    gap: 0.6rem;
    padding: 1.25rem 2rem 2rem;
    border-top: 1px solid #f3f3f3;
}

.social-dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-dot:hover {
    background: #e87722;
    border-color: #e87722;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(232, 119, 34, 0.25);
}

/* ---- CTA Banner Section ---- */
.contact-cta {
    position: relative;
    padding: 5rem 0;
    background-image: url('../../images/discover_section/482012176.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact-cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.88) 0%, rgba(26, 26, 46, 0.65) 50%, rgba(26, 26, 46, 0.78) 100%);
}

.contact-cta__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.contact-cta__desc {
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 520px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.contact-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e87722;
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.95rem 2.2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.35s ease;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.contact-cta__btn:hover {
    background: #fff;
    color: #e87722;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.contact-cta__btn i {
    transition: transform 0.3s ease;
}

.contact-cta__btn:hover i {
    transform: translateX(4px);
}

/* ---- Validation States ---- */
.was-validated .form-control:valid {
    border-color: #28a745;
}

.was-validated .form-control:invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    font-family: 'Jost', sans-serif;
    font-size: 0.78rem;
    color: #dc3545;
    margin-top: 0.35rem;
}

/* ---- Scroll-triggered Animations ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card {
    animation: fadeInUp 0.7s ease-out both;
}

.info-card:nth-child(2) {
    animation-delay: 0.12s;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-panel--info {
        min-height: auto;
    }

    .panel-content {
        padding: 2.5rem 2rem;
    }

    .contact-form-panel--form {
        padding: 2.5rem 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-cta {
        padding: 3.5rem 0;
    }
}

@media (max-width: 767px) {
    .contact-form-section {
        padding: 3rem 0;
    }

    .contact-info-section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header__title {
        font-size: 1.6rem;
    }

    .panel-content {
        padding: 2rem 1.5rem;
    }

    .panel-title {
        font-size: 1.6rem;
    }

    .panel-desc {
        font-size: 0.88rem;
    }

    .contact-form-panel--form {
        padding: 2rem 1.5rem;
    }

    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .form-check-wrapper {
        margin-bottom: 0.5rem;
    }

    .btn-submit {
        justify-content: center;
        width: 100%;
    }

    .info-card__header {
        padding: 1.5rem 1.5rem 0;
    }

    .info-card__body {
        padding: 1rem 1.5rem;
    }

    .info-card__social {
        padding: 1rem 1.5rem 1.5rem;
    }

    .info-card__title {
        font-size: 1.4rem;
    }

    .contact-cta {
        padding: 3rem 0;
        background-attachment: scroll;
    }

    .contact-cta__title {
        font-size: 1.5rem;
    }

    .contact-cta__desc {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .panel-content {
        padding: 1.75rem 1.25rem;
    }

    .contact-form-panel--form {
        padding: 1.75rem 1.25rem;
    }

    .form-control {
        padding: 0.75rem 0.85rem 0.75rem 2.4rem;
        font-size: 0.88rem;
    }

    .input-icon {
        left: 0.85rem;
        font-size: 0.82rem;
    }

    .contact-cta {
        padding: 2.5rem 0;
    }

    .contact-cta__btn {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.5rem;
        font-size: 0.88rem;
    }
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
    .panel-bg,
    .info-card__accent-bar,
    .info-card,
    .info-row:hover .info-row__icon {
        animation: none;
    }

    .contact-cta {
        background-attachment: scroll;
    }
}
