/* ============================================
   DR.SIGNS — Custom Signage & Display Solutions
   Plum + Amber | Fresh & Airy | North Richland, TX
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #3D2B3D;
    background-color: #FFFAF5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
    color: #3D2B3D;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: #6B3A6E;
    color: #FFFAF5;
    padding: 8px 16px;
    border-radius: 0 0 8px 8px;
    z-index: 1000;
    font-weight: 600;
}
.skip-link:focus {
    top: 0;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: #6B3A6E;
    color: #FFFAF5;
    border-color: #6B3A6E;
}
.btn-primary:hover,
.btn-primary:focus-visible {
    background: #562D56;
    border-color: #562D56;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 58, 110, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: #FFFAF5;
    border-color: rgba(255, 250, 245, 0.6);
}
.btn-outline-light:hover,
.btn-outline-light:focus-visible {
    background: rgba(255, 250, 245, 0.12);
    border-color: #FFFAF5;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

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

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 250, 245, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(107, 58, 110, 0.08);
    transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
    box-shadow: 0 4px 32px rgba(107, 58, 110, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: #3D2B3D;
    letter-spacing: -0.02em;
}

.logo-text {
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #3D2B3D;
    transition: color 0.2s ease;
    position: relative;
}
.nav-menu a:not(.btn):hover {
    color: #6B3A6E;
}
.nav-menu a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F5C77E;
    transition: width 0.3s ease;
}
.nav-menu a:not(.btn):hover::after {
    width: 100%;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}
.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #3D2B3D;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #3D2B3D;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/31763620/pexels-photo-31763620.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(61, 43, 61, 0.88) 0%,
        rgba(107, 58, 110, 0.78) 50%,
        rgba(61, 43, 61, 0.85) 100%
    );
    z-index: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 199, 126, 0.15);
    border: 1px solid rgba(245, 199, 126, 0.35);
    color: #F5C77E;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #FFFAF5;
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.hero-title em {
    color: #F5C77E;
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: rgba(255, 250, 245, 0.8);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #F5C77E;
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 250, 245, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 250, 245, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 250, 245, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ---------- SECTION COMMON ---------- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6B3A6E;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #3D2B3D;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: #6B526B;
    line-height: 1.7;
}

/* ---------- SERVICES ---------- */
.services {
    padding: 100px 0;
    background: #FFFAF5;
}

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

.service-card {
    background: #FFFFFF;
    border: 1px solid rgba(107, 58, 110, 0.08);
    border-radius: 16px;
    padding: 36px 28px;
    transition: all 0.35s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(107, 58, 110, 0.12);
    border-color: rgba(245, 199, 126, 0.4);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(107, 58, 110, 0.08), rgba(245, 199, 126, 0.15));
    border-radius: 14px;
    color: #6B3A6E;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #3D2B3D;
}

.service-desc {
    font-size: 0.9375rem;
    color: #6B526B;
    line-height: 1.7;
}

/* ---------- WORK / GALLERY ---------- */
.work {
    padding: 100px 0;
    background: linear-gradient(180deg, #FFF8EF 0%, #FFFAF5 100%);
}

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

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3 / 2;
}

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

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-caption {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(61, 43, 61, 0.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-caption span:first-child {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #FFFAF5;
}

.caption-tag {
    font-size: 0.8125rem;
    color: #F5C77E;
    font-weight: 500;
    margin-top: 4px;
}

/* ---------- ABOUT ---------- */
.about {
    padding: 100px 0;
    background: #FFFAF5;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 24px 48px rgba(107, 58, 110, 0.15);
}

.about-image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #F5C77E, #E8A84C);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.5;
}

.about-content {
    max-width: 520px;
}

.about-text {
    font-size: 1.0625rem;
    color: #6B526B;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9375rem;
    color: #3D2B3D;
}

.about-features svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #6B3A6E;
}

