/* ============================================================
   ABSL Bricklaying — styles.css
   ============================================================ */

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

:root {
    --brick: #C0392B;
    --brick-dk: #96281B;
    --clay: #D4956A;
    --sand: #F5ECD7;
    --dark: #1A1A1A;
    --dark-2: #242424;
    --mid: #4A4A4A;
    --light: #F9F6F1;
    --white: #FFFFFF;
    --border: rgba(255, 255, 255, 0.10);

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .08);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, .12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, .18);

    --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ---------- UTILITIES ---------- */
.container {
    width: min(1200px, 100% - 2.5rem);
    margin-inline: auto;
}

.section-pad {
    padding-block: clamp(60px, 8vw, 110px);
}

.bg-dark {
    background: var(--dark);
}

.bg-light {
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    margin-top: .4rem;
}

.section-eyebrow {
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--brick);
}

.section-eyebrow.light {
    color: var(--clay);
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    color: var(--dark);
}

h2.light {
    color: var(--white);
}

.section-sub {
    margin-top: .75rem;
    color: var(--mid);
    font-size: 1.05rem;
    max-width: 560px;
    margin-inline: auto;
}

.section-sub.light {
    color: rgba(255, 255, 255, .65);
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .75rem 1.8rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--brick);
    color: var(--white);
    border: 2px solid var(--brick);
}

.btn-primary:hover {
    background: var(--brick-dk);
    border-color: var(--brick-dk);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, .35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, .6);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .1);
    border-color: var(--white);
}

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

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 1000;
    padding-block: 1.1rem;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
    background: rgba(26, 26, 26, .97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .3);
    padding-block: .7rem;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.15rem;
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 400;
}

.logo strong {
    font-weight: 700;
}

.logo-icon {
    font-size: 1.4rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255, 255, 255, .82);
    font-size: .9rem;
    font-weight: 500;
    transition: color var(--transition);
}

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

.btn-nav {
    background: var(--brick);
    color: var(--white) !important;
    padding: .5rem 1.2rem;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
}

.btn-nav:hover {
    background: var(--brick-dk);
}

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

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    scale: 1.05;
    transition: scale 8s ease;
}

.hero:hover .hero-bg {
    scale: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
            rgba(10, 8, 6, .75) 0%,
            rgba(26, 10, 6, .65) 50%,
            rgba(10, 8, 6, .55) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding-block: 10rem 6rem;
}

.hero-eyebrow {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--clay);
    margin-bottom: 1.2rem;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, .4);
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, .8);
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--clay);
    line-height: 1;
}

.stat-label {
    font-size: .78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .65);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-top: .25rem;
}

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

.scroll-arrow {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    translate: -50% 0;
    z-index: 2;
    color: rgba(255, 255, 255, .6);
    animation: bounce 2s infinite;
    transition: color var(--transition);
}

.scroll-arrow svg {
    width: 28px;
    height: 28px;
}

.scroll-arrow:hover {
    color: var(--white);
}

@keyframes bounce {

    0%,
    100% {
        translate: -50% 0;
    }

    50% {
        translate: -50% 8px;
    }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.about-img-accent {
    position: absolute;
    bottom: -2.5rem;
    right: -2rem;
    width: 50%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 5px solid var(--white);
    box-shadow: var(--shadow-md);
}

.about-badge {
    position: absolute;
    top: 2rem;
    left: -2rem;
    background: var(--brick);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.badge-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.badge-text {
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .9;
}

.about-text {
    padding-left: 1rem;
}

.about-text h2 {
    margin-block: .5rem 1.25rem;
}

.about-text blockquote {
    border-left: 4px solid var(--brick);
    padding-left: 1.25rem;
    font-style: italic;
    color: var(--mid);
    font-size: 1.05rem;
    margin-block: 1.5rem;
    line-height: 1.7;
}

.about-text p {
    color: var(--mid);
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--dark);
}

.about-contact-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.pill {
    background: var(--sand);
    padding: .5rem 1rem;
    border-radius: 100px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
}

a.pill:hover {
    background: var(--brick);
    color: var(--white);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--dark-2);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    transition: var(--transition);
    opacity: 0;
    translate: 0 24px;
}

.service-card.visible {
    opacity: 1;
    translate: 0 0;
    transition: opacity .6s ease, translate .6s ease, background var(--transition), border-color var(--transition);
}

.service-card:hover {
    background: rgba(192, 57, 43, .12);
    border-color: rgba(192, 57, 43, .3);
    translate: 0 -4px !important;
}

.service-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: .6rem;
}

.service-card p {
    color: rgba(255, 255, 255, .55);
    font-size: .9rem;
    line-height: 1.65;
}

