/* =========================================
   ROCK DESIGNZ — Styles
   Red #CC0000 | Black #0A0A0A | Cream #F5F1EB | Charcoal #2A2A2A
   ========================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --red:        #CC0000;
    --red-dark:   #A30000;
    --red-glow:   rgba(204, 0, 0, 0.12);
    --black:      #080808;
    --dark:       #111111;
    --darker:     #1A1A1A;
    --mid:        #242424;
    --charcoal:   #333333;
    --border:     #2E2E2E;
    --cream:      #F5F1EB;
    --cream-dark: #EDE8E0;
    --white:      #FFFFFF;
    --gray:       #888888;
    --text:       #2A2A2A;
    --text-light: #666666;

    --font-display: 'Bebas Neue', sans-serif;
    --font-body:    'Inter', sans-serif;

    --max-width: 1200px;
    --section-pad: 120px;
    --radius: 4px;
    --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.section { padding: var(--section-pad) 0; }

/* ----- Typography ----- */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 4vw, 3.8rem);
    line-height: 1.05;
    letter-spacing: 0.04em;
    color: var(--text);
}

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

.eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
    display: block;
}

.red { color: var(--red); }

.title-bar {
    width: 40px;
    height: 2px;
    background: var(--red);
    margin: 20px auto 0;
}
.title-bar.left { margin-left: 0; }

.section-sub {
    color: var(--text-light);
    margin-top: 18px;
    font-size: 1.05rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all var(--transition);
    cursor: pointer;
    border: 1.5px solid transparent;
}

.btn-red {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}
.btn-red:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover { border-color: var(--white); }

.btn-outline-dark {
    background: transparent;
    color: var(--text);
    border-color: var(--text);
}
.btn-outline-dark:hover {
    background: var(--text);
    color: var(--white);
}

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

/* =========================================
   NAVIGATION — Top-anchored brand block (Robison-style)
   ========================================= */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
}

.nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: flex-start;
}

/* Left and right cream wings */
.nav-wing {
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 48px;
    background: rgba(245, 241, 235, 0.97);
    backdrop-filter: blur(8px);
}

.nav-wing-right {
    justify-content: flex-end;
    gap: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0; right: 0;
    height: 1.5px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-phone {
    color: var(--red) !important;
    font-weight: 700 !important;
}
.nav-phone::after { background: var(--red) !important; }

/* Center brand block — drops below wings, shrinks on scroll */
.nav-brand-block {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1E1E1E;
    width: 300px;
    height: 130px;
    padding: 0 40px;
    border-bottom: none;
    border-radius: 0 0 14px 14px;
    transition:
        height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        border-radius 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        background 0.25s ease;
}

.nav-brand-block:hover { background: #262626; }

/* Shrunk state on scroll — matches cream wings */
.nav.scrolled .nav-brand-block {
    height: 80px;
    border-radius: 0;
    background: rgba(245, 241, 235, 0.97);
    box-shadow: none;
}

/* Background-image approach — right-anchored so badge is always clipped on the left */
.nav-brand-clip {
    width: 175px;
    height: 56px;
    background: url('assets/logo-horizontal.png') right center / auto 56px no-repeat;
    transition:
        width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        background-size 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav.scrolled .nav-brand-clip {
    width: 138px;
    height: 44px;
    background-size: auto 44px;
}

.logo-fallback {
    display: none;
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    color: var(--white);
}
.logo-fallback em { font-style: normal; color: var(--red); }
.logo-fallback.small { font-size: 1.1rem; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text);
    transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================
   HERO — Full-screen video, tagline at bottom
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background: var(--black);
    padding-bottom: 80px;
}

.hero-video,
.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(8,8,8,0.1) 0%,
        rgba(8,8,8,0.2) 50%,
        rgba(8,8,8,0.7) 100%
    );
}

.hero-bottom {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    letter-spacing: 0.1em;
    color: var(--white);
    line-height: 1.1;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.scroll-dot {
    width: 5px;
    height: 5px;
    background: var(--red);
    border-radius: 50%;
    animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.3; }
}

/* =========================================
   STATS BAR
   ========================================= */
