/* ===========================
   Oberoi IBC — Shared Styles
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #0e0e10;
    --bg-light: #f5f4f2;
    --surface: #18181b;
    --text: #f5f4f2;
    --text-dark: #18181b;
    --muted: #a1a1aa;
    --accent: #e63946;
    --max-width: 1100px;
    --radius: 14px;
    --transition: 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Archivo Black', 'Inter', sans-serif;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

a {
    color: var(--accent);
    text-decoration: none;
}

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

/* ===== Header / Nav ===== */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(14, 14, 16, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.5rem;
}

.logo {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.4rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color var(--transition);
}

nav a:hover,
nav a:focus-visible {
    color: var(--accent);
}

/* ===== Layout helpers ===== */

main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

.section-label {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    display: block;
}

/* ===== Hero ===== */

.hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 0;
    animation: fadeUp 0.8s ease both;
}

.hero h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    margin-bottom: 1.25rem;
    max-width: 800px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 600px;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: var(--text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    padding: 1rem 2.25rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(230, 57, 70, 0.35);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text);
    color: var(--text);
}

.btn-outline:hover {
    background: var(--text);
    color: var(--bg);
}

/* ===== Grid layouts ===== */

.grid {
    display: grid;
    gap: 1.75rem;
}

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

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

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

/* ===== Cards ===== */

.card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform var(--transition), border-color var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.card p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* ===== Work thumbnails ===== */

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.work-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--surface);
    transition: transform var(--transition);
}

.work-item:hover {
    transform: scale(1.03);
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-item .work-tag {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(14, 14, 16, 0.8);
    color: var(--text);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

/* ===== Logos strip ===== */

.logo-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.logo-strip span {
    font-weight: 600;
    color: var(--muted);
    font-size: 0.95rem;
}

/* ===== Forms ===== */

form {
    display: grid;
    gap: 1.25rem;
    max-width: 600px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

input,
select,
textarea {
    width: 100%;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

/* ===== Footer ===== */

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem 0 2rem;
    margin-top: 3rem;
}

.footer-wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-wrap h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.footer-wrap p,
.footer-wrap a {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-wrap a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ===== About page specific ===== */

.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.values-banner {
    background: linear-gradient(135deg, var(--surface), var(--bg));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
}

.values-banner h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
}

/* ===== Animations ===== */

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

.fade-up {
    animation: fadeUp 0.7s ease both;
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
    .grid-3,
    .work-grid,
    .three-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 600px) {
    .nav-wrap {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .grid-2,
    .grid-3,
    .grid-5,
    .work-grid,
    .three-col,
    .footer-wrap {
        grid-template-columns: 1fr;
    }
}