/* ============================================================
   WHY US
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.why-img {
    border-radius: var(--radius-lg);
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.why-text h2 {
    margin-block: .5rem 2rem;
}

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

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

.check {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--brick);
    color: var(--white);
    border-radius: 50%;
    font-size: .8rem;
    font-weight: 700;
    margin-top: .1rem;
}

.why-list strong {
    font-size: 1rem;
    color: var(--dark);
}

.why-list p {
    font-size: .9rem;
    color: var(--mid);
    margin-top: .25rem;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: transform var(--transition), filter var(--transition);
    filter: brightness(.92);
}

.gallery-grid img:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
    z-index: 1;
    position: relative;
}

.gallery-grid img:first-child {
    grid-row: span 2;
}

/* ============================================================
   HOURS
   ============================================================ */
.hours-wrap {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.hours-text h2 {
    margin-block: .5rem 1rem;
}

.hours-text p {
    color: var(--mid);
    margin-bottom: 2rem;
}

.hours-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, .06);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: .55rem;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    font-size: .95rem;
}

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

.hours-list li.today {
    font-weight: 700;
}

.day {
    color: var(--dark);
    font-weight: 500;
}

.time.open {
    color: #1a7a4a;
    font-weight: 600;
}

.time.closed {
    color: #c0392b;
    font-weight: 600;
}

.status-badge {
    margin-top: 1.5rem;
    padding: .6rem 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: .88rem;
    font-weight: 600;
}

.status-badge.open-now {
    background: #e8f8ef;
    color: #1a7a4a;
}

.status-badge.closed-now {
    background: #fdecea;
    color: #c0392b;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: start;
}

.contact-info h2 {
    margin-block: .5rem 1.25rem;
}

.contact-info p {
    color: rgba(255, 255, 255, .6);
    font-size: .95rem;
    margin-bottom: 2.5rem;
}

.light-muted {
    color: rgba(255, 255, 255, .6) !important;
}

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

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

.c-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: .1rem;
}

.contact-row strong {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--clay);
    margin-bottom: .2rem;
}

.contact-row span,
.contact-row a {
    color: rgba(255, 255, 255, .75);
    font-size: .95rem;
    transition: color var(--transition);
}

.contact-row a:hover {
    color: var(--clay);
}

/* Form */
.contact-form {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-bottom: 1.25rem;
}

.form-group label {
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .7);
    letter-spacing: .04em;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-sm);
    padding: .75rem 1rem;
    color: var(--white);
    font-family: var(--font-body);
    font-size: .95rem;
    transition: border-color var(--transition), background var(--transition);
    outline: none;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, .3);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--brick);
    background: rgba(255, 255, 255, .09);
}

.form-note {
    margin-top: .75rem;
    font-size: .85rem;
    text-align: center;
    min-height: 1.2em;
}

.form-note.success {
    color: #6fcfa0;
}

.form-note.error {
    color: #f08080;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #111;
    color: rgba(255, 255, 255, .65);
    padding-top: 4rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.footer-brand .logo-icon {
    font-size: 1.5rem;
}

.footer-brand span {
    color: var(--white);
    font-size: 1.1rem;
}

.footer-brand p {
    font-size: .88rem;
    color: rgba(255, 255, 255, .5);
    line-height: 1.6;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    padding-top: .5rem;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
    font-size: .9rem;
    color: rgba(255, 255, 255, .6);
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--clay);
}

.footer-bottom {
    text-align: center;
    padding-block: 1.5rem;
    font-size: .82rem;
    color: rgba(255, 255, 255, .3);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {

    .about-grid,
    .why-grid,
    .hours-wrap,
    .contact-grid {
        gap: 3rem;
    }

    .gallery-grid {
        grid-template-rows: repeat(2, 220px);
    }
}

@media (max-width: 860px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        inset-block-start: 0;
        inset-inline-end: 0;
        width: min(320px, 85vw);
        height: 100svh;
        background: var(--dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 5.5rem 2.5rem 2.5rem;
        gap: 1.8rem;
        transform: translateX(100%);
        transition: transform var(--transition);
        box-shadow: -10px 0 40px rgba(0, 0, 0, .4);
    }

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

    .nav-links a {
        font-size: 1.1rem;
    }

    .about-grid,
    .why-grid,
    .hours-wrap,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-images {
        order: -1;
    }

    .about-badge {
        left: 1rem;
    }

    .about-img-accent {
        right: 0;
    }

    .about-text {
        padding-left: 0;
    }

    .why-image-wrap {
        order: -1;
    }

    .why-img {
        aspect-ratio: 16/9;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 200px);
    }

    .gallery-grid img:first-child {
        grid-row: span 1;
    }

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

@media (max-width: 560px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .stat-divider {
        display: none;
    }

    .hero-stats {
        gap: 1.5rem;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 200px);
    }

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