:root {
    /* Color Palette */
    --bg-body: #f7f9fc;
    --white: #ffffff;
    --black: #111111;
    --text-dark: #000000;
    --text-muted: #4a4a4a;
    --border-color: #d1d5db;
    --accent: #000000;

    /* Shadows & Radii */
    --shadow-nav: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-container: 0 20px 50px rgba(0, 0, 0, 0.08);
    --shadow-pill: 0 8px 25px rgba(0, 0, 0, 0.06);
    --radius-large: 80px;
    --radius-small: 50px;
}

/* RESET & BASE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Playfair Display', Georgia, serif;
    /* Primary classic feel */
    background-color: var(--bg-body);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-top: 115px;
    /* offset for fixed header + topbar */
}

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

ul {
    list-style: none;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

.util-inter {
    font-family: 'Playfair Display', Georgia, serif;
}

.util-playfair {
    font-family: 'Playfair Display', Georgia, serif;
}

/* TOP BAR MARQUEE */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 35px;
    background-color: #ffffff;
    color: #444;
    overflow: hidden;
    white-space: nowrap;
    z-index: 1001;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eaeaea;
}

.top-bar-content {
    display: inline-block;
    white-space: nowrap;
    animation: scrollTopBar 25s linear infinite;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.85rem;
    font-weight: 500;
}

.top-bar-item {
    padding: 0 4rem;
}

@keyframes scrollTopBar {
    0% {
        transform: translateX(0);
    }

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

/* HEADER / NAVBAR */
header {
    position: fixed;
    top: 35px;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #f1f2f4;
    /* Light grey block from image */
    border-bottom: 3px solid #111;
    /* Distinct black bottom border */
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease;
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 2.2rem;
    font-family: 'Playfair Display', serif;
    /* Tall serif font to mimic image */
    font-weight: 400;
    letter-spacing: -1px;
    text-transform: uppercase;
    transform: scaleY(1.1);
    /* Stretch slightly vertically */
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.nav-links a {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: capitalize;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #666;
}

.nav-links a.active {
    background-color: var(--black);
    color: var(--white);
    padding: 0.4rem 1.4rem;
    border-radius: 50px;
}

.btn-nav {
    background-color: var(--black);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-small);
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-nav:hover {
    transform: scale(1.05);
    background-color: #333;
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-color: var(--black);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

/* Abstract Hero Background (Placeholder for Video/Image) */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.btn-large {
    display: inline-block;
    background-color: var(--white);
    color: var(--black);
    padding: 1rem 3rem;
    border-radius: var(--radius-small);
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* SECTION PADDINGS */
.section-pad {
    padding: 8rem 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
}

/* SERVICES SPLIT CONTAINERS */
.services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    align-items: center;
}

.split-container {
    display: flex;
    flex-direction: row;
    background-color: var(--white);
    max-width: 1400px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* elevated glassmorphism shadow */
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
    margin: 0 auto;
}

/* Alternating Radii */
.split-container.image-left {
    border-radius: 0 100px 100px 0;
}

.split-container.image-right {
    flex-direction: row-reverse;
    border-radius: 100px 0 0 100px;
}

.split-media {
    flex: 0 0 45%;
    position: relative;
    min-height: 400px;
    background-color: #e0e0e0;
}

.split-media video,
.split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.split-content {
    flex: 0 0 55%;
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
    color: var(--black);
}

.split-content .subtitle {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--black);
}

.pill-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.pill-list li {
    background-color: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--black);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    width: fit-content;
    line-height: 1.4;
}

.pill-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.cta-container {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-top: 0.5rem;
}

.image-left .cta-container {
    justify-content: center;
    padding-right: 2rem;
}

.image-right .cta-container {
    justify-content: center;
    padding-left: 2rem;
}

.btn-dark {
    background-color: var(--black);
    color: var(--white) !important;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: transform 0.2s, background-color 0.2s;
    font-family: 'Playfair Display', Georgia, serif;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-dark:hover {
    background-color: #333;
    transform: scale(1.03);
}

/* PROJECTS GRID */
.projects-bg {
    background-color: var(--black);
    color: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.project-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.project-card video,
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.project-card:hover img,
.project-card:hover video {
    transform: scale(1.1);
}

.project-card:hover::after {
    opacity: 1;
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 2rem;
    z-index: 2;
}

.project-info span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: #ccc;
}

.project-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

/* TESTIMONIALS */
.testimonials {
    background-color: var(--white);
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 0 2rem;
}

.testi-card {
    background: #fdfdfd;
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    text-align: center;
}

.testi-card p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #555;
}

.testi-card h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* FOOTER */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 6rem 2rem 2rem;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-col p,
.footer-col a {
    color: #a0a0a0;
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.8;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Playfair Display', Georgia, serif;
    color: #888;
    font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .split-content {
        padding: 4rem 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Add a hamburger menu for real implementation */

    .hero {
        min-height: 400px;
        height: 60vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-bg {
        object-position: center;
    }

    .split-container.image-left,
    .split-container.image-right {
        flex-direction: column;
        border-radius: 30px;
        border: 1px solid #e5e7eb;
    }

    .split-media {
        min-height: 300px;
    }

    .split-content {
        padding: 3rem 2rem;
        align-items: flex-start;
    }

    .cta-container {
        justify-content: center !important;
        padding: 0 !important;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}