:root {
    --bg-dark: #0f172a;
    --bg-dark-lighter: #1e293b;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #38bdf8;
    --accent-hover: #0ea5e9;
    --primary-btn: #38bdf8;
    --secondary-btn: transparent;
    --card-bg: #1e293b;
    --container-max-width: 1100px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-dark-lighter {
    background-color: var(--bg-dark-lighter);
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-btn);
    color: var(--bg-dark);
}

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

.btn-secondary {
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    cursor: pointer;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-title span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Hero Background Shapes */
.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(56, 189, 248, 0.1);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(14, 165, 233, 0.1);
    bottom: -50px;
    left: -50px;
}

/* Services */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-muted);
}

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

.service-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

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

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.project-card {
    display: block;
    background-color: var(--bg-dark-lighter);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: var(--transition);
}

.project-icon-img {
    width: 100px;
    height: 100px;
    transition: var(--transition);
}

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

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--transition);
}

.art-studio-bg {
    background: linear-gradient(45deg, #2c3e50, #000000);
    color: #fff;
}

.pizza-board-bg {
    background: linear-gradient(45deg, #e67e22, #d35400);
    color: #fff;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(56, 189, 248, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
    color: var(--bg-dark);
    font-weight: 700;
}

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

.project-card:hover .project-placeholder {
    transform: scale(1.1);
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.project-info p {
    color: var(--text-muted);
}

/* About */
.about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-content {
    flex: 1;
}

.about-list {
    margin-top: 20px;
}

.about-list li {
    margin-bottom: 10px;
    color: var(--accent);
    font-weight: 500;
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.visual-box {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--bg-dark-lighter) 0%, var(--accent) 100%);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    transform: rotate(5deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.visual-box span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.visual-box p {
    font-size: 2rem;
    text-align: center;
    line-height: 1;
}

/* Contact */
.contact-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-dark);
    padding: 50px;
    border-radius: 24px;
    text-align: center;
}

.contact-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-card a {
    color: var(--accent);
    font-weight: 600;
}

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

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

.footer-copy {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--bg-dark);
        width: 100%;
        height: calc(100vh - 80px);
        text-align: center;
        transition: 0.3s;
        padding-top: 40px;
        z-index: 1000;
    }

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

    .menu-toggle {
        display: block;
    }

    .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-flex {
        flex-direction: column;
    }

    .about-visual {
        margin-top: 40px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
