/* ============================================
   Nault Performance Customs — Stylesheet
   ============================================ */

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

:root {
    --plum-950: #1a0a1c;
    --plum-900: #2d1030;
    --plum-800: #4A1942;
    --plum-700: #6b2560;
    --plum-600: #8a3080;
    --plum-500: #a840a0;
    --plum-100: #f3e5f5;
    --plum-50: #faf0fc;
    --amber-600: #b07840;
    --amber-500: #C8956C;
    --amber-400: #d4a87e;
    --amber-300: #e0c0a0;
    --amber-100: #fdf3eb;
    --amber-50: #fefaf6;
    --white: #ffffff;
    --off-white: #faf9f8;
    --gray-50: #f7f7f6;
    --gray-100: #efefee;
    --gray-200: #e2e2e0;
    --gray-300: #c8c8c4;
    --gray-400: #9e9e9a;
    --gray-500: #6e6e6a;
    --gray-600: #4a4a46;
    --gray-700: #2e2e2a;
    --gray-800: #1a1a18;
    --gray-900: #0f0f0d;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-sans: 'Manrope', -apple-system, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.15;
    color: var(--gray-900);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: 20px;
}

.section-tag::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--amber-500);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 20px;
    color: var(--gray-900);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 560px;
    line-height: 1.7;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-100);
    transition: box-shadow 0.3s var(--ease-smooth);
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-800);
    letter-spacing: 0.02em;
}

.nav-logo svg {
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray-500);
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--gray-900);
}

.nav-cta {
    background: var(--plum-800) !important;
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 500 !important;
    transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
    background: var(--plum-700) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--gray-700);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 40px 24px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
}

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

.mobile-menu-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gray-800);
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
    transition: color 0.2s;
}

.mobile-menu-link:hover {
    color: var(--plum-800);
}

.mobile-menu-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding: 16px 24px;
    background: var(--plum-800);
    color: var(--white);
    border-radius: 12px;
    font-weight: 500;
    font-family: var(--font-sans);
    font-size: 15px;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--white);
    padding-top: 72px;
}

.hero-bg-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--gray-200), transparent);
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: 28px;
}

.hero-tag .tag-line {
    width: 24px;
    height: 1px;
    background: var(--amber-500);
}

.hero-headline {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.08;
    color: var(--gray-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--gray-500);
    line-height: 1.75;
    max-width: 440px;
    margin-bottom: 36px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.25s var(--ease-smooth);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--plum-800);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--plum-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 25, 66, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

.btn-outline:hover {
    border-color: var(--plum-800);
    color: var(--plum-800);
}

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

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

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

.stat-num {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--gray-900);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--gray-400);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

.hero-right {
    position: relative;
}

.hero-img-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 600/750;
}

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

.hero-img-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--amber-400);
    border-radius: 16px;
    z-index: -1;
}

/* --- Services --- */
.services {
    padding: 120px 0;
    background: var(--off-white);
}

.services .section-header {
    margin-bottom: 64px;
}

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

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 36px 32px;
    border: 1px solid var(--gray-100);
    transition: all 0.3s var(--ease-smooth);
}

.service-card:hover {
    border-color: var(--plum-100);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(74, 25, 66, 0.08);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--plum-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-800);
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* --- About --- */
.about {
    padding: 120px 0;
    background: var(--white);
}

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

.about-text {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-signature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    font-size: 14px;
    color: var(--gray-400);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.about-signature svg {
    color: var(--amber-500);
}

.about-img-grid {
    position: relative;
}

.about-img-main {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 480/560;
}

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

.about-img-secondary {
    position: absolute;
    bottom: -32px;
    right: -32px;
    border-radius: 12px;
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    aspect-ratio: 320/240;
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-accent-box {
    position: absolute;
    top: -24px;
    left: -24px;
    background: var(--plum-800);
    border-radius: 16px;
    padding: 24px 28px;
    z-index: 2;
}

.accent-box-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.accent-box-num {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-400);
}

.accent-box-year {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    color: var(--white);
    line-height: 1;
}

.accent-box-label {
    font-size: 12px;
    color: var(--plum-100);
    letter-spacing: 0.05em;
}

/* --- Gallery --- */
.gallery {
    padding: 120px 0;
    background: var(--gray-50);
}

.gallery .section-header {
    margin-bottom: 64px;
}

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

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 500/400;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 10, 28, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s var(--ease-smooth);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- Why Us --- */
.why-us {
    padding: 120px 0;
    background: var(--plum-900);
}

.why-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.why-left .section-title {
    color: var(--white);
}

.why-left .section-desc {
    color: var(--plum-100);
}

.why-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.why-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 20px;
}

.why-num {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--amber-500);
    line-height: 1;
    padding-top: 4px;
}

.why-item h4 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.why-item p {
    font-size: 0.95rem;
    color: var(--plum-100);
    line-height: 1.7;
}

/* --- Contact --- */
.contact {
    padding: 120px 0;
    background: var(--white);
}

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

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

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: var(--gray-50);
    border-radius: 12px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.contact-detail-item a:hover {
    border-color: var(--plum-100);
    background: var(--plum-50);
}

.contact-detail-item svg {
    color: var(--amber-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 1rem;
    color: var(--gray-800);
    font-weight: 400;
}

/* --- Form --- */
.contact-form {
    background: var(--gray-50);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--gray-100);
}

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

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 400;
    color: var(--gray-800);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-300);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--plum-600);
    box-shadow: 0 0 0 3px rgba(74, 25, 66, 0.08);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--plum-50);
    border: 1px solid var(--plum-100);
    border-radius: 10px;
    margin-top: 16px;
    font-size: 14px;
    color: var(--plum-800);
}

.form-success.show {
    display: flex;
}

.form-success svg {
    color: var(--plum-600);
    flex-shrink: 0;
}

/* --- Map --- */
.map-section {
    border-top: 1px solid var(--gray-100);
}

.map-container {
    height: 380px;
    filter: grayscale(0.5) contrast(1.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* --- Footer --- */
.footer {
    background: var(--gray-900);
    padding: 80px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo svg {
    flex-shrink: 0;
}

.footer-desc {
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.7;
    max-width: 300px;
}

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

.footer-links a {
    font-size: 14px;
    color: var(--gray-400);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--amber-400);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-phone,
.footer-email {
    font-size: 14px;
    color: var(--gray-400);
    transition: color 0.2s;
}

.footer-phone:hover,
.footer-email:hover {
    color: var(--amber-400);
}

.footer-address {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-500);
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Default visible state for progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-inner,
    .why-inner,
    .contact-inner {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 40px 24px;
    }
    
    .hero-right {
        order: -1;
    }
    
    .hero-img-wrap {
        aspect-ratio: 4/3;
        border-radius: 12px;
    }
    
    .hero-img-accent {
        display: none;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-num {
        font-size: 1.4rem;
    }
    
    .services,
    .about,
    .gallery,
    .why-us,
    .contact {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-inner {
        grid-template-columns: 1fr;
    }
    
    .about-img-secondary {
        right: 0;
        bottom: -24px;
    }
    
    .about-img-accent-box {
        left: 0;
        top: -16px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .why-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form {
        padding: 28px;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.6rem);
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-divider {
        display: none;
    }
}
