
/* ==========================================
   KRIS GROPATSAKIS
   PROFESSIONAL VFX PORTFOLIO

   Version 1 — Responsive Design

   Concept B: Cinematic Dark
   Concept C: Editorial Light

   Shared typography and layout.
   Only colour palettes change.
========================================== */


/* ==========================================
   1. SHARED DESIGN SYSTEM
========================================== */

:root {

    /* Fonts */

    --font-logo:
        "Cormorant Garamond",
        Georgia,
        serif;

    --font-main:
        "Manrope",
        Arial,
        sans-serif;

    --font-heading:
        "Manrope",
        Arial,
        sans-serif;

    --font-ui:
        "Manrope",
        Arial,
        sans-serif;


    /* Font weights */

    --heading-weight: 200;
    --subtitle-weight: 300;
    --body-weight: 400;


    /* Font sizes */

    --intro-size:
        clamp(1.05rem, 1.65vw, 1.3rem);

    --credits-size: 1rem;
}


/* ==========================================
   2. CONCEPT B — CINEMATIC DARK
========================================== */

:root[data-theme="dark"] {

    color-scheme: dark;

    /* Backgrounds */
    --bg: #1c1c1c;
    --bg-secondary: #252323;

    /* Text */
    --text: #f2ece4;
    --muted: #bbb2a8;

    /* Accent */
    --accent: #dfb982;
    --border: #625b54;

    /* Buttons */
    --button-bg: #dfb982;
    --button-text: #201d19;
}


/* ==========================================
   3. CONCEPT C — EDITORIAL LIGHT
========================================== */

:root[data-theme="light"] {

    color-scheme: light;

    /* Backgrounds */
    --bg: #f3efe7;
    --bg-secondary: #eae4db;

    /* Text */
    --text: #29231e;
    --muted: #695f56;

    /* Accent */
    --accent: #a47b50;
    --border: #b6a99a;

    /* Buttons */
    --button-bg: #29231e;
    --button-text: #ffffff;
}


/* ==========================================
   4. GLOBAL STYLES
========================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background-color: var(--bg);
    color: var(--text);

    font-family: var(--font-main);
    font-weight: var(--body-weight);

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.page {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;

    padding:
        0 clamp(24px, 5vw, 80px);
}


/* ==========================================
   5. HEADER
========================================== */

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

    gap: 24px;
    padding: 38px 0;
}


/* KG MONOGRAM */

.logo {
    font-family: var(--font-logo);

    font-size: 2.8rem;
    font-weight: 600;

    letter-spacing: -0.06em;
    line-height: 1;

    flex-shrink: 0;
}


/* NAVIGATION */

nav {
    display: flex;
    align-items: center;

    gap: clamp(16px, 3vw, 40px);
    margin-left: auto;
}

nav a {
    font-family: var(--font-ui);

    font-size: 0.9rem;
    font-weight: 400;

    line-height: 1.5;
    padding-bottom: 8px;

    border-bottom:
        2px solid transparent;

    transition:
        border-color 0.2s ease;
}

nav a:hover,
nav a.active {
    border-color: var(--accent);
}


/* THEME SWITCHER */

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    flex-shrink: 0;

    background: transparent;
    color: var(--text);

    border:
        1px solid var(--border);

    border-radius: 50%;

    font-family: var(--font-ui);
    font-size: 1.25rem;

    cursor: pointer;
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    border-color: var(--accent);
}


/* ==========================================
   6. HERO SECTION
========================================== */

.hero {
    display: flex;
    align-items: center;

    min-height: auto;

    padding: 80px 0 110px;
}

.hero-content {
    width: 100%;
    max-width: 900px;
}


/* MAIN HEADING */

h1 {
    font-family: var(--font-heading);

    font-size:
        clamp(3rem, 6.5vw, 6rem);

    font-weight: var(--heading-weight);

    letter-spacing: -0.035em;
    line-height: 1.1;

    margin: 0 0 18px;
}


/* PROFESSIONAL TITLE */

.hero h2 {
    font-family: var(--font-heading);

    font-size:
        clamp(1.2rem, 2.5vw, 2rem);

    font-weight: var(--subtitle-weight);

    font-style: normal;
    line-height: 1.35;

    margin: 0;
}


/* ==========================================
   7. ACCENT AND INTRODUCTION
========================================== */

.accent-line {
    width: 75px;
    height: 3px;

    background-color: var(--accent);

    margin: 54px 0 36px;
}


/* INTRODUCTION */

.intro {
    max-width: 650px;

    font-family: var(--font-main);

    font-size: var(--intro-size);
    font-weight: var(--body-weight);

    line-height: 1.4;

    margin: 0;
}


/* ==========================================
   8. BUTTONS
========================================== */

.actions {
    display: flex;
    flex-wrap: wrap;

    gap: 16px;
    margin-top: 42px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 13px 24px;
    min-height: 46px;

    font-family: var(--font-ui);
    font-size: 0.88rem;
    font-weight: 500;

    line-height: 1.3;

    border:
        1px solid var(--border);

    border-radius: 4px;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}


/* PRIMARY SHOWREEL BUTTON */

.button.primary {
    background-color: var(--button-bg);
    color: var(--button-text);

    border-color: var(--button-bg);
}