/* ---------- PROCESS ---------- */
.process {
    padding: 100px 0;
    background: linear-gradient(135deg, #3D2B3D 0%, #562D56 100%);
    color: #FFFAF5;
}

.process .section-label {
    color: #F5C77E;
}

.process .section-title {
    color: #FFFAF5;
}

.process .section-subtitle {
    color: rgba(255, 250, 245, 0.65);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.process-step {
    padding: 0 20px;
    position: relative;
}

.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(245, 199, 126, 0.2);
    line-height: 1;
    margin-bottom: 16px;
}

.step-title {
    font-size: 1.1875rem;
    font-weight: 700;
    color: #FFFAF5;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.9375rem;
    color: rgba(255, 250, 245, 0.65);
    line-height: 1.7;
}

.step-connector {
    position: absolute;
    top: 28px;
    right: -10px;
    width: 20px;
    height: 2px;
    background: rgba(245, 199, 126, 0.3);
}
.step-connector::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(245, 199, 126, 0.4);
    border-top: 2px solid rgba(245, 199, 126, 0.4);
    transform: rotate(45deg);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/13532891/pexels-photo-13532891.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=600');
    background-size: cover;
    background-position: center;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(107, 58, 110, 0.92), rgba(61, 43, 61, 0.9));
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #FFFAF5;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 250, 245, 0.75);
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ---------- CONTACT ---------- */
.contact {
    padding: 100px 0;
    background: #FFFAF5;
}

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

.contact-info {
    max-width: 480px;
}

.contact-desc {
    font-size: 1.0625rem;
    color: #6B526B;
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(107, 58, 110, 0.08), rgba(245, 199, 126, 0.12));
    border-radius: 12px;
    color: #6B3A6E;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #3D2B3D;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9375rem;
    color: #6B526B;
    line-height: 1.6;
}

.contact-item a {
    color: #6B3A6E;
    transition: color 0.2s ease;
}
.contact-item a:hover {
    color: #F5C77E;
    text-decoration: underline;
}

.contact-hours {
    background: linear-gradient(135deg, #6B3A6E, #562D56);
    border-radius: 16px;
    padding: 24px 28px;
    color: #FFFAF5;
}
.contact-hours strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #F5C77E;
    margin-bottom: 8px;
}
.contact-hours p {
    font-size: 0.9375rem;
    color: rgba(255, 250, 245, 0.8);
    line-height: 1.7;
}

/* Form */
.contact-form-wrap {
    background: #FFFFFF;
    border: 1px solid rgba(107, 58, 110, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 16px 48px rgba(107, 58, 110, 0.08);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #3D2B3D;
}

.form-note {
    font-size: 0.875rem;
    color: #6B526B;
    margin-bottom: 28px;
}

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

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #3D2B3D;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    color: #3D2B3D;
    background: #FFFAF5;
    border: 1.5px solid rgba(107, 58, 110, 0.15);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #6B3A6E;
    box-shadow: 0 0 0 3px rgba(107, 58, 110, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #A0889A;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 32px 20px;
    background: linear-gradient(135deg, rgba(107, 58, 110, 0.06), rgba(245, 199, 126, 0.1));
    border-radius: 12px;
    margin-top: 16px;
}
.form-success svg {
    color: #6B3A6E;
}
.form-success strong {
    font-size: 1.0625rem;
    color: #3D2B3D;
}
.form-success p {
    font-size: 0.9375rem;
    color: #6B526B;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: #3D2B3D;
    color: rgba(255, 250, 245, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 250, 245, 0.1);
}

.footer-brand .logo {
    margin-bottom: 16px;
    color: #FFFAF5;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #F5C77E;
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 250, 245, 0.6);
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: #FFFAF5;
}

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.7;
}
.footer-contact a {
    color: rgba(255, 250, 245, 0.6);
    transition: color 0.2s ease;
}
.footer-contact a:hover {
    color: #F5C77E;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 250, 245, 0.4);
}

/* ---------- REVEAL ANIMATIONS (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .step-connector {
        display: none;
    }
    .about-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: #FFFAF5;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 24px;
        box-shadow: -8px 0 32px rgba(61, 43, 61, 0.15);
        transform: translateX(100%);
        transition: transform 0.35s ease;
        z-index: 105;
    }
    .nav-menu.open {
        transform: translateX(0);
    }
    .nav-menu a {
        font-size: 1.0625rem;
    }
    .nav-menu .btn {
        margin-top: 8px;
    }

    .hero-content {
        padding: 100px 24px 60px;
    }
    .hero-stats {
        gap: 24px;
    }
    .stat-divider {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-caption {
        opacity: 1;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-image img {
        height: 400px;
    }
    .about-image-accent {
        display: none;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-form-wrap {
        padding: 28px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        justify-content: center;
    }
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Mobile menu overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(61, 43, 61, 0.4);
    z-index: 104;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}
