/* ===== CONTACT PAGE SPECIFIC STYLES ===== */

/* Hero Section */
.contact-hero {
    position: relative;
    height: 60vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #0A0E1A;
}

.contact-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/static/frontends/images/contact-1.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: kenBurnsZoom 20s ease-in-out infinite alternate;
    will-change: transform;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.88) 0%, rgba(26, 31, 46, 0.78) 100%);
    z-index: 1;
}

@keyframes kenBurnsZoom {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.15) translate(-1%, -1%); }
    100% { transform: scale(1.08) translate(1%, 0.5%); }
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
}

.contact-hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.15;
}

.contact-hero-content h1 span {
    color: var(--accent);
}

.contact-hero-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
}

/* Quick Contact Cards */
.quick-contact-section {
    padding: 80px 0;
    background: var(--surface);
    margin-top: -60px;
    position: relative;
    z-index: 3;
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.quick-contact-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.quick-contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.qcc-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(91, 91, 247, 0.08);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 24px;
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.quick-contact-card:nth-child(2) .qcc-icon { background: rgba(0, 212, 168, 0.1); color: var(--accent); }
.quick-contact-card:nth-child(3) .qcc-icon { background: rgba(245, 158, 11, 0.1); color: #D97706; }
.quick-contact-card:nth-child(4) .qcc-icon { background: rgba(244, 63, 94, 0.1); color: var(--danger); }

.quick-contact-card:hover .qcc-icon {
    transform: scale(1.1);
}

.quick-contact-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.quick-contact-card p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.quick-contact-card .contact-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 12px;
}

.quick-contact-card .btn-text {
    font-size: 13px;
}

/* Contact Form Section */
.contact-form-section {
    padding: 100px 0;
    background: var(--bg);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px;
}

.contact-form-card h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

.contact-form-card > p {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

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

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
}

.form-field label .req {
    color: var(--danger);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--ink);
    font-family: inherit;
    transition: all 0.2s;
    outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(91, 91, 247, 0.1);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    width: 100%;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 20px -6px rgba(91, 91, 247, 0.5);
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -6px rgba(91, 91, 247, 0.6);
}

/* Contact Info Sidebar */
.contact-info-sidebar {
    position: sticky;
    top: 100px;
}

.info-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 24px;
}

.info-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h3 i {
    color: var(--primary);
}

.info-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-2);
}

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

.info-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(91, 91, 247, 0.08);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 16px;
    flex-shrink: 0;
}

.info-item-content h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.info-item-content p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

.info-item-content a {
    color: var(--primary);
    font-weight: 600;
}

/* Business Hours Card */
.hours-card {
    background: linear-gradient(135deg, rgba(91, 91, 247, 0.06), rgba(124, 58, 237, 0.06));
    border: 1px solid rgba(91, 91, 247, 0.15);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 14px;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item .day {
    color: var(--ink-2);
    font-weight: 600;
}

.hours-item .time {
    color: var(--muted);
}

.hours-item.today {
    background: rgba(0, 212, 168, 0.08);
    margin: 0 -16px;
    padding: 10px 16px;
    border-radius: 8px;
}

.hours-item.today .day {
    color: var(--accent);
}

/* Branch Locations */
.branches-section {
    padding: 100px 0;
    background: var(--surface);
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.branch-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.branch-image {
    height: 180px;
    overflow: hidden;
}

.branch-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.branch-card:hover .branch-image img {
    transform: scale(1.05);
}

.branch-content {
    padding: 24px;
}

.branch-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.branch-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.branch-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
}

.branch-info-item i {
    color: var(--primary);
    margin-top: 2px;
    width: 14px;
    text-align: center;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--bg);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.2s;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    transition: all 0.2s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question .faq-toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--surface-2);
    display: grid;
    place-items: center;
    font-size: 12px;
    color: var(--muted);
    transition: all 0.3s;
    flex-shrink: 0;
}

.faq-item.open .faq-question .faq-toggle {
    background: var(--primary);
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

/* Final CTA */
.contact-cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
}

.contact-cta-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto;
}

.contact-cta-content h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 991px) {
    .contact-hero { height: 50vh; }
    .contact-hero::after { animation: none; transform: scale(1.05); }
    .contact-hero-content h1 { font-size: 40px; }
    .quick-contact-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-form-grid { grid-template-columns: 1fr; }
    .contact-info-sidebar { position: static; }
    .branches-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .contact-hero-content h1 { font-size: 32px; }
    .contact-hero-content p { font-size: 16px; }
    .quick-contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .branches-grid { grid-template-columns: 1fr; }
    .contact-form-card { padding: 24px; }
    .contact-cta-content h2 { font-size: 32px; }
}