/* ==========================================================================
   SUNLEATHER - Contact Page Stylesheet
   ========================================================================== */

/* Contact Hero Section */
.contact-hero {
    position: relative;
    height: 50vh;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.contact-hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-hero-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 30%;
    transform: scale(1);
    animation: slowZoom 25s infinite alternate ease-in-out;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(9, 9, 10, 0.92) 0%, rgba(9, 9, 10, 0.65) 50%, rgba(9, 9, 10, 0.95) 100%);
    z-index: 2;
}

.contact-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin-left: max(5vw, 24px);
    padding: 0 24px;
    margin-top: 60px; /* offset glassnav */
}

.contact-hero-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--color-brass-primary);
    margin-bottom: 16px;
}

.contact-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-hero-description {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    color: var(--text-muted);
    max-width: 540px;
    font-weight: 300;
}

/* Contact Grid Layout */
.contact-form-section {
    background-color: var(--bg-obsidian);
    border-bottom: 1px solid var(--border-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: flex-start;
}

/* Left Column Info Blocks */
.contact-info-col {
    display: flex;
    flex-direction: column;
}

.info-intro {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.info-block {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--color-brass-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.info-block:hover .info-icon-wrap {
    background-color: var(--color-brass-primary);
    color: #000;
    border-color: var(--color-brass-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.info-icon-wrap svg {
    width: 22px;
    height: 22px;
}

.info-details h4 {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 6px;
    font-family: var(--font-serif);
}

.info-details p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.info-details p strong {
    color: var(--text-primary);
}

.info-note {
    font-size: 0.8rem;
    color: var(--color-brass-primary);
    display: inline-block;
    margin-top: 6px;
    letter-spacing: 0.02em;
}

/* Right Column Contact Form */
.contact-form-col {
    width: 100%;
}

.form-wrapper {
    background-color: var(--bg-charcoal);
    border: 1px solid var(--border-light);
    padding: 48px 40px;
    border-radius: 2px;
    box-shadow: var(--shadow-premium);
}

.form-wrapper h3 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-family: var(--font-serif);
}

.form-subtext {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.5;
}

.contact-page-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.contact-page-form label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dark);
}

.contact-page-form input,
.contact-page-form textarea,
.contact-page-form select {
    background-color: var(--bg-obsidian);
    border: 1px solid var(--border-light);
    border-radius: 2px;
    padding: 14px 16px;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition-fast);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    width: 100%;
}

.contact-page-form input:focus,
.contact-page-form textarea:focus,
.contact-page-form select:focus {
    border-color: var(--color-brass-primary);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.1);
}

/* Custom Select Dropdown Arrow styling */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--text-muted);
    pointer-events: none;
    transition: var(--transition-fast);
}

.select-wrapper:hover::after {
    border-top-color: var(--color-brass-primary);
}

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

.btn-submit-contact {
    width: 100%;
    padding: 16px;
    margin-top: 12px;
}

/* FAQ Accordion Section */
.contact-faq-section {
    background-color: var(--bg-charcoal);
    border-bottom: 1px solid var(--border-light);
}

.faq-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 56px auto;
}

.faq-intro h2 {
    margin-top: 8px;
}

.faq-accordion-grid {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-obsidian);
    border: 1px solid var(--border-light);
    border-radius: 2px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

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

.faq-question {
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    padding: 24px;
    color: var(--text-primary);
    font-family: var(--font-serif);
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
    outline: none;
}

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

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--color-brass-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-icon svg {
    width: 20px;
    height: 20px;
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    padding: 0 24px;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, margin-top 0.4s ease;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    padding-bottom: 24px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .contact-info-col {
        max-width: 600px;
        margin: 0 auto;
    }

    .form-wrapper {
        padding: 40px 28px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 45vh;
        min-height: 350px;
    }

    .contact-hero-content {
        margin-left: 0;
        padding: 0 16px;
    }

    .contact-hero-title {
        font-size: 2.2rem;
    }

    .contact-hero-description {
        font-size: 0.95rem;
    }

    .faq-question {
        padding: 20px;
        font-size: 1.05rem;
    }

    .faq-answer {
        padding: 0 20px;
    }
}
