/* ============================================
   Shoe Repair and More — Marietta, GA
   Custom Styles
   ============================================ */

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

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

body {
    font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #3D1F4D;
    background-color: #FFFBF5;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Lora', Georgia, serif;
    line-height: 1.3;
    color: #3D1F4D;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 251, 245, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(123, 45, 142, 0.1);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 30px rgba(123, 45, 142, 0.1);
}

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

/* --- Logo --- */
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo-text {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #3D1F4D;
    line-height: 1.2;
}

.logo-accent {
    color: #7B2D8E;
}

.logo-footer .logo-text {
    color: #FFFBF5;
}

.logo-footer .logo-accent {
    color: #F0C060;
}

/* --- Navigation --- */
.nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-menu li a {
    padding: 0.5rem 0.875rem;
    font-size: 0.938rem;
    font-weight: 600;
    color: #3D1F4D;
    border-radius: 100px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-menu li a:hover {
    background: rgba(123, 45, 142, 0.08);
    color: #7B2D8E;
}

.nav-cta {
    background: #7B2D8E !important;
    color: #FFFBF5 !important;
    padding: 0.5rem 1.125rem !important;
    font-weight: 700 !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
}

.nav-cta:hover {
    background: #6A2478 !important;
    color: #FFFBF5 !important;
    transform: translateY(-1px);
}

/* --- Nav Toggle (Mobile) --- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle-bar {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #3D1F4D;
    border-radius: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(61, 31, 77, 0.92) 0%,
        rgba(123, 45, 142, 0.82) 50%,
        rgba(61, 31, 77, 0.88) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 8rem 1.5rem 5rem;
    max-width: 780px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 137, 10, 0.15);
    border: 1px solid rgba(212, 137, 10, 0.4);
    color: #F0C060;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
}

.hero-headline {
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    font-weight: 600;
    color: #FFFBF5;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.hero-headline em {
    color: #F0C060;
    font-style: normal;
}

.hero-sub {
    font-size: clamp(1.063rem, 2vw, 1.25rem);
    color: rgba(255, 251, 245, 0.85);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.875rem 1.75rem;
    border-radius: 100px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary {
    background: #D4890A;
    color: #3D1F4D;
    border-color: #D4890A;
}

.btn-primary:hover {
    background: #C47A08;
    border-color: #C47A08;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 137, 10, 0.35);
}

.btn-secondary {
    background: transparent;
    color: #FFFBF5;
    border-color: rgba(255, 251, 245, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 251, 245, 0.1);
    border-color: #FFFBF5;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: #FFFBF5;
    border-color: rgba(255, 251, 245, 0.6);
}

.btn-outline-light:hover {
    background: #FFFBF5;
    color: #3D1F4D;
    transform: translateY(-2px);
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.063rem;
}

/* --- Hero Trust --- */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 251, 245, 0.8);
    font-size: 0.938rem;
    font-weight: 600;
}

/* --- Section Shared --- */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.813rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #7B2D8E;
    margin-bottom: 0.75rem;
    background: rgba(123, 45, 142, 0.08);
    padding: 0.375rem 1rem;
    border-radius: 100px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: #3D1F4D;
}

.section-subtitle {
    font-size: 1.063rem;
    color: #6B4D73;
    line-height: 1.75;
}

/* --- Services --- */
.services {
    padding: 6rem 0;
    background: #FFFBF5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(123, 45, 142, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(123, 45, 142, 0.1);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(123, 45, 142, 0.08);
    border-radius: 16px;
    margin-bottom: 1.25rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
    color: #3D1F4D;
}

.service-card p {
    font-size: 0.938rem;
    color: #6B4D73;
    line-height: 1.7;
}

