/* 
  HM FINISHES - PREMIUM STYLES
  Color Palette:
  Navy: #0b1624 (Primary)
  Black: #000000 (Accent)
  White: #ffffff
*/

:root {
    --primary: #0b1624;
    --accent: #000000;
    --metallic: linear-gradient(135deg, #1a2d47 0%, #0b1624 50%, #060d16 100%);
    --bg-light: #f9f9f9;
    --text-dark: #000000;
    --text-muted: #666666;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-metallic: 1px solid #0b1624;
    --img-gallery-height: 180px;
    --img-card-height: 200px;
    --img-before-after-height: 220px;
    --img-split-height: 280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
    padding-bottom: 60px;
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
}

.logo img {
    max-width: none;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

h1 { font-size: 2.8rem; margin-bottom: 1.5rem; line-height: 1.1; }
h2 { font-size: 2.2rem; margin-bottom: 2.5rem; text-align: center; position: relative; padding-bottom: 1rem; }
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0;
}

/* Header */
header {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 2px solid #000;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
    gap: 0.75rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    min-width: 0;
}

.logo img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.logo-text-container {
    display: flex;
    flex-direction: column;
    margin-left: 15px;
    min-width: 0;
}

.logo-text {
    font-weight: 900;
    color: #000;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.nav-links {
    display: none;
}

.nav-links a {
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s, background 0.3s;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.nav-phone {
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 9px;
    background: transparent;
    border: 2px solid #000;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

header.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

header.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

header.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2.5rem;
    }
    .nav-links a {
        color: #000;
        font-size: 0.7rem;
    }
    .nav-links a:hover {
        color: var(--accent);
    }
    .nav-toggle {
        display: none;
    }
}

/* Hero */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/assets/content/IMG_0593.PNG');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 10rem 1rem;
    border-bottom: 5px solid var(--accent);
}

.hero--services {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/assets/content/IMG_0579.JPG');
}

.hero--portfolio {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/assets/content/kitchen.JPG');
}

.hero--testimonials {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/assets/content/IMG_0565.PNG');
}

.hero--contact {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/assets/content/IMG_0580.WEBP');
}

.hero h1 { color: #fff; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.hero p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 2.5rem; max-width: 700px; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    transition: 0.4s;
    border: 2px solid #000;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #000;
    color: #fff;
}

.btn-primary:hover {
    background: #fff;
    color: #000;
    box-shadow: 8px 8px 0px var(--accent);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-accent:hover {
    background: #000;
    color: #fff;
    box-shadow: 8px 8px 0px #fff;
}

/* Trust Bar */
.trust-bar {
    background: var(--primary);
    padding: 1.5rem 0;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--accent);
}

.trust-item {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #fff;
}

/* Cards */
.card {
    background: #fff;
    padding: 3rem 2rem;
    border: 1px solid #eee;
    box-shadow: var(--shadow);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    overflow: hidden;
    min-width: 0;
}

.card--with-image {
    padding-top: 0;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    min-width: 0;
}

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}

/* Portfolio */
.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 2rem;
    min-width: 0;
}

.before-after > div {
    min-width: 0;
}

.before-after img {
    width: 100%;
    max-width: 100%;
    height: var(--img-before-after-height);
    max-height: var(--img-before-after-height);
    object-fit: cover;
    object-position: center;
    border: 2px solid #eee;
    display: block;
}

.portfolio-item {
    min-width: 0;
    overflow: hidden;
}

.content-image {
    width: 100%;
    max-width: 100%;
    display: block;
    border: 2px solid #eee;
    object-fit: cover;
    object-position: center;
}

.card-image {
    width: 100%;
    max-width: 100%;
    height: var(--img-card-height);
    max-height: var(--img-card-height);
    object-fit: cover;
    object-position: center;
    border-bottom: 2px solid #eee;
    margin: 0 0 1.5rem;
    display: block;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    min-width: 0;
}

