/**
 * Page-Specific Styles
 * Styles for individual pages: hero, about, FAQ, etc.
 */

/* Hero Section (Services, Gallery pages) */
.hero {
    position: relative;
    width: 100%;
    height: 100px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem clamp(1rem, 4vw, 3rem);
    text-align: left;
}

.hero h1 {
    position: relative;
    color: #2a2a2a;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero p {
    position: relative;
    color: #666;
    font-size: 1rem;
    margin-top: 0.5rem;
    font-weight: 300;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .hero {
        height: 80px;
        padding: 1.5rem 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }
}

/* About Page */
.ae-about-banner {
    position: relative;
    width: 100%;
    height: 130px;
    background-image: url("../img/car-on-epoxy.jpg");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.ae-about-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.ae-about-banner-inner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    padding: 0 clamp(16px, 4vw, 40px);
    text-align: left;
}

.ae-about-banner-title {
    margin: 0;
    font-size: clamp(1.5rem, 1.8vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
}

/* Desktop-specific banner styling (min-width: 769px) */
@media (min-width: 769px) {
    .ae-about-banner {
        background-position: center 60%;
    }
}

/* Mobile banner styling (max-width: 768px) */
@media (max-width: 768px) {
    .ae-about-banner {
        background-position: center;
    }
}

.section-heading {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.section-heading svg {
    width: 2rem;
    height: 2rem;
    margin-right: 0.5rem;
    color: var(--accent-orange);
    flex-shrink: 0;
}

@media (max-width: 500px) {
    .section-heading {
        font-size: 1.2rem;
        gap: 0.4rem;
    }
    .section-heading svg {
        width: 30px;
        height: 30px;
    }
}

/* Who We Are Section */
.who-we-are {
    background: #f9f9f9;
    padding: 4rem 1rem;
}

.ae-who-shell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.who-image {
    flex: 1 1 45%;
    text-align: center;
}

.who-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.who-text {
    flex: 1 1 50%;
}

.who-text h2 {
    font-size: 2.2rem;
    color: #000;
    margin-bottom: 1rem;
    text-align: left;
}

.who-text p {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.who-text .btn {
    display: inline-block;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.who-text .btn:hover {
    background: var(--accent-gold);
    color: #fff;
}

@media (max-width: 1150px) {
    .who-container {
        flex-direction: column;
        text-align: center;
    }
    .who-text h2 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .who-we-are {
        padding: 1.5rem 1rem;
    }

    .ae-who-shell {
        gap: 1.5rem;
    }
}

/* Owner Note */
.owner-note {
    background: rgba(255, 255, 255, 0.45);
    color: #1a1a1a;
    padding: 2rem 2.25rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 720px;
    margin: 2rem auto 0;
}

.owner-note::before {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background: var(--accent-orange);
    margin-bottom: 1rem;
}

.owner-note h3 {
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3a3a3a;
}

.note-body {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #333;
}

.note-signature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    line-height: 1.4;
    font-style: italic;
    color: #3d3d3d;
}

.owner-signature-img {
    width: 95px;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    opacity: 0.9;
}

.owner-note a {
    color: var(--accent-brown);
    text-decoration: none;
    border-bottom: 1px solid rgba(180, 83, 9, 0.4);
}

.owner-note a:hover {
    border-bottom-color: var(--accent-brown);
}

@media (max-width: 600px) {
    .owner-note {
        padding: 1.5rem 1.25rem;
    }
    .owner-note h3 {
        font-size: 1.05rem;
    }
}

/* Call to Action */
.call-to-action {
    background-image: linear-gradient(90deg, #2e2e2e, #000000);
    color: #fff;
    text-align: center;
    padding: 4rem 1rem;
}

.call-to-action h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.call-to-action p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
/* FAQ Page */
.faq-section {
    padding: 3rem 2rem;
    background: #ffffff;
}

.faq-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-item summary {
    position: relative;
    padding: 1.25rem 3rem 1.25rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2a2a2a;
    cursor: pointer;
    outline: none;
    list-style: none;
    user-select: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-item summary:hover {
    background-color: #f0f0f0;
    color: var(--accent-gold);
}

.faq-item summary::-webkit-details-marker,
.faq-item summary::marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
    transform: translateY(-50%);
}

.faq-answer {
    padding: 0 1.5rem;
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    background-color: #ffffff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding-top 0.4s ease, padding-bottom 0.4s ease;
}

.faq-item[open] .faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 2rem 1rem;
    }

    .faq-item summary {
        padding: 1rem 2.5rem 1rem 1rem;
        font-size: 1rem;
    }

    .faq-item summary::after {
        right: 1rem;
    }

    .faq-answer {
        padding: 0 1rem;
    }

    .faq-item[open] .faq-answer {
        padding: 0 1rem 1rem 1rem;
    }
}
    .hero p {
        color: #fff;
    }
}

/* Request Quote Page */
.quote-section {
    background: #f9f9f9;
    padding: 4rem 2rem;
    min-height: 60vh;
    margin-top: 6rem;
}

.quote-page {
    padding-top: 5rem;
}

.quote-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
    justify-content: center;
}

