/* ============================================
   The Detail Brothers — Style Sheet
   Dark theme with blue accents, chrome text
   ============================================ */

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

:root {
    --bg-dark: #06070c;
    --blue-accent: #53b6ff;
    --chrome: #c8d3df;
    --chrome-light: #eef5fb;
    --chrome-bright: #ffffff;
    --text-primary: #f2f6fb;
    --text-secondary: #c9d2de;
    --text-muted: #8593a4;
    --border: rgba(120, 160, 200, 0.18);
    --border-accent: rgba(83, 182, 255, 0.45);
    --gradient-chrome: linear-gradient(180deg, #ffffff 0%, #e4edf6 30%, #aebac8 56%, #ffffff 100%);
    --shadow-blue: 0 0 38px rgba(31, 125, 255, 0.18);
    --shadow-card: 0 25px 70px rgba(0, 0, 0, 0.5);
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --radius: 28px;
    --radius-sm: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background:
        radial-gradient(circle at top, rgba(83, 182, 255, 0.08), transparent 28%),
        linear-gradient(180deg, #07080d 0%, #0b1017 36%, #07090f 100%);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.chrome-outline {
    color: var(--chrome-bright);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-shadow:
        -2px -2px 0 #1a2230,
        2px -2px 0 #1a2230,
        -2px 2px 0 #1a2230,
        2px 2px 0 #1a2230,
        0 0 14px rgba(83, 182, 255, 0.32);
}

a {
    color: var(--blue-accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--chrome-bright);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 7, 12, 0.84);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(83, 182, 255, 0.12);
    padding: 12px 0;
    transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    background: rgba(6, 7, 12, 0.96);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    text-decoration: none;
    gap: 0;
    transform: skewX(-10deg);
}

.logo-the {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: #ffffff;
}

.logo-detail {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.logo-brothers {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: #ffffff;
}

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

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #d6deea;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-accent);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--chrome-bright);
}

.nav-links a:hover::after {
    width: 100%;
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--chrome);
    transition: all 0.3s;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    will-change: transform;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 7, 12, 0.7) 0%, rgba(6, 7, 12, 0.4) 40%, rgba(6, 7, 12, 0.8) 100%),
        radial-gradient(circle at 30% 50%, rgba(83, 182, 255, 0.15), transparent 60%);
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 140px 20px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__tagline {
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1;
    color: var(--chrome-bright);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero__description {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.7;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero__cta {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: #080b12;
}

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

.about__image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.about__image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    border: 1px solid rgba(83, 182, 255, 0.2);
    pointer-events: none;
}

.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform 0.6s ease;
}

.about__image:hover img {
    transform: scale(1.03);
}

.about__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-title--left {
    text-align: left;
    transform: none;
}

.about__lead {
    font-size: 1.15rem;
    color: var(--text-primary);
    line-height: 1.7;
    font-weight: 500;
}

.about__text p:not(.about__lead):not(.section-kicker) {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* --- Services Section --- */
.services {
    padding: 100px 0;
    background: #0d1118;
}

.services .container {
    max-width: 1180px;
}

.section-heading {
    text-align: center;
    margin-bottom: 48px;
}

.section-kicker {
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--blue-accent);
}

.card-logo-lockup {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 26px;
    transform: skewX(-10deg);
}

.hero-logo-lockup {
    position: relative;
    align-items: center;
    margin-bottom: 22px;
}

.hero-logo-lockup::before {
    content: '';
    position: absolute;
    inset: -36px -72px;
    background: radial-gradient(ellipse at center, rgba(6, 7, 12, 0.62) 0%, rgba(6, 7, 12, 0.32) 48%, transparent 76%);
    filter: blur(24px);
    z-index: -1;
    pointer-events: none;
}

.hero-logo-lockup .card-logo-text__the {
    font-size: clamp(1.9rem, 5vw, 2.7rem);
}

.hero-logo-lockup .card-logo-text__detail,
.hero-logo-lockup .card-logo-text__brothers {
    background: var(--gradient-chrome);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: none;
    filter:
        drop-shadow(0 4px 14px rgba(0, 0, 0, 0.6))
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7))
        drop-shadow(0 0 26px rgba(83, 182, 255, 0.32));
}

.hero-logo-lockup .card-logo-text__detail {
    font-size: clamp(5.4rem, 14vw, 8.2rem);
}

.hero-logo-lockup .card-logo-text__brothers {
    font-size: clamp(3.4rem, 9vw, 5.2rem);
}

.card-logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 0.9;
}

.card-logo-text__the {
    align-self: flex-start;
    margin-left: 4px;
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.logo-silhouette {
    height: 1.2em;
    width: auto;
    vertical-align: middle;
}

.card-logo-text__detail {
    font-family: var(--font-heading);
    font-size: clamp(4.2rem, 11vw, 6.3rem);
    font-weight: 700;
    line-height: 0.86;
    color: #ffffff;
}

.card-logo-text__brothers {
    font-family: var(--font-heading);
    font-size: clamp(2.7rem, 7vw, 4rem);
    font-weight: 700;
    line-height: 0.88;
    color: #ffffff;
}

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

.services__card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: default;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(83, 182, 255, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    min-height: 520px;
}

.services__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(83, 182, 255, 0.15);
    border-color: rgba(83, 182, 255, 0.3);
}

.services__card--popular {
    border-color: var(--blue-accent);
    box-shadow: var(--shadow-blue);
}

