/* 
    Ay Ofset Matbaa - V2 PREMIUM DESIGN SYSTEM
    Focus: High-End Industrial, Glassmorphism, Sophisticated Typography
*/

:root {
    /* Color Palette V2 */
    --clr-bg: #ffffff;
    --clr-bg-2: #fafafa;
    --clr-dark: #09090b;
    --clr-dark-2: #18181b;
    --clr-accent: #0ea5e9;
    --clr-accent-dark: #0369a1;
    --clr-cmyk-c: #00ffff;
    --clr-cmyk-m: #ff00ff;
    --clr-cmyk-y: #ffff00;
    --clr-border: rgba(0, 0, 0, 0.08);
    --clr-white: #ffffff;
    
    /* Layout */
    --container-wide: 1400px;
    --header-h: 90px;
    --section-gap: 160px;
    --card-radius: 24px;
    
    /* Transitions */
    --t-smooth: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Base & Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    color: var(--clr-dark);
    background-color: var(--clr-bg);
    line-height: 1.625;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

.container-wide {
    max-width: var(--container-wide);
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--t-smooth); }
img { max-width: 100%; display: block; }

/* UTILS */
.pre-title {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--clr-accent);
    margin-bottom: 1rem;
}

/* V2 HEADER - Floating & Sophisticated */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--t-smooth);
}

.main-header.scrolled {
    height: 75px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--clr-border);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--clr-dark);
    opacity: 0.65;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--clr-accent);
}

.header-divider {
    width: 1px;
    height: 30px;
    background: var(--clr-border);
}

.btn-premium-call {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0.8rem 1.75rem;
    background: var(--clr-dark);
    color: var(--clr-white);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-premium-call:hover {
    background: var(--clr-accent);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.2);
}

.btn-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; opacity: 0.6; white-space: nowrap; }
.btn-number { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.5px; white-space: nowrap; }

/* V2 HERO - High Impact */
.hero-v2 {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    color: var(--clr-white);
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}

.parallax-bg {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.4) saturate(1.1);
}

.hero-shading {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(9,9,11,0.95) 0%, rgba(9,9,11,0.3) 100%);
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 5.5rem);
    line-height: 1;
    font-weight: 300;
    margin-bottom: 2rem;
}

.hero-title strong {
    font-weight: 900;
    display: block;
    color: var(--clr-accent);
}

.hero-desc {
    font-size: 1.35rem;
    max-width: 550px;
    opacity: 0.7;
    margin-bottom: 3.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn-solid {
    background: var(--clr-white);
    color: var(--clr-dark);
    padding: 1.25rem 2.5rem;
    border-radius: 16px;
    font-weight: 700;
}

.btn-glass {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: var(--clr-white);
    padding: 1.25rem 2.5rem;
    border-radius: 16px;
    font-weight: 600;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 3rem;
    left: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.4;
}

/* V2 SERVICES */
.services-v2 {
    padding: var(--section-gap) 0;
    background: var(--clr-bg-2);
}

.v2-section-header {
    margin-bottom: 5rem;
}

.v2-section-header h2 {
    font-size: 3rem;
    font-weight: 800;
}

.services-v2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.v2-card {
    background: var(--clr-white);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: var(--t-smooth);
    border: 1px solid rgba(0,0,0,0.04);
}

.v2-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 40px 100px rgba(0,0,0,0.1);
}

.v2-card-img {
    height: 320px;
    overflow: hidden;
}

.v2-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: var(--t-smooth);
}

.v2-card:hover .v2-card-img img { transform: scale(1.1); }

.v2-card-content {
    padding: 3rem;
    position: relative;
}

.v2-card-icon {
    position: absolute;
    top: 3rem; right: 3rem;
    font-size: 3rem;
    font-weight: 900;
    opacity: 0.05;
    line-height: 1;
}

.v2-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.v2-card p { color: #666; font-size: 1.1rem; }

/* TECH SECTION */
.tech-section { padding: var(--section-gap) 0; }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8rem; align-items: center; }

.tech-features { margin-top: 3rem; display: grid; gap: 2.5rem; }
.tech-features strong { display: block; font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--clr-accent); }

.tech-visual { display: flex; gap: 2rem; }
.tech-box {
    flex: 1;
    background: var(--clr-dark);
    color: white;
    padding: 3.5rem 2rem;
    border-radius: var(--card-radius);
    text-align: center;
}

.tech-box.accent { background: var(--clr-accent); }
.tech-box .count { display: block; font-size: 3.5rem; font-weight: 900; margin-bottom: 0.5rem; }
.tech-box .label { opacity: 0.7; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; }

/* CONTACT V2 */
.contact-v2 { padding: var(--section-gap) 0; background: var(--clr-dark); color: white; }
.contact-v2-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 6rem; min-height: 600px; }

.map-wrap { border-radius: var(--card-radius); overflow: hidden; height: 100%; }

.contact-v2-info h2 { font-size: 3rem; font-weight: 800; margin-bottom: 3.5rem; }
.contact-details { display: grid; gap: 3rem; }
.c-item span { display: block; text-transform: uppercase; font-weight: 800; font-size: 0.8rem; color: var(--clr-accent); margin-bottom: 0.75rem; letter-spacing: 0.1em; }
.c-item p, .c-item a { font-size: 1.4rem; font-weight: 400; opacity: 0.8; }

/* FOOTER V2 */
.footer-v2 { padding: 5rem 0; border-top: 1px solid rgba(255,255,255,0.05); background: var(--clr-dark); color: white; }
.footer-v2-top { display: flex; justify-content: space-between; margin-bottom: 4rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.footer-v2-links { display: flex; gap: 3rem; font-weight: 600; opacity: 0.6; }

.footer-v2-bottom { display: flex; justify-content: space-between; opacity: 0.4; font-size: 0.9rem; }

/* RESPONSIVE V2 */
@media (max-width: 1200px) {
    .container { padding: 0 1.5rem; }
    .services-v2-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-grid { grid-template-columns: 1fr; gap: 4rem; }
}

@media (max-width: 900px) {
    .nav-main { display: none; }
    .mobile-toggle { display: flex; flex-direction: column; gap: 6px; }
    .mobile-toggle span { width: 30px; height: 3px; background: var(--clr-dark); border-radius: 10px; }
    
    .services-v2-grid { grid-template-columns: 1fr; }
    .contact-v2-grid { grid-template-columns: 1fr; }
    .map-wrap { height: 400px; order: 2; }
}

@media (max-width: 768px) {
    :root { --section-gap: 80px; }
    .hero-title { font-size: 3.5rem; }
    .hero-btns { flex-direction: column; }
    .btn-solid, .btn-glass { text-align: center; }
}