.quote-container-simple {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: #e8e8e8;
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.quote-container-simple h2 {
    font-size: 1.5rem;
    color: #c7a252;
    margin-bottom: 2rem;
}

.quote-text {
    flex: 1 1 40%;
    min-width: 280px;
}

.quote-text h2 {
    font-size: 1.5rem;
    color: #c7a252;
    margin-bottom: 1rem;
}

.quote-text p {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.contact-info {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
}

.contact-info strong {
    display: inline-block;
    min-width: 80px;
    color: #c7a252;
}

.quote-form {
    flex: 1 1 50%;
    min-width: 280px;
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.quote-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #444;
}

.quote-form input,
.quote-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.quote-form input:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: #c7a252;
}

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

.quote-form button[type="submit"] {
    display: inline-block;
    background: transparent;
    border: 2px solid #c7a252;
    color: #c7a252;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quote-form button[type="submit"]:hover {
    background: #c7a252;
    color: #fff;
}

.quote-form-centered {
    background: linear-gradient(to bottom, #fafafa 0%, #ffffff 10%);
    padding: 3rem 2.5rem;
    border-radius: 4px;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.12),
        0 1px 2px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(0, 0, 0, 0.06);
    text-align: left;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.quote-form-centered::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2.5rem;
    right: 2.5rem;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(199, 162, 82, 0.2) 20%, rgba(199, 162, 82, 0.2) 80%, transparent);
}

.quote-form-centered label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #2a2a2a;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.quote-form-centered .required {
    color: #d32f2f;
    margin-left: 0.2rem;
}

.quote-form-centered .form-row {
    display: flex;
    gap: 1rem;
}

.quote-form-centered .form-row input {
    flex: 1;
}

.quote-form-centered fieldset {
    border: none;
    padding: 0;
    margin: 0 0 1.75rem 0;
}

.quote-form-centered legend {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2a2a2a;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    padding: 0;
}

.quote-form-centered .radio-group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.quote-form-centered .radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.1rem 0;
}

.quote-form-centered .radio-option input[type="radio"] {
    width: auto;
    margin: 0 0.75rem 0 0;
    cursor: pointer;
    accent-color: #c7a252;
}

.quote-form-centered .radio-option span {
    font-size: 1rem;
    font-weight: 400;
}

.quote-form-centered .file-upload-section {
    margin-bottom: 1.75rem;
}

.quote-form-centered .file-upload-section > label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2a2a2a;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.quote-form-centered .file-upload-box {
    position: relative;
    border: 2px dashed #c7a252;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background: rgba(199, 162, 82, 0.03);
    transition: all 0.3s ease;
    cursor: pointer;
}