.stats-bar {
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 0 56px;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2.6rem;
    letter-spacing: 0.04em;
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray);
}

.stat-divider {
    width: 1px;
    height: 44px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}

/* =========================================
   SERVICES
   ========================================= */
.services { background: var(--cream); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--cream-dark);
    border: 1px solid var(--cream-dark);
}

.service-card {
    background: var(--cream);
    padding: 44px 36px;
    transition: background var(--transition);
    position: relative;
}

.service-card:hover { background: var(--white); }

.service-card.featured {
    background: var(--dark);
    color: var(--white);
}
.service-card.featured:hover { background: var(--darker); }
.service-card.featured p { color: rgba(255,255,255,0.65); }

.service-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1;
    color: rgba(204,0,0,0.15);
    margin-bottom: 16px;
    letter-spacing: 0.04em;
}
.service-card.featured .service-number { color: rgba(204,0,0,0.3); }

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
    color: var(--text);
}
.service-card.featured h3 { color: var(--white); }

.service-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

.service-card-wide {
    grid-column: span 2;
}

.service-cta {
    display: inline-block;
    margin-top: 20px;
    color: var(--red);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.service-cta:hover { opacity: 0.7; }

/* =========================================
   PORTFOLIO
   ========================================= */
.portfolio { background: var(--darker); padding: var(--section-pad) 0; }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 3px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--mid);
}

.portfolio-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8,8,8,0.88) 0%, rgba(8,8,8,0.1) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

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

.portfolio-overlay p {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--white);
    letter-spacing: 0.06em;
}

.portfolio-overlay span {
    font-size: 0.72rem;
    color: var(--red);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-top: 4px;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: var(--mid);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--border);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.portfolio-cta {
    text-align: center;
    margin-top: 56px;
}

/* =========================================
   ABOUT
   ========================================= */
.about { background: var(--white); }

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--red);
    width: 110px;
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    gap: 3px;
}

.about-badge strong {
    font-family: var(--font-display);
    font-size: 2.4rem;
    letter-spacing: 0.04em;
    line-height: 1;
}

.about-badge span {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
}

.about-content .section-title { margin: 12px 0 0; }
.about-content .title-bar { margin: 20px 0 28px; }

.about-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 18px;
    font-size: 0.97rem;
}

.about-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 28px 0 36px;
}

.about-point {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text);
}

.point-dot {
    width: 6px;
    height: 6px;
    background: var(--red);
    flex-shrink: 0;
}

/* =========================================
   TREAD DIVIDER
   ========================================= */
.tread-divider {
    height: 8px;
    background: var(--red);
    overflow: hidden;
}

/* =========================================
   REVIEWS
   ========================================= */
.reviews { background: var(--cream); }
.reviews .section-title { color: var(--text); }
.reviews .eyebrow { color: var(--red); }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: var(--cream-dark);
    border: 1px solid var(--cream-dark);
}

.review-card {
    background: var(--cream);
    padding: 44px 40px;
    transition: background var(--transition);
}

.review-card:hover { background: var(--white); }

.stars {
    color: var(--red);
    font-size: 1rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.review-card p {
    color: var(--text-light);
    font-size: 0.97rem;
    line-height: 1.8;
    margin-bottom: 28px;
    font-style: italic;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 14px;
}

.reviewer-avatar {
    width: 42px;
    height: 42px;
    background: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--white);
    flex-shrink: 0;
    letter-spacing: 0.04em;
}

.reviewer strong {
    display: block;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.reviewer span {
    color: var(--gray);
    font-size: 0.78rem;
}

/* =========================================
   CONTACT
   ========================================= */
.contact { background: var(--white); }

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

.contact-info .section-title { color: var(--text); margin: 12px 0 0; }
.contact-info .title-bar { margin: 20px 0 28px; }

.contact-info > p {
    color: var(--text-light);
    line-height: 1.75;
    font-size: 0.97rem;
}

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

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

.contact-icon {
    width: 36px;
    height: 36px;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-item > div strong {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 3px;
}

.contact-item > div a,
.contact-item > div span {
    color: var(--text);
    font-weight: 500;
    font-size: 0.93rem;
    transition: color var(--transition);
}

.contact-item > div a:hover { color: var(--red); }

.contact-form-wrap {
    background: var(--cream);
    padding: 48px;
    border-top: 3px solid var(--red);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 13px 16px;
    border: 1.5px solid var(--cream-dark);
    font-family: var(--font-body);
    font-size: 0.93rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition);
    outline: none;
    -webkit-appearance: none;
    border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--red);
}

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

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

