/* ======================================================
   MORE THAN CONQUERS MEDIA – FINAL PERFECT CSS
   Works 100% on Cloudflare Pages / GitHub Pages
   ====================================================== */

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

body {
    font-family: 'Inter', sans-serif;
    color: #f9fafb;
    background: #0a0a0a;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout */
.container { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 2rem; 
}

/* Typography - Responsive with clamp() */
h1, h2, h3 {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #f9fafb;
}

h1 {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

p {
    font-size: clamp(1rem, 2vw, 1.15rem);
}

a { 
    color: #3b82f6; 
    text-decoration: none;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

/* =============== PARALLAX & HERO =============== */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    position: relative;
}

.parallax::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.68);
    pointer-events: none;
}

.hero {
    background:
        linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.88)),
        url('/images/mtc-web-design.webp') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* =============== NAVBAR =============== */
.navbar {
    position: fixed;
    top: 0; 
    left: 0; 
    right: 0;
    padding: 1rem 2rem;
    max-height: 90px;
    background: rgba(10,10,20,0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease, background 0.3s;
}

.navbar.scrolled { 
    background: rgba(10,10,20,0.99); 
}

.navbar.navbar-hidden {
    transform: translateY(-100%);
}

.logo img { 
    height: 55px;
    max-height: 55px;
}

.nav-links {
    display: flex;
    gap: 2.8rem;
    list-style: none;
}

.nav-links a {
    color: #f9fafb;
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.1rem);
    transition: color 0.3s;
}

.nav-links a:hover { 
    color: #60a5fa; 
}

.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
    background: none;
    border: none;
    padding: 0.5rem;
}

.hamburger-icon,
.close-icon {
    font-size: 2rem;
    font-weight: 300;
    display: block;
}

.close-icon {
    font-size: 2.5rem;
}

/* Mobile logo - hidden on desktop */
.mobile-logo {
    display: none;
}

/* =============== HERO CONTENT =============== */
.hero-overlay { 
    position: relative;
    z-index: 2; 
    padding: 2rem; 
    width: 100%; 
}

.hero-content h1 { 
    font-size: clamp(2.5rem, 7vw, 5.5rem); 
    margin-bottom: 1.2rem;
    color: #f9fafb;
}

.hero-content p { 
    font-size: clamp(1.1rem, 2.5vw, 1.35rem); 
    max-width: 860px; 
    margin: 0 auto 2.8rem; 
    opacity: 0.94;
    color: #f9fafb;
}

/* =============== BUTTONS =============== */
.cta-btn {
    background: #3b82f6;
    color: #fff;
    padding: 1.3rem 3.2rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    transition: all 0.35s;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(59,130,246,0.3);
}

.cta-btn:hover {
    background: #2563eb;
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(59,130,246,0.5);
}

/* =============== SECTIONS =============== */
.services, .about {
    padding: 130px 0;
    background: #111827;
    text-align: center;
    position: relative;
    z-index: 1;
}

.clients {
    padding: 140px 0;
    background: linear-gradient(120deg, #000000 30%, #011a38 60%);
    text-align: center;
    position: relative;
    z-index: 1;
}

.services h2, .clients h2, .about h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 4.5rem;
    color: #f9fafb;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3.5rem;
    margin-top: 2rem;
}

/* Service Cards */
.service-card {
    background: rgba(255,255,255,0.06);
    padding: 2.8rem 2rem;
    border-radius: 18px;
    transition: transform 0.45s, background 0.45s;
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-16px);
    background: rgba(255,255,255,0.09);
}

.service-card img {
    width: 140px;
    height: auto;
    border-radius: 14px;
    margin-bottom: 1.6rem;
}

.service-card h3,
.service-card p {
    color: #f9fafb;
}

.service-card h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.service-card p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

/* =============== CLIENTS SECTION – CIRCULAR + CENTERED =============== */
.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Circular logos + hover effect */
.clients-grid img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    border-radius: 360px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 3px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    opacity: 0.9;
}

.clients-grid img:hover {
    transform: translateY(-12px) scale(1.05);
    border-color: #3b82f6;
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.25);
    opacity: 1;
}

/* About */
.about .lead {
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    max-width: 960px;
    margin: 0 auto 3.5rem;
    opacity: 0.92;
}

.about-img {
    max-width: 320px;
    margin: 2rem auto;
    display: block;
}

/* =============== FREE TOOLS SECTION =============== */
.tools {
    padding: 130px 0;
    background: #0a0a0a;
    text-align: center;
    position: relative;
    z-index: 1;
}

.tools h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 1.5rem;
    color: #f9fafb;
}

.tools .lead {
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    max-width: 860px;
    margin: 0 auto 4rem;
    opacity: 0.92;
    color: #d1d5db;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.tool-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    border-radius: 18px;
    transition: transform 0.45s, background 0.45s, border-color 0.45s;
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tool-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.5);
}

.tool-icon {
    width: 100px;
    height: 100px;
    font-size: 3.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 3px solid rgba(59, 130, 246, 0.3);
}

.tool-card h3 {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    margin-bottom: 1rem;
    color: #f9fafb;
}

.tool-card p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: #d1d5db;
    margin-bottom: 2rem;
    flex-grow: 1;
    line-height: 1.6;
}

.tool-card .cta-btn {
    margin-top: auto;
}

/* =============== FOOTER =============== */
.footer {
    background: #0a0a0a;
    padding: 6rem 2rem 4rem;
    text-align: center;
    position: relative;
}

.footer::after {
    display: none;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer img { 
    margin-bottom: 2rem; 
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: auto;
    width: clamp(200px, 50vw, 340px);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.footer h2 { 
    margin: 2rem 0 2.5rem; 
    font-size: clamp(1.8rem, 4vw, 2.2rem); 
    position: relative;
    z-index: 3;
    color: #f9fafb;
}

.footer .small {
    color: #9ca3af;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    margin-top: 3rem;
}

/* =============== MOBILE =============== */
@media (max-width: 968px) {
    .hamburger { 
        display: block;
        position: relative;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0; 
        right: -100%;
        width: 100vw;
        height: 100vh;
        background: #0a0a0a;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.45s ease;
        z-index: 1000;
        padding: 2rem;
    }
    
    .nav-links.active { 
        right: 0; 
    }

    /* Close button positioning */
    .nav-links.active ~ .hamburger {
        position: fixed;
        top: 1.5rem;
        right: 2rem;
        z-index: 1001;
    }

    /* Show mobile logo in menu */
    .mobile-logo {
        display: block;
        margin-bottom: 2rem;
        margin-top: -2rem;
    }

    .mobile-logo img {
        width: 100px;
        height: auto;
    }
    
    .nav-links a { 
        font-size: clamp(1.4rem, 4vw, 1.8rem);
        margin: 1.2rem 0;
    }
    
    .services, .clients, .about { 
        padding: 90px 0; 
    }

    .clients-grid {
        gap: 2.5rem;
    }
    
    .clients-grid img {
        width: 120px;
        height: 120px;
        padding: 12px;
    }
}

/* =============== VANILLA SCROLL ANIMATIONS =============== */
[data-fade], [data-zoom] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

[data-zoom] {
    transform: translateY(30px) scale(0.92);
}

[data-fade].visible,
[data-zoom].visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