.quote-form-centered .file-upload-box:hover {
    background: rgba(199, 162, 82, 0.08);
    border-color: #b8954a;
}

.quote-form-centered .file-upload-box input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    margin: 0;
    padding: 0;
    border: none;
}

.quote-form-centered .upload-prompt {
    pointer-events: none;
}

.quote-form-centered .upload-prompt svg {
    color: #c7a252;
    margin-bottom: 0.75rem;
}

.quote-form-centered .upload-prompt p {
    margin: 0.25rem 0;
    color: #2a2a2a;
}

.quote-form-centered .upload-prompt .upload-hint {
    font-size: 0.85rem;
    color: #666;
}

.quote-form-centered input,
.quote-form-centered textarea {
    width: 100%;
    padding: 0.6rem 0.5rem;
    border: none;
    border-bottom: 1.5px solid #d0d0d0;
    background: transparent;
    font-size: 1rem;
    margin-bottom: 1.75rem;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.quote-form-centered input:focus,
.quote-form-centered textarea:focus {
    outline: none;
    border-bottom-color: #c7a252;
}

.quote-form-centered textarea {
    resize: vertical;
    min-height: 100px;
    border: 1.5px solid #d0d0d0;
    padding: 0.75rem;
    margin-top: 0.25rem;
}

.quote-form-centered textarea:focus {
    border-color: #c7a252;
}

.quote-form-centered button[type="submit"] {
    display: inline-block;
    background: transparent;
    border: 2px solid #c7a252;
    color: #c7a252;
    padding: 0.75rem 2rem;
    border-radius: 2px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.quote-form-centered button[type="submit"]:hover {
    background: #c7a252;
    color: #fff;
    box-shadow: 0 2px 8px rgba(199, 162, 82, 0.3);
}

/* Color Showcase (Contact Page) */
.color-showcase {
    flex: 1 1 50%;
    min-width: 280px;
    background: #fff;
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.showcase-item {
    display: flex;
    width: 100%;
    aspect-ratio: 1;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .quote-section {
        padding: 3rem 1.5rem;
    }

    .quote-page {
        padding-top: 4rem;
    }

    .quote-container {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 0;
        gap: 2rem;
    }

    .quote-text,
    .quote-form,
    .color-showcase {
        flex: 1 1 100%;
    }

    .quote-form,
    .color-showcase {
        margin-top: 0;
    }

    .showcase-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Gallery Page */
.gallery-section {
    background: #fff;
    display: flex;
    justify-content: center;
    padding: 0;
}

.gallery-container {
    max-width: 90%;
    width: 100%;
    background: #f0f0f0;
    padding: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    gap: 0.5rem;
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gallery fallback */
.gallery-section .uploads-coming-soon {
    text-align: center;
    max-width: 600px;
    width: 100%;
    margin: 4rem auto;
}

.uploads-coming-soon h2 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.uploads-coming-soon p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 0;
    }

    .gallery-container {
        background: transparent;
        padding: 1rem;
    }

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

    .gallery-item {
        flex-direction: column;
    }

    .uploads-coming-soon h2 {
        font-size: 2rem;
    }

    .uploads-coming-soon p {
        font-size: 1.1rem;
    }
}

/* Privacy Policy Link (Quote Form) */
.privacy-link {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #888;
    text-align: center;
}

.privacy-link a {
    color: #888;
    text-decoration: underline;
}

.privacy-link a:hover {
    color: var(--accent-gold);
}

/* Privacy Policy Page */
.privacy-section {
    background: #fff;
    padding: 3rem 2rem;
}

.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    color: #333;
    line-height: 1.8;
}

.privacy-updated {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 2rem;
}

.privacy-container h2 {
    font-size: 1.3rem;
    color: #2a2a2a;
    margin: 2rem 0 0.75rem;
}

.privacy-container ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-container li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .privacy-section {
        padding: 2rem 1rem;
    }
}