.form-note {
    text-align: center;
    font-size: 0.78rem;
    color: var(--gray);
    margin-top: 4px;
}

/* =========================================
   VIDEO SHOWCASE
   ========================================= */
.videos-section {
    background: var(--black);
    padding: var(--section-pad) 0;
}

.videos-section .section-title { color: var(--white); }
.videos-section .eyebrow { color: var(--red); }
.videos-section .section-sub { color: rgba(255,255,255,0.45); margin-left: auto; margin-right: auto; }

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

.video-card:last-child:nth-child(odd) {
    grid-column: span 2;
}

.video-card {
    background: var(--mid);
    overflow: hidden;
}

.video-card video {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.video-card:last-child:nth-child(odd) video {
    height: 400px;
}

.video-caption {
    padding: 18px 22px;
    background: var(--darker);
    border-top: 2px solid var(--red);
}

.video-caption p {
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: 0.06em;
    color: var(--white);
    margin-bottom: 4px;
}

.video-caption span {
    font-size: 0.72rem;
    color: var(--red);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* =========================================
   FOOTER
   ========================================= */
.footer { background: var(--black); padding: 72px 0 0; }

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand img { height: 36px; margin-bottom: 20px; }

.footer-brand p {
    color: rgba(255,255,255,0.4);
    font-size: 0.88rem;
    line-height: 1.75;
    margin-top: 14px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 22px;
}

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

.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--red); }

.footer-contact p {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.footer-contact a {
    color: rgba(255,255,255,0.65);
    transition: color var(--transition);
}
.footer-contact a:hover { color: var(--red); }

.footer-bottom {
    text-align: center;
    padding: 22px 24px;
    color: rgba(255,255,255,0.2);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}

/* =========================================
   MOBILE NAV
   ========================================= */
@media (max-width: 768px) {
    .nav-inner {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .nav-wing-left { display: none; }

    .nav-wing {
        height: 64px;
        padding: 0 20px;
    }

    .nav-brand-block {
        display: none;
    }

    .nav-wing-right {
        width: 100%;
        justify-content: space-between;
        padding: 0 20px;
    }

    /* Show all nav links as a full-screen overlay */
    .nav-links {
        display: none;
        position: fixed;
        inset: 0;
        top: 64px;
        background: rgba(8,8,8,0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 36px;
        padding: 40px 24px;
        z-index: 999;
    }

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

    .nav-links.open a {
        color: var(--white);
        font-size: 1.1rem;
        letter-spacing: 0.16em;
    }

    .hamburger { display: flex; }
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    :root { --section-pad: 90px; }
    .container { padding: 0 28px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-auto-rows: 240px; }
    .about-inner { gap: 60px; }
    .contact-inner { gap: 60px; }
}

@media (max-width: 768px) {
    :root { --section-pad: 64px; }

    .hero-center-block { padding: 44px 36px; }
    .hero-logo { height: 110px; }
    .hero-tagline { font-size: 1.2rem; }

    .stats-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .stat { padding: 20px 16px; }
    .stat-divider { display: none; }

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

    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 200px;
    }
    .portfolio-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .videos-grid { grid-template-columns: 1fr; }
    .video-card:last-child:nth-child(odd) { grid-column: span 1; }
    .video-card video,
    .video-card:last-child:nth-child(odd) video { height: 240px; }

    .about-inner { grid-template-columns: 1fr; gap: 40px; }
    .about-badge { display: none; }

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

    .contact-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-inner { grid-template-columns: 1fr; gap: 36px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 32px 24px; }

    .nav.scrolled .nav-logo img { filter: none; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; width: 100%; }
    .btn { width: 100%; justify-content: center; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-item.large { grid-column: span 1; }
}
