@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

:root {
    --background: #050505;
    --surface: #0f1012;
    --surface-hover: #1a1b1e;

    --foreground: #ffffff;
    --foreground-muted: #d1d1d1;

    --primary: #00A3FF;
    --primary-glow: rgba(0, 163, 255, 0.4);

    --secondary: #8E2DE2;

    --accent-gradient: linear-gradient(135deg, #00A3FF 0%, #8E2DE2 100%);

    --font-main: 'Inter', sans-serif;

    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    color: var(--foreground);
    background: var(--background);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

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

.section {
    padding: 100px 0;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--foreground);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.navLinks {
    display: flex;
    gap: 2rem;
}

.navLink {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--foreground-muted);
    transition: color 0.3s;
}

.navLink:hover,
.navLink.active {
    color: var(--primary);
}

.navCtaButton {
    padding: 0.6rem 1.2rem;
    background: var(--accent-gradient);
    color: white;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.navCtaButton:hover {
    opacity: 0.9;
}

.mobileOnly {
    display: none;
}

/* Mobile Menu Button */
.menuBtn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}

.menuBtn span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--foreground);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger Animation */
.menuBtn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menuBtn.active span:nth-child(2) {
    opacity: 0;
}

.menuBtn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .menuBtn {
        display: flex;
    }

    .navLinks {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--surface);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 120px;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 1050;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .navLinks.active {
        right: 0;
    }

    .navLink {
        font-size: 1.5rem;
    }

    .mobileOnly {
        display: block;
    }

    .navCtaButton {
        display: none;
        /* Hide top CTA on mobile navbar to save space */
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--background);
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-height) + 80px) 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.4;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0));
}

.heroContent {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.heroTitle {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.heroSubtitle {
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

@media (max-width: 768px) {
    .heroTitle {
        font-size: 3rem;
    }

    .heroSubtitle {
        font-size: 1.1rem;
    }
}

/* Section Common */
.sectionTitle {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(to right, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* About Section */
.aboutContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.aboutText {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--foreground);
}

/* Business Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.cardImageWrapper {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.cardImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .cardImage {
    transform: scale(1.05);
}

.cardContent {
    padding: 30px;
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.card p {
    color: var(--foreground);
    line-height: 1.6;
}

/* Portfolio Grid */
.portfolioGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.portfolioCard {
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    cursor: pointer;
}

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

.portfolioCard:hover .portfolioImage {
    transform: scale(1.1);
}

.portfolioOverlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolioCard:hover .portfolioOverlay {
    opacity: 1;
}

.portfolioTitle {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* Contact Form */
.formContainer {
    max-width: 600px;
    margin: 0 auto;
    background: var(--surface);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.formGroup {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--foreground);
}

.input,
.textarea {
    background: var(--background);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    color: var(--foreground);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.input:focus,
.textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.button {
    background: var(--accent-gradient);
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 10px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.button:hover {
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--surface);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footerGrid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.brand p {
    color: var(--foreground-muted);
    font-size: 0.9rem;
    max-width: 300px;
}

.column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.column ul {
    list-style: none;
}

.column li {
    margin-bottom: 0.8rem;
}

.column a {
    color: var(--foreground-muted);
    font-size: 0.9rem;
}

.column a:hover {
    color: var(--primary);
}

.bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: var(--foreground-muted);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footerGrid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}