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

@font-face {
    font-family: 'Faster One';
    src: url('Faster_One_font/FasterOne-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-blue: #e8f4f8;
    --yellow: #f5c842;
    --green: #22c55e;
    --dark: #1a1a2e;
    --gray: #666;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--bg-blue);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease;
}

.header.scrolled {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 60px;
    width: 60px;
}

.header-text {
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--dark);
    line-height: 1.2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header.scrolled .header-text {
    opacity: 1;
}

.header-dakota {
    color: var(--green);
}

.hamburger {
    background: none;
    border: none;
    width: 24px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--dark);
    transition: 0.3s;
    left: 0;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--bg-blue);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.menu-links {
    list-style: none;
    text-align: center;
}

.menu-link {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    padding: 1rem;
    text-decoration: none;
    color: var(--dark);
    opacity: 0;
    transform: translateY(20px);
    transition: 0.3s;
}

.mobile-menu.active .menu-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .menu-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .menu-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .menu-link:nth-child(4) { transition-delay: 0.25s; }

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.shape-yellow {
    position: absolute;
    top: -10%;
    right: -15%;
    width: 60%;
    height: 60%;
    background: var(--yellow);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(60px);
}

.shape-green {
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: var(--white);
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(50px);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-flow {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding-left: 6rem;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 2px solid var(--dark);
    box-shadow: 4px 4px 0 var(--dark);
}

.flow-step:first-child {
    margin-left: -5rem;
}

.flow-arrow {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green);
}

@media (min-width: 768px) {
    .logo-image {
        height: 80px;
        width: 80px;
    }

    .header-text {
        font-size: 1.1rem;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero-flow {
        padding-left: 0;
        justify-content: center;
    }

    .flow-step:first-child {
        margin-left: 0;
    }
}

.flow-icon {
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
}

.flow-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--dark);
}

.flow-arrow {
    font-size: 2rem;
    font-weight: 700;
    color: var(--green);
    flex-shrink: 0;
}

.hero-title {
    font-size: clamp(4.5rem, 20vw, 8rem);
    font-weight: 900;
    line-height: 0.85;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
}

.hero-title .highlight {
    color: var(--green);
}

.hero-description {
    font-size: clamp(1.25rem, 4vw, 2rem);
    color: var(--dark);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: inline-block;
    background: var(--yellow);
    color: var(--dark);
    border: 3px solid var(--dark);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 6px 6px 0 var(--dark);
    font-family: 'Inter', sans-serif;
}

.hero-cta:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--dark);
}

/* Projects */
.projects {
    background: var(--white);
    padding: 4rem 0;
    width: 100%;
    overflow: hidden;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

.carousel-container {
    position: relative;
    padding-bottom: 3rem;
}

.carousel {
    display: flex;
    gap: 1rem;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 1rem 1rem 1rem;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.project-card {
    flex: 0 0 92%;
    background: var(--white);
    border: 3px solid var(--dark);
    border-radius: 16px;
    padding: 1.25rem;
    scroll-snap-align: center;
    transition: all 0.3s ease;
    box-shadow: 8px 8px 0 var(--dark);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 450px;
}

/* Hover effect for desktop only */
@media (hover: hover) {
    .project-card:hover {
        transform: translate(-4px, -4px);
        box-shadow: 12px 12px 0 var(--dark);
    }
}

/* Toggle effect for touch devices */
.project-card.active {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 var(--dark);
}

.card-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-problem {
    background: var(--white);
    padding: 2rem 1.25rem 1.25rem;
    border-radius: 10px;
    border: 2px dashed var(--gray);
    min-height: 140px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    margin-top: 1rem;
}

.problem-pill {
    background: var(--white);
    padding: 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: absolute;
    top: -0.6rem;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.problem-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--gray);
    font-style: italic;
    padding: 0;
}

.card-divider {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    gap: 0.75rem;
}

.card-divider::before,
.card-divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--green);
}

.card-divider span {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 0.9rem;
    background: var(--white);
    color: var(--gray);
    border: 2px solid var(--green);
    border-radius: 20px;
}

.card-solution {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    text-align: center;
}

.card-logo {
    margin-bottom: 0.75rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-logo img {
    max-width: 100px;
    max-height: 70px;
    height: auto;
    width: auto;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.project-card[data-project="videovroom"] .card-title {
    font-family: 'Faster One', cursive;
    font-weight: 400;
}

.card-title-img {
    height: auto;
    max-height: 2rem;
    width: auto;
    margin-bottom: 0.5rem;
    display: block;
    flex-shrink: 0;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.4;
    flex-grow: 1;
}

.learn-more-btn {
    background: var(--yellow);
    color: var(--dark);
    border: 2px solid var(--dark);
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 var(--dark);
    font-family: 'Inter', sans-serif;
    flex-shrink: 0;
    margin-top: auto;
    min-width: 140px;
    text-align: center;
}

.learn-more-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--dark);
}

.coming-soon-btn {
    opacity: 0.7;
    cursor: not-allowed;
}

.coming-soon-btn:hover {
    transform: none;
    box-shadow: 4px 4px 0 var(--dark);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray);
    opacity: 0.3;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    padding: 0;
}

.dot.active {
    background: var(--green);
    opacity: 1;
    transform: scale(1.2);
}

/* About */
.about {
    background: var(--bg-blue);
    padding: 4rem 1rem;
    width: 100%;
    overflow: hidden;
}

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

.about-grid {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.about-photo {
    order: -1;
}

.about-photo img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-text p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-text .lead {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--dark);
    font-weight: 600;
    line-height: 1.4;
}

.link {
    color: var(--green);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}

.link:hover {
    border-bottom-color: var(--green);
}

/* Contact */
.contact {
    background: var(--white);
    padding: 4rem 1rem;
    width: 100%;
    overflow: hidden;
}

.contact .section-title {
    margin-bottom: 1rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-content {
    margin-top: 0rem;
}

.contact-intro {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray);
    margin-bottom: 2rem;
}

.email-link {
    display: inline-block;
    font-size: clamp(1rem, 3.5vw, 1.5rem);
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    padding: 1.25rem 2rem;
    background: var(--yellow);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(245, 200, 66, 0.3);
    max-width: 90%;
    word-break: break-word;
}

.email-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(245, 200, 66, 0.4);
}

/* Footer */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.5);
    padding: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* Desktop */
@media (min-width: 1024px) {
    .carousel {
        display: flex;
        justify-content: center;
        gap: 2rem;
        overflow-x: visible;
        scroll-snap-type: none;
        padding: 0 2rem;
    }

    .project-card {
        flex: 0 0 350px;
        height: 500px;
    }

    .carousel-dots {
        display: none;
    }

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

    .about-photo {
        order: 0;
    }

    .about-photo img {
        max-width: 375px;
    }
}
