﻿/* ============================================
   AD Remodeling & Customs — Vanilla CSS
   No Tailwind, no external JS frameworks
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --ad-purple: #4A2F5B;
    --ad-midnight: #1A0F21;
    --ad-brass: #C2A46B;
    --ad-charcoal: #121212;
    --ad-off-white: #F6F5F2;
    --ad-dark-card: #1E1E1E;
    --ad-radius: 0.75rem;
    --ad-radius-lg: 1rem;
    --ad-radius-xl: 1.5rem;
    --ad-max-w: 80rem;
    --ad-transition: 250ms ease;
}

/* --- Reset & Base (dark theme) --- */
.ad-page {
    font-family: 'Sora', 'Manrope', sans-serif;
    background: var(--ad-charcoal);
    color: var(--ad-off-white);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

.ad-page *,
.ad-page *::before,
.ad-page *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.ad-page a {
    color: inherit;
    text-decoration: none;
}

.ad-page ul {
    list-style: none;
}

.ad-page img {
    max-width: 100%;
    display: block;
}

/* --- Light theme overrides --- */
.ad-page.ad-light {
    background: var(--ad-off-white);
    color: #1f2326;
}

.ad-page.ad-light .ad-hero {
    background: var(--ad-off-white);
}

.ad-page.ad-light .ad-hero-text h2 {
    color: #1f2326;
}

.ad-page.ad-light .ad-hero-text h2 span {
    color: var(--ad-brass);
}

.ad-page.ad-light .ad-hero-text p {
    color: rgba(31, 35, 38, 0.7);
}

.ad-page.ad-light .ad-hero-tag {
    color: var(--ad-purple);
}

.ad-page.ad-light .ad-btn-primary {
    background: var(--ad-midnight);
    color: var(--ad-off-white);
}

.ad-page.ad-light .ad-card {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 32px rgba(31, 35, 38, 0.05);
}

.ad-page.ad-light .ad-card h3 {
    color: #1f2326;
}

.ad-page.ad-light .ad-card p {
    color: rgba(31, 35, 38, 0.6);
}

.ad-page.ad-light .ad-cards-section {
    background: var(--ad-off-white);
}

.ad-page.ad-light .ad-process {
    background: var(--ad-off-white);
}

.ad-page.ad-light .ad-process h2 {
    color: #1f2326;
}

.ad-page.ad-light .ad-process-desc {
    color: rgba(31, 35, 38, 0.6);
}

.ad-page.ad-light .ad-step h3 {
    color: #1f2326;
}

.ad-page.ad-light .ad-step p {
    color: rgba(31, 35, 38, 0.6);
}

.ad-page.ad-light .ad-contact {
    background: #fff;
}

.ad-page.ad-light .ad-contact h2 {
    color: #1f2326;
}

.ad-page.ad-light .ad-contact h2 span {
    color: var(--ad-purple);
}

.ad-page.ad-light .ad-contact-desc {
    color: rgba(31, 35, 38, 0.7);
}

.ad-page.ad-light .ad-contact-detail span:last-child {
    color: #1f2326;
}

.ad-page.ad-light .ad-contact-icon {
    background: rgba(74, 47, 91, 0.1);
    color: var(--ad-purple);
}

.ad-page.ad-light .ad-form-box {
    background: var(--ad-off-white);
    border-color: rgba(0, 0, 0, 0.08);
}

.ad-page.ad-light .ad-form label {
    color: #1f2326;
}

.ad-page.ad-light .ad-form input,
.ad-page.ad-light .ad-form textarea {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.1);
    color: #1f2326;
}

.ad-page.ad-light .ad-file-drop {
    border-color: rgba(0, 0, 0, 0.1);
    background: #fff;
}

.ad-page.ad-light .ad-file-drop .material-symbols-outlined {
    color: rgba(0, 0, 0, 0.25);
}

.ad-page.ad-light .ad-file-drop p {
    color: rgba(31, 35, 38, 0.5);
}

.ad-page.ad-light .ad-submit-btn {
    background: var(--ad-midnight);
}

.ad-page.ad-light .ad-hero-img-overlay {
    background: linear-gradient(to right, var(--ad-off-white), transparent);
}

/* --- NFC Banner --- */
.ad-nfc {
    background: var(--ad-brass);
    padding: 0.5rem 1rem;
    text-align: center;
}

.ad-nfc p {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--ad-midnight);
    margin: 0;
}

.ad-page.ad-light .ad-nfc p {
    color: #fff;
}

/* --- Sticky Header --- */
.ad-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--ad-midnight);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ad-header-inner {
    max-width: var(--ad-max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ad-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ad-logo .material-symbols-outlined {
    color: var(--ad-brass);
    font-size: 1.875rem;
}

.ad-logo h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ad-off-white);
    letter-spacing: -0.02em;
}

