:root {
    /* Monochrome / Dark Premium Theme */
    --bg-color: #050505;
    --surface-color: #111111;
    --surface-light: #1a1a1a;
    --text-primary: #f0f0f0;
    --text-secondary: #999999;
    --accent: #ffffff;
    --border: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.2;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-center {
    text-align: center;
}

/* Typography Classes */
.section-subtitle {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--text-primary);
    color: var(--bg-color);
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--text-primary);
    color: var(--bg-color);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 70px; /* Slightly larger in case of padding */
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo-img:hover {
    opacity: 0.8;
}

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

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 5px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

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

.hero-bg .desktop-video,
.hero-bg img.mobile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Simulated Drone Pan Animation */
@keyframes dronePan {
    0% { transform: scale(1.05) translate(0, 0); }
    50% { transform: scale(1.12) translate(-1.5%, 1.5%); }
    100% { transform: scale(1.05) translate(0, 0); }
}

.hero-bg .drone-simulated-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: dronePan 40s ease-in-out infinite;
}

.hero-bg img.mobile-img {
    display: none;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(5,5,5,0.9) 0%, rgba(5,5,5,0.4) 100%);
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-content h2 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* About Section */
.about {
    padding: 8rem 0;
    background-color: var(--surface-color);
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

.stat-box {
    background: var(--surface-light);
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: var(--text-secondary);
}

.stat-box h3 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

/* Team Section */
.team-section {
    margin-top: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member {
    text-align: center;
}

.team-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem auto;
    border: 2px solid var(--border);
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: var(--transition);
}

.team-member:hover .team-img img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-info h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Projects Section */
.projects {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
}

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

.project-card {
    cursor: pointer;
}

.project-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    margin-bottom: 1.5rem;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65) grayscale(20%); /* Darkening filter for aesthetic */
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.8s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-img img {
    transform: scale(1.05);
    filter: brightness(0.85) grayscale(0%);
}

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

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background-color: var(--surface-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    background: var(--surface-light);
    padding: 4rem;
    border: 1px solid var(--border);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.info-items {
    display: grid;
    gap: 2rem;
}

.info-item h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo h2 {
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: var(--text-secondary);
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Mobile Sections Wrapper */
.mobile-sections-wrapper {
    display: none;
    overflow-x: hidden;
    width: 100%;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media screen and (max-width: 968px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        background: var(--surface-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        transition: var(--transition);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .hamburger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.toggle .line2 {
        opacity: 0;
    }
    
    .hamburger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .mobile-sections-wrapper {
        display: block;
    }

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

    .contact-wrapper {
        padding: 2rem;
    }
}