.split-section .content-image {
    height: var(--img-split-height);
    max-height: var(--img-split-height);
}

.split-content {
    color: var(--text-muted);
    min-width: 0;
}

.split-content p {
    margin-bottom: 1.5rem;
}

.image-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
    min-width: 0;
}

.image-strip img {
    width: 100%;
    height: 180px;
    max-height: 180px;
    object-fit: cover;
    object-position: center;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    min-width: 0;
}

.photo-gallery img {
    width: 100%;
    max-width: 100%;
    height: var(--img-gallery-height);
    max-height: var(--img-gallery-height);
    object-fit: cover;
    object-position: center;
    border: 2px solid #eee;
    display: block;
}

.media-video {
    width: 100%;
    max-width: 100%;
    display: block;
    border: 2px solid #eee;
    background: #000;
    aspect-ratio: 16 / 9;
    height: auto;
}

.video-card {
    min-width: 0;
    overflow: hidden;
}

.video-card h3 {
    margin-top: 1rem;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .split-section {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    :root {
        --img-gallery-height: 140px;
        --img-card-height: 180px;
        --img-before-after-height: 180px;
        --img-split-height: 220px;
    }

    .image-strip {
        grid-template-columns: 1fr;
    }

    .image-strip img {
        height: 160px;
        max-height: 160px;
    }

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

.testimonial-card .stars {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-card .author {
    font-weight: 700;
    font-size: 0.8rem;
    margin-top: 1.5rem;
    color: var(--accent);
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    color: var(--text-muted);
}

.label {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 900;
    background: #000;
    color: #fff;
    padding: 6px 12px;
    display: inline-block;
    margin-bottom: 10px;
    letter-spacing: 1px;
    border-radius: 2px;
}

/* Process Section */
.section-dark {
    background: linear-gradient(rgba(0,0,0,0.88), rgba(0,0,0,0.88)), url('/assets/content/IMG_0376.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 8rem 0;
}

.section-dark h2 { color: #fff; }

.process-step {
    padding: 2.5rem;
    border: 1px solid #333;
    margin-bottom: 1.5rem;
    background: #0a0a0a;
}

.step-number {
    font-size: 0.85rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

/* Forms */
.form-group { margin-bottom: 2rem; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 900; text-transform: uppercase; margin-bottom: 0.75rem; letter-spacing: 1px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #eee;
    background: #fff;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #000;
}

/* Sticky Bar */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 2000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}

.sticky-bar a {
    flex: 1;
    text-align: center;
    padding: 1.4rem;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.call-btn { background: #000; color: #fff; }
.wa-btn { background: #25D366; color: #fff; }

/* Footer */
footer {
    background: var(--primary);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
    border-top: 5px solid var(--accent);
}

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

footer .logo-tagline {
    color: rgba(255, 255, 255, 0.75);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin-bottom: 3rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover { color: rgba(255, 255, 255, 0.65); }

footer .copyright {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .sticky-bar { display: none; }
    body { padding-bottom: 0; }
}

@media (max-width: 767px) {
    h1 { font-size: 2rem; }

    body.nav-open {
        overflow: hidden;
    }

    .logo-text {
        font-size: 0.85rem;
        letter-spacing: 0.05em;
    }

    .logo-tagline {
        display: none;
    }

    .nav-phone {
        padding: 0.5rem 0.75rem;
        font-size: 0.65rem;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 0.5rem 0;
        z-index: 999;
        border-bottom: 2px solid var(--accent);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

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

    .nav-links a {
        color: #fff;
        padding: 1rem 5%;
        font-size: 0.8rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.08);
    }

    .card {
        padding: 2rem 1.25rem;
    }

    .card--with-image {
        padding-top: 0;
    }

    .before-after {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .container {
        width: 92%;
        padding: 2.5rem 0;
    }

    .hero {
        padding: 5rem 1rem;
    }
}
