/* =========================================
   Omnicom Clone - Global CSS
========================================= */

:root {
    /* Colors */
    --clr-bg: #ffffff;
    --clr-text: #1a1a1a;
    --clr-text-light: #555555;
    --clr-primary: #000000;
    --clr-secondary: #f4f4f4;
    --clr-accent: #0056b3; /* A corporate blue accent */
    --clr-border: #e0e0e0;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Spacing */
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Effects */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--space-xl) 0;
}

/* =========================================
   Buttons
========================================= */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--clr-primary);
}

.btn-secondary {
    background-color: var(--clr-bg);
    color: var(--clr-primary);
    border: 2px solid var(--clr-primary);
}

.btn-secondary:hover {
    background-color: var(--clr-primary);
    color: var(--clr-bg);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--clr-primary);
    margin-top: 1.5rem;
    position: relative;
}

.link-arrow i {
    transition: var(--transition-smooth);
}

.link-arrow:hover i {
    transform: translateX(5px);
}

.link-arrow::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--clr-primary);
    transition: var(--transition-smooth);
}

.link-arrow:hover::after {
    width: 100%;
}

/* =========================================
   Header & Navigation
========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--clr-bg);
    padding: 1.5rem 0;
    transition: padding var(--transition-smooth);
}

.header.scrolled {
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--clr-primary);
    display: none; /* Logo is hidden in top bar in the screenshot, or we can keep it small. Let's keep it but hidden for now to match exactly, or maybe it's just off-screen */
}

.nav-list {
    display: flex;
    gap: 3rem;
    margin: 0 auto;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--clr-primary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: currentColor;
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--clr-primary);
    transition: var(--transition-fast);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* =========================================
   Hero Section
========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--clr-bg);
    color: var(--clr-primary);
    overflow: hidden;
    padding-top: 80px; /* Offset for header */
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 800px;
    z-index: 2;
    padding-right: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 4rem;
    color: #222;
}

.hero-subtitle em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.hero-details {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.hero-detail-left {
    flex: 0 0 200px;
}

.hero-bold-text {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.gradient-line {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #ccc 0%, #000 100%);
    border-radius: 2px;
}

.hero-detail-right {
    flex: 1;
}

.hero-detail-right p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--clr-text-light);
    max-width: 500px;
}

/* =========================================
   About Section
========================================= */
.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-text-light);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2.5rem;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 2px;
    background-color: var(--clr-primary);
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--clr-text-light);
    margin-bottom: 1.5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-card {
    background-color: var(--clr-secondary);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--clr-primary);
    transition: transform var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--clr-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   Services Section
========================================= */
.services {
    background-color: var(--clr-secondary);
}

.section-header {
    margin-bottom: 4rem;
    max-width: 600px;
}

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

.service-card {
    background-color: var(--clr-bg);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid var(--clr-border);
}

.service-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-10px);
    border-color: var(--clr-primary);
}

.service-icon {
    font-size: 3rem;
    color: var(--clr-primary);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-desc {
    color: var(--clr-text-light);
    font-size: 1rem;
}

/* =========================================
   CTA Section
========================================= */
.cta {
    background-color: var(--clr-primary);
    color: var(--clr-bg);
    text-align: center;
    padding: 6rem 0;
}

.cta-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 2.5rem;
}

/* =========================================
   Footer
========================================= */
.footer {
    background-color: #111111;
    color: #ffffff;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.footer-desc {
    color: #999999;
    margin-bottom: 2rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #222222;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--clr-bg);
    color: var(--clr-primary);
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #999999;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--clr-bg);
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 2rem;
    text-align: center;
    color: #666666;
    font-size: 0.9rem;
}

/* =========================================
   Animations & Reveals
========================================= */
.reveal-text, .reveal-fade, .fade-in-up {
    opacity: 0;
}

.reveal-text.active {
    animation: revealText 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-fade.active {
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.3s;
}

.fade-in-up.active {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealText {
    0% {
        opacity: 0;
        transform: translateY(30px) skewY(5deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) skewY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Responsive Design
========================================= */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
        color: var(--clr-bg);
    }
    
    .header.scrolled .mobile-toggle {
        color: var(--clr-primary);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--clr-bg);
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
        transition: var(--transition-smooth);
        padding: 6rem 2rem;
    }

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

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

    .nav-link {
        color: var(--clr-primary) !important;
        font-size: 1.2rem;
    }

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