/* --- Why Us --- */
.why-us {
    padding: 6rem 0;
    background: linear-gradient(180deg, #F9F0FF 0%, #FFFBF5 100%);
}

.why-us-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-us-images {
    position: relative;
}

.why-img {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(123, 45, 142, 0.15);
}

.why-img--main {
    width: 100%;
    aspect-ratio: 6/7;
}

.why-img--main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-img--accent {
    position: absolute;
    bottom: -2rem;
    right: -1.5rem;
    width: 55%;
    aspect-ratio: 1;
    border: 6px solid #F9F0FF;
    border-radius: 20px;
    overflow: hidden;
}

.why-img--accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-us-content .section-tag {
    text-align: left;
}

.why-us-content .section-title {
    text-align: left;
}

.why-us-content .section-subtitle {
    text-align: left;
    margin-bottom: 2rem;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.why-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(123, 45, 142, 0.08);
    border-radius: 14px;
}

.why-feature h4 {
    font-size: 1.063rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #3D1F4D;
}

.why-feature p {
    font-size: 0.938rem;
    color: #6B4D73;
    line-height: 1.65;
}

/* --- Gallery --- */
.gallery {
    padding: 6rem 0;
    background: #FFFBF5;
}

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

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 5/4;
    box-shadow: 0 8px 25px rgba(123, 45, 142, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(123, 45, 142, 0.15);
}

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

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

/* --- Testimonials --- */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(180deg, #F9F0FF 0%, #FFFBF5 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(123, 45, 142, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(123, 45, 142, 0.1);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    color: #3D1F4D;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.875rem;
    font-weight: 700;
    color: #7B2D8E;
}

/* --- CTA --- */
.cta {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(61, 31, 77, 0.93) 0%,
        rgba(123, 45, 142, 0.85) 100%
    );
}

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

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    color: #FFFBF5;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.063rem;
    color: rgba(255, 251, 245, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.75;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* --- Contact --- */
.contact {
    padding: 6rem 0;
    background: #FFFBF5;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info .section-tag {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
}

.contact-info .section-subtitle {
    text-align: left;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(123, 45, 142, 0.08);
    border-radius: 14px;
}

.contact-detail h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #3D1F4D;
}

.contact-detail p {
    font-size: 0.938rem;
    color: #6B4D73;
    line-height: 1.65;
}

.contact-detail a {
    color: #7B2D8E;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-detail a:hover {
    color: #D4890A;
}

/* --- Contact Form --- */
.contact-form-wrap {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(123, 45, 142, 0.08);
    box-shadow: 0 12px 40px rgba(123, 45, 142, 0.06);
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #3D1F4D;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #3D1F4D;
    margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: 'Nunito', sans-serif;
    font-size: 0.938rem;
    color: #3D1F4D;
    background: #FFFBF5;
    border: 2px solid rgba(123, 45, 142, 0.15);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #7B2D8E;
    box-shadow: 0 0 0 4px rgba(123, 45, 142, 0.1);
}

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

/* --- Form Success --- */
.form-success {
    text-align: center;
    padding: 2rem;
}

.form-success .success-icon {
    margin-bottom: 1rem;
}

.form-success h4 {
    font-size: 1.5rem;
    color: #3D1F4D;
    margin-bottom: 0.5rem;
}

.form-success p {
    font-size: 0.938rem;
    color: #6B4D73;
    line-height: 1.7;
}

.form-success a {
    color: #7B2D8E;
    font-weight: 700;
}

.form-success a:hover {
    color: #D4890A;
}

/* --- Footer --- */
.footer {
    background: #3D1F4D;
    color: rgba(255, 251, 245, 0.75);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.938rem;
    line-height: 1.75;
    margin-top: 1rem;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #FFFBF5;
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.938rem;
    color: rgba(255, 251, 245, 0.65);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #F0C060;
}

.footer-contact address {
    font-style: normal;
    font-size: 0.938rem;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.footer-contact p {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.footer-contact a {
    color: #F0C060;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #FFD980;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 251, 245, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-bottom p {
    font-size: 0.813rem;
    color: rgba(255, 251, 245, 0.45);
}

/* --- Scroll Reveal --- */
.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) {
    .why-us-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .why-us-images {
        max-width: 500px;
    }

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: #FFFBF5;
        flex-direction: column;
        align-items: stretch;
        padding: 5rem 1.5rem 2rem;
        gap: 0.25rem;
        box-shadow: -10px 0 40px rgba(61, 31, 77, 0.15);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-menu li a {
        padding: 0.875rem 1rem;
        font-size: 1rem;
        border-radius: 12px;
    }

    .nav-cta {
        text-align: center;
        margin-top: 0.75rem;
    }

    .hero {
        min-height: 85vh;
    }

    .hero-content {
        padding: 7rem 1.5rem 4rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .hero-trust {
        gap: 1rem;
    }

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

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

    .why-img--accent {
        width: 50%;
        bottom: -1.5rem;
        right: -0.75rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 1.5rem;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
