/* CSS Reset & Variables */
:root {
    --color-primary: #0a192f;
    /* Midnight Blue */
    --color-secondary: #D4AF37;
    /* Rich Gold (Replaces Cyan) */
    --color-accent: #A8B2D1;
    /* Cool Slate/Silver (Replaces Gold/Bronze) */
    --color-text-light: #e6f1ff;
    --color-text-dark: #333333;
    --color-text-muted: #8892b0;
    --bg-dark: #020c1b;
    --bg-light: #ffffff;
    --nav-height: 80px;
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--color-text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Additional film frame overlay */
.film-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: url('assets/film_reel_trans.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08;
}

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--color-text-light);
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.placeholder-text {
    background-color: rgba(200, 162, 39, 0.2);
    color: var(--color-accent);
    font-style: italic;
    padding: 0 4px;
    border-radius: 4px;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: transparent;
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.btn-primary:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.btn-secondary {
    background-color: var(--color-accent);
    color: var(--bg-dark);
    border: none;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: #e0b62e;
    transform: translateY(-2px);
}

/* Navigation */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

.navbar {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-light);
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: 4px;
    /* Optional rounded corners */
}

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

.nav-links a:not(.btn-primary) {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--color-secondary);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: var(--nav-height);
    background: radial-gradient(circle at 15% 50%, rgba(10, 25, 47, 0.5) 0%, rgba(2, 12, 27, 0.65) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
    border-radius: 50%;
}

.hero-content {
    max-width: 700px;
}

.hero-text {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Sections General */
section {
    padding: 100px 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 3rem;
}

.section-header .divider {
    flex-grow: 1;
    height: 1px;
    background-color: #233554;
    max-width: 300px;
}

/* About Section */
.about-section {
    background-color: var(--color-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-text .lead {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.about-visual {
    position: relative;
    height: 400px;
    border: 2px solid var(--color-secondary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abstract-shape {
    width: 60%;
    height: 60%;
    background: var(--color-secondary);
    opacity: 0.1;
    transform: rotate(45deg);
}

/* Services Section */
.services-section {
    background-color: var(--bg-dark);
}

.subsection-header {
    margin-bottom: 2rem;
    border-left: 3px solid var(--color-secondary);
    padding-left: 1rem;
}

.subsection-header h3 {
    font-size: 1.8rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.subsection-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #112240;
    padding: 2.5rem;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.service-card .icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    background-color: #0b162a;
    /* Slightly lighter than bg-dark */
    padding-bottom: 150px;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    text-align: center;
}

.contact-info {
    max-width: 600px;
}

.info-item {
    margin-top: 2rem;
}

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

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.social-links a {
    color: var(--color-text-light);
    font-size: 1rem;
    padding: 8px 16px;
    border: 1px solid var(--color-secondary);
    border-radius: 4px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--color-secondary);
}


/* Footer */
footer {
    background-color: var(--bg-dark);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #233554;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-400 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--color-text-light);
        margin: 5px auto;
        transition: var(--transition);
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: var(--nav-height);
        background-color: var(--color-primary);
        height: calc(100vh - var(--nav-height));
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-visual {
        order: -1;
        height: 300px;
    }

}