:root {
    --bg-color: #000000;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #2d2d2d;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* For custom cursor */
}

/* Custom Cursor */
#cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width 0.3s, height 0.3s;
}

body:hover #cursor {
    opacity: 1;
}

a:hover ~ #cursor, button:hover ~ #cursor {
    width: 40px;
    height: 40px;
}

/* Typography */
h1, h2, h3 {
    font-weight: 400;
    letter-spacing: -0.02em;
}

.section-title {
    font-family: var(--font-sans);
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    z-index: 100;
    display: flex;
    align-items: center;
}

.header-logo {
    max-height: 130px;
    width: auto;
    object-fit: contain;
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.6;
}

/* Layout */
.section {
    padding: 8rem 4rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Hero Section */
.hero {
    align-items: center;
    justify-content: center;
    padding-top: 0;
    position: relative;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
}

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

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 2;
    margin-top: 5rem;
}

.hero-left {
    max-width: 400px;
    margin-top: 8rem;
}

.hero-right {
    text-align: left;
}

.hero-title {
    font-family: var(--font-sans);
    font-size: 7rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.2;
}

.hero-text {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cccccc;
}

.hero-bottom {
    position: absolute;
    bottom: 4rem;
    left: 0;
    right: 0;
    padding: 0 4rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 2;
    width: 100%;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator .line {
    width: 50px;
    height: 1px;
    background: var(--text-primary);
}

.copyright {
    font-size: 0.9rem;
    font-family: var(--font-sans);
    font-style: italic;
    color: #cccccc;
}

/* About */
.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.about-left {
    flex: 1;
}

.about-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(255, 200, 100, 0.2);
}

.about .section-text {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.8;
}

/* Services Grid */
.services-container {
    display: flex;
    flex-direction: column;
}

.services-header {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
}

.plus-icon {
    font-size: 2rem;
    color: var(--text-secondary);
    font-weight: 100;
    margin-bottom: 1rem;
}

.services-title {
    font-family: var(--font-sans);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 400;
}

.services-intro {
    max-width: 600px;
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.6;
}

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

.service-column {
    display: flex;
    flex-direction: column;
}

.service-img-wrap {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 2rem;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-column:hover .service-image {
    transform: scale(1.05);
}

.service-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
}

.box-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: var(--font-sans);
    font-weight: 400;
}

.box-text {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Works */
.works-main-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 4rem;
}

.works-list {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.work-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.work-align-right {
    flex-direction: row-reverse;
}

.work-align-right .work-details {
    align-items: flex-end;
    text-align: right;
}

.work-align-right .work-number {
    margin-left: auto;
    margin-right: 0;
}

.work-media {
    flex: 1;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.work-media img, .video-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background-size: cover;
    background-position: center;
}

.play-btn {
    position: absolute;
    top: 50%;
    right: -2rem; /* Initial offset, will adjust based on alignment */
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-color);
    transition: transform 0.3s ease;
    z-index: 10;
}

.work-align-right .play-btn {
    right: auto;
    left: -2rem;
}

.play-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.play-btn svg {
    width: 30px;
    height: 30px;
}

.work-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.work-number {
    font-family: var(--font-sans);
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1;
}

.work-title {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.work-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer / Contact */
.footer {
    min-height: auto;
    padding-bottom: 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.footer-left {
    flex: 1;
}

.footer-main-title {
    font-size: 3.5rem;
    margin-bottom: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
}

.contact-item h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.contact-item a, .contact-item p {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.5;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.contact-image {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 4rem;
    padding-right: 4rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.designed-with span {
    font-family: 'Brush Script MT', cursive;
    font-size: 1.2rem;
    color: var(--text-primary);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1), transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-from-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1), transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}
.fade-from-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-from-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1), transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}
.fade-from-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* New About Extras (Mission & Values) */
.about-extras {
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}
.subsection-title {
    font-size: 1.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.about-values {
    margin-bottom: 2rem;
}
.values-list ul {
    list-style-type: disc;
    padding-left: 20px;
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.8;
}
.mission-text {
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.8;
}

/* Service Icons */
.service-icon {
    width: 48px;
    height: 48px;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

/* References Section */
.text-center {
    text-align: center;
}
.logo-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
}
.local-logos {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.regional-logos {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}
.reference-logo {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-weight: bold;
    text-align: center;
    padding: 1rem;
    transition: all 0.3s ease;
}
.reference-logo:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Awards Section */
.awards-text {
    text-align: center;
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.awards-images {
    display: flex;
    justify-content: center;
}
.award-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .section {
        padding: 4rem 2rem;
    }
    .hero-text {
        font-size: 2.5rem;
    }
    .footer-title {
        font-size: 3rem;
    }
    .navbar {
        padding: 1.5rem 2rem;
    }
    .nav-links {
        display: none; /* simple mobile fix */
    }
    .work-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .work-number {
        display: none;
    }
}
