/* ===== MARTIN AGENCY THEME ===== */
:root {
    --primary: #111111;
    --primary-light: #333333;
    --primary-dark: #000000;
    --accent: #2563EB;
    --bg: #FFFFFF;
    --bg-alt: #F5F5F5;
    --bg-dark: #111111;
    --text: #111111;
    --text-muted: #666666;
    --text-light: #999999;
    --border: #E5E5E5;
    --card-bg: #FFFFFF;
    --radius: 0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.5px;
    font-family: 'Inter', sans-serif;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 12px;
    line-height: 1.6;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    gap: 4px;
    letter-spacing: 0.3px;
    border-bottom: 1px solid transparent;
    background: none;
    color: inherit;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 12px 28px;
    border-bottom: none;
}

.btn-primary:hover {
    background: #000;
}

.btn-outline {
    background: transparent;
    color: #fff;
    padding: 12px 28px;
    border: 1px solid rgba(255,255,255,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: #fff;
}

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

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 28px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: #fff;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
}

.navbar.scrolled .logo {
    color: var(--text);
}

.logo span {
    font-weight: 300;
    color: rgba(255,255,255,0.6);
}

.navbar.scrolled .logo span {
    color: var(--text-muted);
}

.logo .logo-badge {
    display: none;
}

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

.nav-menu a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-weight: 450;
    font-size: 0.8rem;
    transition: color 0.2s;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.navbar.scrolled .nav-menu a {
    color: var(--text-muted);
}

.nav-menu a:hover {
    color: #fff;
}

.navbar.scrolled .nav-menu a:hover,
.navbar.scrolled .nav-menu a.active {
    color: var(--text);
}

.nav-menu a.active {
    color: #fff;
}

.nav-toggle {
    display: none;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
}

.navbar.scrolled .nav-toggle {
    color: var(--text);
}

/* ===== HERO ===== */
.hero {
    min-height: 90vh;
    background: #111;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    pointer-events: none;
}

.hero-content {
    color: #fff;
    max-width: 700px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.1;
    font-family: 'Inter', sans-serif;
    letter-spacing: -1px;
}

.hero-content h1 span {
    color: rgba(255,255,255,0.5);
    font-weight: 300;
    display: block;
    margin-top: 6px;
    font-size: 1.6rem;
}

.hero-content p {
    font-size: 0.9rem;
    margin: 24px 0;
    opacity: 0.45;
    font-weight: 400;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content .btn {
    margin: 0 6px;
}

/* ===== ABOUT ===== */
#about, .about-page {
    background: var(--bg);
}

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

.about-image video {
    width: 100%;
    display: block;
}

.about-text h3 {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Inter', sans-serif;
}

.about-text p {
    color: var(--text);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    gap: 60px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    display: block;
    font-family: 'Inter', sans-serif;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image img {
    width: 100%;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}

.service-card {
    background: var(--card-bg);
    padding: 40px 32px;
    transition: all 0.2s ease;
}

.service-card:hover {
    background: #FAFAFA;
}

.service-icon {
    margin-bottom: 16px;
}

.service-icon i {
    font-size: 1.3rem;
    color: var(--text);
}

.service-card h3 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 8px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}
    padding-left: 0;
}

/* ===== BRANDS ===== */
.brands {
    background: var(--bg);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
}

.brand-card {
    background: var(--card-bg);
    padding: 40px 24px;
    text-align: center;
    transition: all 0.2s ease;
}

.brand-card:hover {
    background: #FAFAFA;
}

.brand-logo {
    width: 140px;
    height: 100px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.brand-card:hover .brand-logo {
    opacity: 0.7;
}

.brand-logo i {
    font-size: 2.5rem;
    color: var(--text);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-card h3 {
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.brand-card p {
    color: var(--text-light);
    font-size: 0.75rem;
    margin-top: 8px;
}

.brands-compact {
    grid-template-columns: repeat(6, 1fr) !important;
}

/* ===== PROJECTS ===== */
.projects {
    background: var(--bg);
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: none;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.filter-btn:hover {
    color: var(--text);
}

.filter-btn.active {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}

.project-card {
    background: var(--card-bg);
    overflow: hidden;
    transition: all 0.2s ease;
}

.project-card:hover {
    background: #FAFAFA;
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.02);
}

.project-status {
    display: none;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 4px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.project-location {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-location i {
    margin-right: 4px;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.project-tags span {
    color: var(--text-light);
    font-size: 0.7rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

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

.contact-item i {
    font-size: 1rem;
    color: var(--text);
    margin-top: 2px;
    min-width: 20px;
}

.contact-item h4 {
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 4px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.contact-form {
    padding: 0;
}

.contact-form h3 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 24px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0 0 12px;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    background: transparent;
    color: var(--text);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--text);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
}

.form-group select option {
    background: #fff;
    color: var(--text);
}

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

/* ===== FOOTER ===== */
.footer {
    background: #111;
    color: rgba(255,255,255,0.4);
    padding: 80px 0 0;
}

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

.footer-about h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.footer-about h3 span {
    color: rgba(255,255,255,0.4);
}

.footer-about p {
    margin-bottom: 24px;
    line-height: 1.7;
    font-size: 0.85rem;
    opacity: 0.5;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 1rem;
}

.footer-social a:hover {
    color: #fff;
}

.footer-links h3 {
    color: #fff;
    font-size: 0.75rem;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links i {
    margin-right: 8px;
    color: rgba(255,255,255,0.3);
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    color: rgba(255,255,255,0.25);
    font-size: 0.8rem;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #000;
}

/* ===== WHATSAPP FLOATING ===== */
.wa-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 52px;
    height: 52px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    z-index: 999;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(37,211,102,0.3);
}

.wa-float:hover {
    background: #1DA851;
    transform: scale(1.05);
}

/* ===== PAGE HERO ===== */
.page-hero {
    min-height: 35vh;
    background: #111;
    display: flex;
    align-items: center;
    text-align: center;
}

.page-hero-content {
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
}

.page-hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.5px;
}

.page-hero-content p {
    font-size: 0.95rem;
    opacity: 0.4;
    margin-top: 12px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.6s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .services-grid,
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brands-compact {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

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

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 80px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 32px 32px;
        transition: right 0.3s ease;
        gap: 0;
    }

    .nav-menu a {
        display: block;
        padding: 14px 0;
        font-size: 0.85rem;
        color: var(--text) !important;
        border-bottom: 1px solid var(--border);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .nav-menu a.active {
        color: var(--text) !important;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .hero {
        min-height: 70vh;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content h1 span {
        font-size: 1.4rem;
    }

    .page-hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .hero-content .btn {
        display: block;
        margin: 8px auto;
        max-width: 220px;
    }

    .section {
        padding: 64px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

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

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

    .brands-compact {
        grid-template-columns: repeat(3, 1fr) !important;
    }

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

    .project-filters {
        gap: 4px;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 0.75rem;
    }

    .about-stats {
        gap: 32px;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 2rem;
    }

    .page-hero {
        min-height: 28vh;
    }

    .page-hero-content h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: 1fr;
    }

    .brands-compact {
        grid-template-columns: repeat(2, 1fr) !important;
    }

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

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

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content h1 span {
        font-size: 1.4rem;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }
}
