/* =============================================
   GLOCAL FILMS UK — GLOBAL DESIGN SYSTEM
   RESKIN HERE: change only this :root block
   to update every page on the entire site.
   Deep Blue-Black × Cannes Gold × White
   ============================================= */

:root {
    /* ---- Backgrounds (edit to change site palette) ---- */
    --bg:          #070d1c;   /* Main page background — deep blue-black */
    --bg-2:        #0b1226;   /* Secondary layer */
    --bg-glow:     #0f2040;   /* Radial gradient highlight */

    /* ---- Surfaces & Borders ---- */
    --surface:     rgba(255,255,255,0.04);
    --border:      rgba(255,255,255,0.09);

    /* ---- Accent (Cannes Gold) ---- */
    --gold:        #f0c040;
    --gold-dim:    rgba(240,192,64,0.12);

    /* ---- Text ---- */
    --white:       #ffffff;
    --muted:       rgba(255,255,255,0.55);

    /* ---- Misc ---- */
    --font:        'Montserrat', sans-serif;
    --r:           16px;
    --transition:  0.5s cubic-bezier(0.23, 1, 0.32, 1);
}


*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    background: radial-gradient(ellipse at 30% 15%, var(--bg-glow) 0%, var(--bg) 65%);
    background-attachment: fixed;
    color: var(--white);
    font-family: var(--font);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ---- Floating Icons ---- */
.bg-icon {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
    color: var(--gold);
}
.bg-icon-1 { top: 8%;  right: 6%;  animation: drift 14s ease-in-out infinite; }
.bg-icon-2 { top: 55%; left: 3%;   animation: drift 18s ease-in-out infinite reverse; }
.bg-icon-3 { bottom: 10%; right: 12%; animation: drift 11s ease-in-out infinite 2s; }

@keyframes drift {
    0%, 100% { transform: translate(0,0) rotate(0deg); }
    50%       { transform: translate(-15px, 25px) rotate(12deg); }
}

/* ---- Layout ---- */
.wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 3rem;
}

section { position: relative; z-index: 1; }

/* ---- Hero ---- */
#hero {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: stretch;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: calc(100vh - 64px);
    align-items: center;
}

.hero-left {
    display: flex;
    align-items: center;
    padding: 4rem 2rem 4rem 4rem;
}

.hero-left h1 {
    font-size: clamp(5rem, 14vw, 13rem);
    font-weight: 800;
    line-height: 0.84;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.hero-left h1 .films-uk { color: var(--gold); }

.hero-right {
    display: flex;
    align-items: center;
    padding: 4rem 4rem 4rem 3rem;
    border-left: 1px solid var(--border);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.75;
    max-width: 480px;
}

.hero-desc strong { color: var(--white); font-weight: 700; }


/* Tracker hidden */
.tracker { display: none; }

.tracker-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
}

.live-dot {
    width: 7px; height: 7px;
    background: #f0c040;
    border-radius: 50%;
    box-shadow: 0 0 8px #f0c040;
    animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

.tracker-scroll {
    overflow-y: auto;
    max-height: 300px;
    scrollbar-width: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.t-item {
    padding: 0.65rem 0.9rem;
    border-radius: 8px;
    border-left: 2px solid var(--border);
    background: var(--surface);
}

.t-item.active {
    border-left-color: var(--gold);
    background: var(--gold-dim);
}

.t-day {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold);
    display: block;
    white-space: nowrap;      /* keep day label on one line */
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.2rem;
}

.t-loc {
    font-size: 0.8rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.2rem;
}

.t-desc {
    font-size: 0.72rem;
    color: var(--muted);
    line-height: 1.4;
}

/* ---- Section Header ---- */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header .eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

/* ---- Divider ---- */
.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

/* ---- Visionaries ---- */
#visionaries {
    padding: 6rem 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.3));
}

.visionary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 860px;
    margin: 0 auto;
}

.vis-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.vis-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}

.vis-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(0.2) contrast(1.05);
    transition: filter var(--transition);
    display: block;
}

.vis-card:hover .vis-img { filter: grayscale(0) contrast(1); }

.vis-info {
    padding: 1.4rem 1.6rem;
}

.vis-role {
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--gold);
    font-weight: 700;
    display: block;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.vis-info h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.vis-info p {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.55;
}

/* ---- Current Project ---- */
#project {
    padding: 6rem 0;
}

.project-inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.project-inner h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.6rem;
}