/* SECONDARY CONTACT BUTTON */

.button.secondary {
    background: transparent;
    color: var(--text);
}

.button.secondary:hover {
    background: var(--bg-secondary);
}


/* ==========================================
   9. SELECTED PRODUCTIONS — MARQUEE
========================================== */

.productions-section {
    padding: 20px 0 100px;
}


/* SMALL HEADING */

.productions-heading {
    margin: 0 0 24px;

    color: var(--muted);

    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;

    letter-spacing: 0.12em;
    line-height: 1.5;
}


/* TWO ACCENT LINES */

.marquee {
    width: 100%;

    border-top: 1px solid var(--accent);
    border-bottom: 1px solid var(--accent);
}


/* VISIBLE WINDOW */

.marquee-window {
    overflow: hidden;

    /* More compact on desktop */
    padding: 16px 0;
}


/* MOVING TRACK */

.marquee-track {
    display: flex;
    width: max-content;

    animation:
        marquee-scroll 90s linear infinite;
}


/* PRODUCTION LIST */

.marquee-list {
    display: flex;
    align-items: center;

    flex-shrink: 0;

    gap: 28px;
    padding: 0 28px 0 0;
    margin: 0;

    list-style: none;
}


/* INDIVIDUAL PRODUCTIONS */

.marquee-list li {
    display: flex;
    align-items: center;

    flex-shrink: 0;
    gap: 28px;

    white-space: nowrap;

    color: var(--text);

    font-family: var(--font-main);

    font-size:
        clamp(0.95rem, 1.8vw, 1.3rem);

    font-weight: 300;

    letter-spacing: -0.025em;
    line-height: 1.4;
}


/* GOLD / BRONZE SEPARATOR */

.marquee-list li::after {
    content: "✦";

    color: var(--accent);

    font-size: 0.7rem;
    line-height: 1;
}


/* CONTINUOUS SCROLL */

@keyframes marquee-scroll {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* PAUSE ON HOVER */

.marquee:hover .marquee-track {
    animation-play-state: paused;
}


/* ==========================================
   10. CONTACT SECTION
========================================== */

.contact-section {
    padding: 80px 0;

    border-top:
        1px solid var(--border);
}

.contact-section h2 {
    font-family: var(--font-heading);

    font-size: 2.5rem;
    font-weight: var(--heading-weight);

    line-height: 1.2;
    margin: 0 0 24px;
}

.contact-section p {
    color: var(--muted);

    font-family: var(--font-main);
    font-size: 1.1rem;

    line-height: 1.6;
}


/* CONTACT INTRODUCTION */

.contact-intro {
    max-width: 580px;
    margin-bottom: 36px;
}


/* CONTACT LINKS */

.contact-links {
    max-width: 650px;
    border-top: 1px solid var(--border);
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
    padding: 24px 0;

    border-bottom: 1px solid var(--border);

    transition: color 0.2s ease;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 8px;

    min-width: 0;
}

.contact-label {
    color: var(--muted);

    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 500;

    letter-spacing: 0.12em;
}

.contact-value {
    font-family: var(--font-ui);

    font-size:
        clamp(0.95rem, 1.5vw, 1.15rem);

    font-weight: 400;
    overflow-wrap: anywhere;
}

.contact-arrow {
    color: var(--accent);
    font-size: 1.5rem;

    transition: transform 0.2s ease;
}

.contact-link:hover {
    color: var(--accent);
}

.contact-link:hover .contact-arrow {
    transform: translate(3px, -3px);
}


/* ==========================================
   11. FOOTER
========================================== */

.site-footer {
    display: flex;
    justify-content: space-between;

    gap: 20px;
    padding: 30px 0;

    border-top:
        1px solid var(--border);

    color: var(--muted);

    font-family: var(--font-ui);
    font-size: 0.85rem;
}


/* ==========================================
   12. ACCESSIBILITY
========================================== */

a:focus-visible,
button:focus-visible {
    outline:
        2px solid var(--accent);

    outline-offset: 5px;
}


/* ==========================================
   13. MOBILE RESPONSIVENESS
========================================== */

@media (max-width: 650px) {

    .site-header {
        flex-wrap: wrap;
        padding: 24px 0;
    }

    .logo {
        font-size: 2.2rem;
    }

    nav {
        order: 3;
        width: 100%;
        justify-content: space-between;
    }

    /* Reduced mobile Hero spacing */
    .hero {
        min-height: auto;
        padding: 55px 0 65px;
    }

    .accent-line {
        margin: 36px 0;
    }

    .actions {
        gap: 12px;
        margin-top: 36px;
    }

    .button {
        padding: 12px 20px;
    }

    .productions-section {
        padding: 10px 0 70px;
    }

    /* Slightly more breathing room on mobile */
    .marquee-window {
        padding: 18px 0;
    }

    .marquee-list {
        gap: 20px;
        padding-right: 20px;
    }

    .marquee-list li {
        gap: 20px;
    }

    .site-footer {
        flex-direction: column;
    }
}


/* ==========================================
   14. REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

    .marquee-window {
        overflow-x: auto;
    }

    .marquee-list[aria-hidden="true"] {
        display: none;
    }
}
