:root {
    --primary-color: #a82e2e;
    --secondary-color: #8b6f47;
    --accent-color: #d4a574;
    --dark-bg: #2a2a2a;
    --light-bg: #f5f3f0;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #ddd;
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo {
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.logo-text:hover {
    color: var(--secondary-color);
}

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

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    padding-bottom: 0.25rem;
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* Main Content */
main {
    min-height: 60vh;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #a82e2e 0%, #8b6f47 100%);
    color: var(--white);
    padding: 120px 20px;
    text-align: center;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    opacity: 0.3;
}

.hero-illustration {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

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

.btn-primary:hover {
    background-color: #8b2424;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #8b6f47 0%, #a82e2e 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-hero .lead {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Sections */
section {
    padding: 80px 20px;
}

section h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-dark);
}

/* About Preview */
.about-preview {
    background-color: var(--light-bg);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

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

/* Services Grid */
.services-grid {
    background-color: var(--white);
}

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

.service-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

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

/* Why Us Section */
.why-us {
    background-color: var(--light-bg);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    border-left: 4px solid var(--primary-color);
}

.why-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    color: var(--primary-color);
}

.why-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.why-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.value-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    border-top: 4px solid var(--secondary-color);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* FAQ */
.faq {
    background-color: var(--white);
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    user-select: none;
    transition: background-color 0.3s ease;
}

.faq-item summary:hover {
    background-color: var(--light-bg);
}

.faq-item[open] summary {
    background-color: var(--light-bg);
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, #a82e2e 0%, #8b6f47 100%);
    color: var(--white);
    text-align: center;
}

.contact-cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* CTA Section */
.cta-section {
    background-color: var(--light-bg);
    text-align: center;
}

.cta-section h2 {
    color: var(--primary-color);
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

/* Services Detailed */
.services-detailed {
    max-width: 900px;
    margin: 0 auto;
}

.service-detail {
    margin-bottom: 3rem;
}

.service-detail h2 {
    color: var(--primary-color);
    text-align: left;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-detail p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-detail h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
}

.cut-list,
.feature-list {
    list-style: none;
    margin-bottom: 1rem;
}

.cut-list li,
.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    line-height: 1.6;
}

.feature-list li {
    padding-left: 1.5rem;
}

/* Timeline */
.timeline-section {
    background-color: var(--light-bg);
}

.timeline-section h2 {
    color: var(--primary-color);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--secondary-color);
    opacity: 0.3;
}

.timeline-item {
    margin-bottom: 3rem;
    width: 48%;
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
    text-align: right;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) {
    margin-left: 52%;
    padding-left: 2rem;
}

.timeline-year {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-light);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.step h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Quality Guarantee */
.guarantee-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.guarantee-item {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
    color: var(--text-light);
}

/* Contact Section */
.contact-section {
    background-color: var(--light-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    text-align: left;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.info-block {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--secondary-color);
}

.info-block h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.info-block p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
}

.contact-form h2 {
    text-align: left;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.4rem;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(168, 46, 46, 0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.form-group.checkbox input {
    width: auto;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
}

/* Visit Us Section */
.visit-us {
    background-color: var(--light-bg);
    text-align: center;
}

.visit-us p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 3rem 20px 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

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

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

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

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-illustration {
        width: 200px;
        height: 200px;
        right: 0;
        opacity: 0.5;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    section {
        padding: 60px 20px;
    }

    section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100%;
        margin: 0;
        text-align: left;
        padding: 0 0 2rem 2rem;
        border-left: 2px solid var(--secondary-color);
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 0.75rem;
        font-size: 0.9rem;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .hero {
        padding: 60px 15px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero-illustration {
        display: none;
    }

    section h2 {
        font-size: 1.5rem;
    }

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

    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}