.services__card--popular:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(41, 121, 255, 0.3);
}

.services__card-img {
    position: absolute;
    inset: 0;
}

.services__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.services__card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6, 7, 12, 0.45) 0%,
        rgba(6, 7, 12, 0.7) 25%,
        rgba(6, 7, 12, 0.88) 50%,
        rgba(6, 7, 12, 0.94) 100%
    );
    transition: background 0.4s ease;
}

.services__card:hover .services__card-overlay {
    background: linear-gradient(
        180deg,
        rgba(6, 7, 12, 0.5) 0%,
        rgba(6, 7, 12, 0.75) 25%,
        rgba(6, 7, 12, 0.92) 50%,
        rgba(6, 7, 12, 0.96) 100%
    );
}

.services__card-body {
    position: relative;
    z-index: 1;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.services__badge {
    display: inline-block;
    align-self: flex-start;
    background: var(--blue-accent);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.services__card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffffff;
    margin-bottom: 4px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.services__price {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--blue-accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.services__desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.services__features {
    list-style: none;
    margin-bottom: 20px;
    flex: 1;
}

.services__features li {
    padding: 5px 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    padding-left: 22px;
}

.services__features li:last-child {
    border-bottom: none;
}

.services__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blue-accent);
    font-weight: 700;
}

.services__card-body .btn-block {
    margin-top: auto;
}

.services__upgrade {
    font-size: 0.8rem;
    color: var(--blue-accent);
    line-height: 1.4;
    margin-bottom: 16px;
    padding: 8px 10px;
    border-left: 2px solid var(--blue-accent);
    background: rgba(83, 182, 255, 0.06);
    border-radius: 0 6px 6px 0;
}

.services__sizes {
    margin-bottom: 16px;
}

.services__sizes-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.services__size-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.services__size-row:last-child {
    border-bottom: none;
}

.services__size-row span:last-child {
    color: var(--blue-accent);
    font-weight: 600;
    font-family: var(--font-heading);
}

/* --- Gallery --- */
.gallery {
    padding: 100px 0;
    background: #080b12;
}

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

.gallery__item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(83, 182, 255, 0.08);
    cursor: pointer;
}

.gallery__item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

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

.gallery__item:hover img {
    transform: scale(1.06);
}

.gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(6, 7, 12, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery__item:hover::after {
    opacity: 1;
}

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

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

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

.cta-banner__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 7, 12, 0.85) 0%, rgba(6, 7, 12, 0.6) 50%, rgba(6, 7, 12, 0.85) 100%),
        radial-gradient(circle at 50% 50%, rgba(83, 182, 255, 0.12), transparent 60%);
}

.cta-banner__content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-banner__content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--gradient-chrome);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.cta-banner__content > p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    margin-bottom: 32px;
}

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

/* --- Buttons --- */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(180deg, #56b9ff 0%, #1974ff 100%);
    color: #fff;
    box-shadow: 0 10px 25px rgba(31, 125, 255, 0.28);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #63c2ff 0%, #1f7dff 100%);
    color: #fff;
    box-shadow: 0 6px 25px rgba(41, 121, 255, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    color: var(--chrome-light);
    border: 1px solid rgba(83, 182, 255, 0.25);
}

.btn-outline:hover {
    border-color: var(--blue-accent);
    color: var(--blue-accent);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* --- Section Titles --- */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--gradient-chrome);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    transform: skewX(-10deg);
}

.section-subtitle {
    text-align: center;
    color: #b9c7d6;
    font-size: 1rem;
    margin-bottom: 36px;
}

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: #0d1118;
}

.contact__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
    padding: 40px 40px;
    border: 1px solid rgba(83, 182, 255, 0.16);
    border-radius: 22px;
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.03), transparent 30%),
        rgba(8, 10, 16, 0.76);
}

.contact__label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blue-accent);
    margin-bottom: 4px;
}

.contact__owners {
    color: var(--chrome-light);
    font-size: 1.1rem;
}

.contact__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
    background: rgba(5, 6, 10, 0.84);
    border-top: 1px solid rgba(83, 182, 255, 0.1);
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    margin-bottom: 8px;
}

.footer-logo .logo-detail {
    font-size: 1.2rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

.footer-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.footer-info a {
    color: var(--text-secondary);
}

.footer-info a:hover {
    color: var(--blue-accent);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Stagger children in grids */
.services__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services__grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.services__grid .reveal:nth-child(4) { transition-delay: 0.3s; }

.gallery__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.gallery__grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.gallery__grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.gallery__grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.gallery__grid .reveal:nth-child(6) { transition-delay: 0.4s; }

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

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 8px 0;
    }

    .hero__content {
        padding: 120px 20px 60px;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__image {
        aspect-ratio: 16 / 10;
    }

    .section-title--left {
        text-align: center;
        transform: skewX(-10deg);
    }

    .about__text {
        text-align: center;
        align-items: center;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services__card {
        min-height: 480px;
    }

    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery__item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16 / 9;
    }

    .cta-banner {
        padding: 80px 0;
    }

    .hero__cta,
    .cta-banner__actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

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

    .contact__actions {
        justify-content: center;
    }

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

    .footer-logo {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .card-logo-text__the {
        font-size: 1.2rem;
    }

    .hero__tagline {
        font-size: 1.5rem;
    }

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

    .services__card {
        min-height: 420px;
    }

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

    .gallery__item:nth-child(1) {
        grid-column: span 1;
    }
}
