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

:root {
    --primary-peach: #FFB88C;
    --secondary-cream: #FFF5EB;
    --accent-orange: #FF8C42;
    --dark-brown: #3D2817;
    --text-dark: #2C1810;
    --text-light: #6B5A4D;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Back to Portfolio Banner */
.back-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(61, 40, 23, 0.98);
    z-index: 3000;
    border-bottom: 2px solid var(--accent-orange);
}

.back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--accent-orange);
    background: rgba(255, 140, 66, 0.1);
}

.back-link svg {
    flex-shrink: 0;
}

/* Demo Watermark */
.demo-watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 140, 66, 0.05);
    z-index: 1;
    pointer-events: none;
    letter-spacing: 2rem;
}

/* Header */
.header {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    z-index: 2000;
    background: transparent;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.header.scrolled {
    background: rgba(255, 245, 235, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-brown);
}

.logo svg {
    stroke: var(--accent-orange);
}

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

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--dark-brown);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

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

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

/* Hero Section */
.hero {
    background: var(--primary-peach);
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 100px 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 500px;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--dark-brown);
}

.search-icon svg {
    stroke: var(--dark-brown);
}

.hero-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.coffee-image {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.coffee-image img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

.demo-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-orange);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.hero-right {
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.title-line.highlight {
    color: var(--secondary-cream);
    -webkit-text-stroke: 2px var(--dark-brown);
    margin: -10px 0;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    max-width: 400px;
}

.cursor-icon {
    position: absolute;
    bottom: 0;
    right: 50px;
}

.cursor-icon svg {
    stroke: var(--dark-brown);
}

.demo-notice {
    background: var(--dark-brown);
    color: var(--accent-orange);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-top: 2rem;
    display: inline-block;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--secondary-cream);
}

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

.section-label {
    display: inline-block;
    color: var(--accent-orange);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--dark-brown);
}

.about-text {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.demo-label {
    background: var(--accent-orange);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    display: inline-block;
    margin-top: 1rem;
}

.about-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark-brown);
    padding: 0.75rem 1.5rem;
    border-radius: 15px;
    font-weight: 700;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.demo-notice-small {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

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

.service-card {
    background: var(--secondary-cream);
    padding: 2.5rem 2rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-brown);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.demo-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-orange);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Portfolio Section */
.portfolio {
    padding: 6rem 0;
    background: var(--secondary-cream);
}

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

.portfolio-item {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

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

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem 1.5rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.demo-badge-small {
    background: var(--accent-orange);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Blog Section */
.blog {
    padding: 6rem 0;
    background: white;
}

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

.blog-card {
    background: var(--secondary-cream);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    color: var(--dark-brown);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.85rem;
}

.blog-content {
    padding: 2rem;
}

.blog-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-brown);
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--secondary-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-brown);
}

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

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--dark-brown);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 2px solid var(--secondary-cream);
    border-radius: 15px;
    font-size: 1rem;
    background: var(--secondary-cream);
    color: var(--text-dark);
}

.contact-form button {
    width: 100%;
    padding: 1rem;
    background: var(--accent-orange);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 700;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Footer */
.footer {
    background: var(--dark-brown);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-brand p {
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-orange);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-weight: 700;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--accent-orange);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 110px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 110px);
        background: rgba(255, 245, 235, 0.98);
        flex-direction: column;
        justify-content: center;
        transition: left 0.3s ease;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-left {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .portfolio-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .demo-watermark {
        font-size: 4rem;
    }
}
