:root {
    --bg: #FAF8F4;
    --surface: #FFFFFF;
    --surface-warm: #F5F2EC;
    --text: #2C2C2C;
    --text-secondary: #6B6B6B;
    --text-muted: #9A9A9A;
    --border: #E5E2DC;
    --border-strong: #D0CCC4;
    --accent: #C67A52;
    --accent-soft: #C67A5220;
    --positive: #5A9E6F;
}

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

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 60px;
    background-color: var(--surface);
    gap: 12px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--text);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: var(--text);
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

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

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 360px;
    background-image: url('https://images.unsplash.com/photo-1642006953667-45eb16727c89?w=1600');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 44, 44, 0.8);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 128px 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
}

/* Services Section */
.services {
    padding: 60px 80px;
    background-color: var(--surface);
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 36px;
    color: var(--text);
}

.section-subtitle {
    font-size: 16px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--surface-warm);
    padding: 32px 24px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-icon {
    color: var(--accent);
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
}

.service-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Machinery Section */
.machinery {
    padding: 60px 0;
    background-color: var(--bg);
}

.machinery .section-title,
.machinery .section-subtitle {
    padding: 0 80px;
}

.carousel-container {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 60px;
    margin-top: 36px;
}

.carousel-arrow {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 32px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.carousel-arrow:hover:not(:disabled) {
    background-color: var(--surface-warm);
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-arrow svg {
    color: var(--text);
}

.carousel-wrapper {
    position: relative;
    flex: 1;
    overflow: hidden;
    height: 450px;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

.carousel-fade {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 100%;
    background: linear-gradient(to right, transparent, var(--bg));
    pointer-events: none;
}

.machine-card {
    flex-shrink: 0;
    width: 350px;
    background-color: var(--surface);
    border-radius: 16px;
    overflow: hidden;
}

.machine-image {
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
}

.machine-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.machine-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
}

.machine-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.machine-price {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent);
}

/* Contact Section */
.contact {
    padding: 60px 80px;
    background-color: var(--surface);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 36px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    color: var(--accent);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-text {
    font-size: 18px;
    color: var(--text);
}

.contact-hours {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-photo {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
}

/* Footer */
.footer {
    background-color: var(--text);
    padding: 24px 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-title {
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
}

.footer-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }

    .logo-text {
        font-size: 14px;
    }

    .logo-icon {
        width: 20px;
        height: 20px;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 80px);
        background-color: var(--surface);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav.active {
        right: 0;
    }

    .nav-link {
        font-size: 16px;
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

    .hero {
        height: 280px;
    }

    .hero-content {
        padding: 80px 24px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .services {
        padding: 48px 24px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 14px;
    }

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

    .service-card {
        padding: 24px 20px;
        gap: 12px;
    }

    .service-icon {
        width: 28px;
        height: 28px;
    }

    .service-title {
        font-size: 18px;
    }

    .machinery {
        padding: 48px 0;
    }

    .machinery .section-title,
    .machinery .section-subtitle {
        padding: 0 24px;
    }

    .carousel-container {
        padding: 0 12px;
        gap: 12px;
    }

    .carousel-arrow {
        width: 48px;
        height: 48px;
        border-radius: 24px;
    }

    .carousel-arrow svg {
        width: 24px;
        height: 24px;
    }

    .carousel-wrapper {
        height: 360px;
    }

    .carousel-fade {
        width: 80px;
    }

    .machine-card {
        width: 200px;
    }

    .machine-image {
        height: 160px;
    }

    .machine-content {
        padding: 20px;
        gap: 10px;
    }

    .machine-title {
        font-size: 18px;
    }

    .machine-desc {
        font-size: 13px;
    }

    .machine-price {
        font-size: 22px;
    }

    .contact {
        padding: 48px 24px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-item {
        gap: 12px;
    }

    .contact-icon {
        width: 20px;
        height: 20px;
    }

    .contact-text {
        font-size: 16px;
    }

    .contact-photo {
        height: 240px;
    }

    .footer {
        padding: 24px 24px;
    }

    .footer-title {
        font-size: 12px;
    }

    .footer-subtitle {
        font-size: 10px;
    }
}
