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

:root {
    --bg-primary: #f5f0e8;
    --accent: #fff;
    --black: #000;
    --white: #fff;
    --border-width: 5px;
}

body {
    font-family: 'Chakra Petch', sans-serif;
    background-color: var(--bg-primary);
    color: var(--black);
    line-height: 1.6;
    text-transform: lowercase;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Pixelify Sans', cursive;
    font-weight: 700;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    z-index: 1000;
    border-bottom: var(--border-width) solid var(--black);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'Pixelify Sans', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--black);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: color 0.3s cubic-bezier(.44,0,.56,1);
}

.nav-links a:hover {
    color: #888;
}

.nav-cta {
    background: var(--white);
    color: var(--black);
    padding: 12px 24px;
    border: var(--border-width) solid var(--black);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(.44,0,.56,1);
}

.nav-cta:hover {
    background: var(--black);
    color: var(--white);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--black);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: var(--black);
    text-decoration: underline;
    text-decoration-thickness: 4px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: var(--white);
    color: var(--black);
    padding: 16px 32px;
    border: var(--border-width) solid var(--black);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(.44,0,.56,1);
    display: inline-block;
}

.btn-primary:hover {
    background: var(--black);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--black);
    padding: 16px 32px;
    border: var(--border-width) solid var(--black);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(.44,0,.56,1);
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--black);
    color: var(--white);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-wrapper {
    border: var(--border-width) solid var(--black);
    overflow: hidden;
    background: var(--white);
    width: 500px;
    height: 500px;
    display: flex;
}

.hero-image img {
    object-fit: cover;
    display: block;
}

.placeholder-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #e8e3db 0%, #d9d4cc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Pixelify Sans', cursive;
    font-size: 1.5rem;
    color: #888;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    border-top: var(--border-width) solid var(--black);
    border-bottom: var(--border-width) solid var(--black);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--black);
    margin-bottom: 10px;
}

.stat-item p {
    font-weight: 500;
    letter-spacing: 1px;
}

/* Services Section */
.services {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    border: var(--border-width) solid var(--black);
    padding: 40px 30px;
    background: var(--white);
    transition: all 0.3s cubic-bezier(.44,0,.56,1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0 var(--black);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-primary);
    border: var(--border-width) solid var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

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

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: var(--black);
    color: var(--white);
}

.portfolio .section-header h2 {
    color: var(--white);
}

.portfolio .section-header p {
    color: #ccc;
}

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

.portfolio-item {
    border: var(--border-width) solid var(--white);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(.44,0,.56,1);
}

.portfolio-item:hover {
    transform: scale(1.02);
    box-shadow: 10px 10px 0 var(--white);
}

.portfolio-item .placeholder-image {
    height: 350px;
}

.portfolio-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border: var(--border-width) solid var(--black);
    overflow: hidden;
    max-height: 500px;
    align-content: center;
}

.about-image .placeholder-image {
    height: 600px;
}

.about-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

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

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-list {
    list-style: none;
    margin: 30px 0;
}

.about-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    font-weight: 500;
}

.about-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--black);
    font-weight: 700;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    border-top: var(--border-width) solid var(--black);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    border: var(--border-width) solid var(--black);
    padding: 40px;
    background: var(--white);
}

.testimonial-card p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--bg-primary);
    border: 3px solid var(--black);
    border-radius: 50%;
}

.author-info h4 {
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
}

.author-info span {
    font-size: 0.9rem;
    color: #666;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--white);
    border-top: var(--border-width) solid var(--black);
}

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

.contact h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-link {
    background: var(--black);
    color: var(--white);
    padding: 16px 32px;
    border: var(--border-width) solid var(--black);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(.44,0,.56,1);
}

.contact-link:hover {
    background: var(--white);
    color: var(--black);
}

/* Footer */
footer {
    padding: 40px 0;
    background: var(--black);
    color: var(--white);
    text-align: center;
}

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

.footer-logo {
    font-family: 'Pixelify Sans', cursive;
    font-size: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #888;
}

@media (max-width: 1023px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}

/* Mobile Responsive */
@media (max-width: 1023px) and (orientation: portrait) {
    .hero-text h1 {
        font-size: 3rem;
    }

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

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

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

    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image {
        order: -1;
    }
}

@media (max-width: 1024px) {
    .hero-image-wrapper {
        height: 300px;
        width: 300px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

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

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

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

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}