.project-inner .tagline {
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    color: var(--muted);
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    font-weight: 600;
}

.poster-wrap {
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.9);
    border: 1px solid rgba(240,192,64,0.15);
    line-height: 0;
}

.poster-wrap img {
    width: 100%;
    display: block;
    border-radius: 40px;
}

/* ---- Dream Team ---- */
#team {
    padding: 6rem 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.1rem 1.3rem;
    transition: background var(--transition);
}

.team-card:hover { background: var(--gold-dim); }

.team-role {
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--gold);
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 700;
    text-transform: uppercase;
}

.team-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
}

/* ---- Bharat Pavilion ---- */
#pavilion {
    padding: 6rem 0;
    text-align: center;
}

.pavilion-img {
    width: 100%;
    max-width: 940px;
    border-radius: 28px;
    border: 1px solid var(--border);
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    display: block;
    margin: 2.5rem auto 0;
}

.pavilion-caption {
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    color: var(--muted);
    margin-top: 1.5rem;
    text-transform: uppercase;
}

/* ---- Footer ---- */
#footer {
    padding: 5rem 0 3rem;
    border-top: 1px solid var(--border);
    background: rgba(0,0,0,0.4);
}

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

.footer-brand h3 {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.footer-brand h3 span { color: var(--gold); }

.footer-brand p {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.6;
    max-width: 240px;
}

.footer-col h4 {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
    font-size: 0.85rem;
    color: var(--muted);
    text-decoration: none;
    transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--muted);
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .tracker { display: none; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .wrap { padding: 0 1.5rem; }

    /* Hero stacks to single column */
    .hero-inner {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }
    .hero-left { padding: 6rem 1.5rem 2rem; }
    .hero-right { padding: 0 1.5rem 4rem; border-left: none; border-top: 1px solid var(--border); padding-top: 2rem; }
    .hero-left h1 { font-size: clamp(4rem, 18vw, 8rem); }
    .hero-desc { max-width: 100%; }

    .visionary-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .contact-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}


/* =============================================
   NAVIGATION
   ============================================= */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.1rem 0;
    background: rgba(7, 13, 28, 0.88); /* matches --bg at 88% opacity */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--white);
}

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

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

.nav-links a {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: var(--muted);
    text-transform: uppercase;
    transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

/* Push body content below fixed nav */
body { padding-top: 64px; }

/* =============================================
   INNER PAGE HERO
   ============================================= */
.page-hero {
    padding: 5rem 0 4rem;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(to bottom, rgba(15,32,64,0.6), transparent);
}

.page-hero .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    color: var(--gold);
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin-bottom: 1.4rem;
}

.page-hero p {
    font-size: 1rem;
    color: var(--muted);
    max-width: 620px;
    line-height: 1.65;
}

/* =============================================
   INNER PAGE CONTENT
   ============================================= */
.page-content {
    padding: 5rem 0;
}

.prose {
    max-width: 760px;
}

.prose h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
    margin-top: 3rem;
    letter-spacing: -0.02em;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
    margin-top: 2rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.prose p {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.prose ul {
    padding-left: 1.4rem;
    margin-bottom: 1rem;
}

.prose ul li {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 0.4rem;
}

.prose a { color: var(--gold); text-decoration: none; }
.prose a:hover { text-decoration: underline; }

.highlight-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
}

.highlight-box p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--white);
    font-style: italic;
    line-height: 1.6;
}

.highlight-box cite {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: var(--gold);
    font-style: normal;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Role Card (Careers) */
.role-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 2.2rem;
    margin-bottom: 2rem;
}

.role-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.role-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.role-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 0.3rem 0.8rem;
    border-radius: 99px;
    text-transform: uppercase;
}

.role-tag.gold { background: var(--gold-dim); color: var(--gold); border: 1px solid var(--gold); }
.role-tag.muted { background: var(--surface); color: var(--muted); border: 1px solid var(--border); }

.role-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

.cta-btn {
    display: inline-block;
    margin-top: 1.4rem;
    padding: 0.75rem 2rem;
    background: var(--gold);
    color: #1a0505;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    transition: opacity var(--transition);
}

.cta-btn:hover { opacity: 0.85; }

/* Contact grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.contact-item h4 {
    font-size: 0.68rem;
    letter-spacing: 3px;
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.contact-item p, .contact-item a {
    font-size: 0.9rem;
    color: var(--muted);
    text-decoration: none;
    line-height: 1.6;
}

.contact-item a:hover { color: white; }

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