.ad-logo h1 span {
    color: var(--ad-brass);
}

.ad-header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.ad-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

.ad-nav a {
    color: rgba(246, 245, 242, 0.7);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: color var(--ad-transition);
}

.ad-nav a:hover {
    color: var(--ad-brass);
}

.ad-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ad-icon-btn {
    padding: 0.625rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--ad-off-white);
    border: none;
    cursor: pointer;
    transition: background var(--ad-transition);
    display: flex;
}

.ad-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.ad-header-cta {
    background: var(--ad-brass);
    color: var(--ad-midnight);
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: filter var(--ad-transition);
    box-shadow: 0 4px 16px rgba(194, 164, 107, 0.1);
}

.ad-header-cta:hover {
    filter: brightness(1.1);
}

/* --- Hero Section --- */
.ad-hero {
    position: relative;
    overflow: hidden;
    background: var(--ad-charcoal);
}

.ad-hero-inner {
    max-width: var(--ad-max-w);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 650px;
}

.ad-hero-text {
    flex: 1;
    padding: 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.ad-hero-tag {
    color: var(--ad-brass);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.ad-hero-text h2 {
    color: var(--ad-off-white);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.ad-hero-text h2 span {
    color: var(--ad-purple);
}

.ad-hero-text p {
    color: rgba(246, 245, 242, 0.7);
    font-size: 1.125rem;
    max-width: 36rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.ad-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.ad-btn-primary {
    background: var(--ad-purple);
    color: var(--ad-off-white);
    padding: 1rem 2.5rem;
    border-radius: var(--ad-radius);
    font-weight: 700;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: all var(--ad-transition);
    display: inline-block;
}

.ad-btn-primary:hover {
    box-shadow: 0 8px 32px rgba(74, 47, 91, 0.3);
}

.ad-btn-brass {
    background: var(--ad-brass);
    color: var(--ad-midnight);
    padding: 1rem 2.5rem;
    border-radius: var(--ad-radius);
    font-weight: 700;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: all var(--ad-transition);
    display: inline-block;
}

.ad-btn-brass:hover {
    filter: brightness(1.05);
}

.ad-hero-img {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.ad-hero-img-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.ad-hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--ad-charcoal), rgba(18, 18, 18, 0.4), transparent);
}

/* --- Feature Cards --- */
.ad-cards-section {
    max-width: var(--ad-max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    padding-bottom: 5rem;
}

.ad-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.ad-card {
    background: var(--ad-dark-card);
    padding: 2rem;
    border-radius: var(--ad-radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: transform var(--ad-transition), box-shadow var(--ad-transition);
}

.ad-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.ad-card-icon {
    background: rgba(194, 164, 107, 0.1);
    padding: 0.75rem;
    border-radius: var(--ad-radius);
    color: var(--ad-brass);
    flex-shrink: 0;
    display: flex;
}

.ad-card-icon .material-symbols-outlined {
    font-size: 1.875rem;
}

.ad-card h3 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--ad-off-white);
}

.ad-card p {
    color: rgba(246, 245, 242, 0.6);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* --- Services Section --- */
.ad-services {
    background: var(--ad-midnight);
    padding: 6rem 1.5rem;
    overflow: hidden;
}

.ad-services-inner {
    max-width: var(--ad-max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.ad-services h2 {
    color: var(--ad-off-white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.ad-service-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ad-service-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(246, 245, 242, 0.9);
    font-size: 1.125rem;
}

.ad-service-list .material-symbols-outlined {
    color: var(--ad-brass);
}

.ad-guarantee {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--ad-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ad-guarantee .ad-label {
    color: var(--ad-brass);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.ad-guarantee .ad-quote {
    color: rgba(246, 245, 242, 0.8);
    font-size: 0.875rem;
    font-style: italic;
    line-height: 1.7;
}

/* --- Portfolio Mosaic --- */
.ad-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    min-height: 400px;
}

.ad-mosaic-item {
    border-radius: var(--ad-radius-lg);
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 180px;
}

.ad-mosaic-item.ad-tall {
    grid-row: span 2;
}

/* --- Process Section --- */
.ad-process {
    background: var(--ad-charcoal);
    padding: 6rem 1.5rem;
}

.ad-process-header {
    max-width: var(--ad-max-w);
    margin: 0 auto;
    text-align: center;
    margin-bottom: 4rem;
}

.ad-process h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ad-off-white);
    margin-bottom: 1rem;
}

.ad-process-desc {
    color: rgba(246, 245, 242, 0.6);
    max-width: 40rem;
    margin: 0 auto;
}

.ad-steps {
    max-width: 60rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.ad-step {
    text-align: center;
    position: relative;
}

.ad-step-icon {
    width: 5rem;
    height: 5rem;
    background: var(--ad-purple);
    color: var(--ad-off-white);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform var(--ad-transition);
}

.ad-step:hover .ad-step-icon {
    transform: scale(1.1);
}

.ad-step-icon .material-symbols-outlined {
    font-size: 1.875rem;
}

.ad-step h3 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--ad-off-white);
}

.ad-step p {
    color: rgba(246, 245, 242, 0.6);
    padding: 0 1rem;
}

/* --- Contact Section --- */
.ad-contact {
    background: var(--ad-dark-card);
    padding: 6rem 1.5rem;
}

.ad-contact-inner {
    max-width: var(--ad-max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem;
}

.ad-contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ad-off-white);
    margin-bottom: 1.5rem;
}

.ad-contact h2 span {
    color: var(--ad-purple);
}

.ad-contact-desc {
    color: rgba(246, 245, 242, 0.7);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.ad-contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ad-contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ad-contact-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(74, 47, 91, 0.2);
    color: var(--ad-brass);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ad-contact-detail span:last-child {
    font-weight: 500;
}

.ad-form-box {
    background: var(--ad-charcoal);
    padding: 2.5rem;
    border-radius: var(--ad-radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.ad-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ad-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.ad-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(246, 245, 242, 0.8);
    margin-bottom: 0.5rem;
}

.ad-form input,
.ad-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--ad-off-white);
    border-radius: var(--ad-radius);
    padding: 0.875rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color var(--ad-transition), box-shadow var(--ad-transition);
}

.ad-form input:focus,
.ad-form textarea:focus {
    border-color: var(--ad-purple);
    box-shadow: 0 0 0 3px rgba(74, 47, 91, 0.2);
}

.ad-form textarea {
    resize: vertical;
}

.ad-file-drop {
    display: flex;
    justify-content: center;
    padding: 1.25rem 1.5rem;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: var(--ad-radius);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    text-align: center;
    transition: border-color var(--ad-transition);
}

.ad-file-drop:hover {
    border-color: var(--ad-brass);
}

.ad-file-drop .material-symbols-outlined {
    color: rgba(246, 245, 242, 0.3);
    font-size: 2.5rem;
}

.ad-file-drop p {
    font-size: 0.875rem;
    color: rgba(246, 245, 242, 0.5);
    margin-top: 0.25rem;
}

.ad-submit-btn {
    width: 100%;
    background: var(--ad-purple);
    color: var(--ad-off-white);
    padding: 1rem;
    border-radius: var(--ad-radius);
    font-weight: 700;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(74, 47, 91, 0.2);
    transition: all var(--ad-transition);
}

.ad-submit-btn:hover {
    box-shadow: 0 8px 32px rgba(74, 47, 91, 0.4);
    transform: translateY(-2px);
}

/* --- Footer --- */
.ad-footer {
    background: var(--ad-midnight);
    padding: 4rem 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ad-footer-inner {
    max-width: var(--ad-max-w);
    margin: 0 auto;
}

.ad-footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 3rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ad-footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ad-footer-logo .material-symbols-outlined {
    color: var(--ad-brass);
    font-size: 1.875rem;
}

.ad-footer-logo span {
    color: var(--ad-off-white);
    font-size: 1.5rem;
    font-weight: 700;
}

.ad-footer-logo .ad-brass-text {
    color: var(--ad-brass);
}

.ad-footer-social {
    display: flex;
    gap: 2.5rem;
}

.ad-footer-social a {
    color: rgba(246, 245, 242, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: color var(--ad-transition);
}

.ad-footer-social a:hover {
    color: var(--ad-brass);
}

.ad-footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: rgba(246, 245, 242, 0.5);
    font-size: 0.75rem;
}

.ad-footer-links {
    display: flex;
    gap: 1.5rem;
}

.ad-footer-links a {
    color: rgba(246, 245, 242, 0.5);
    transition: color var(--ad-transition);
}

.ad-footer-links a:hover {
    color: #fff;
}

/* --- Responsive Breakpoints --- */
@media (min-width: 768px) {
    .ad-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ad-form-row {
        grid-template-columns: 1fr 1fr;
    }

    .ad-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .ad-footer-top {
        flex-direction: row;
        justify-content: space-between;
    }

    .ad-footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .ad-nav {
        display: flex;
    }

    .ad-hero-inner {
        flex-direction: row;
        align-items: stretch;
    }

    .ad-hero-text {
        padding: 6rem 1.5rem;
    }

    .ad-hero-img {
        min-height: auto;
    }

    .ad-services-inner {
        grid-template-columns: 1fr 2fr;
    }

    .ad-contact-inner {
        grid-template-columns: 1fr 1fr;
    }

    .ad-mosaic {
        min-height: 600px;
    }
}