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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: #e63946;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #c5303c;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid #333;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #333;
    color: #fff;
}

.cases .view-more .btn-secondary {
    color: #e2dada;
    border-width: 1px;
    border-style: solid;
    border-color: #d8caca;
}

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

.section-header p {
    font-size: 24px;
    font-weight: 700;
    color: #620000;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 3px;
    color: #999;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    transition: all 0.8s ease;
}

.navbar.scrolled {
    background-color: #620000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo h1 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
}

.logo p {
    color: #999;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu li a:hover {
    color: #e63946;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #e63946;
    transition: width 0.3s ease;
}

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

.nav-contact a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.nav-contact i {
    margin-right: 8px;
    color: #e63946;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-location {
    font-size: 20px;
    transition: all 0.3s ease;
}

.nav-location:hover {
    color: #e63946;
    transform: scale(1.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slides {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}



.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 20;
}

.hero-content .hero-text,
.hero-content .hero-title,
.hero-content .hero-btn {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.hero-content p {
    font-size: 42px;
    letter-spacing: 4px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease;
    font-weight: 600;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 20;
}

.hero-indicators span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicators span.active {
    background-color: #e63946;
    transform: scale(1.2);
}

.hero-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 20;
}

.hero-arrows button {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background-color: transparent;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-arrows button:hover {
    background-color: #e63946;
    border-color: #e63946;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cases {
    padding: 80px 0;
    background-color: #f8f8f8;
    background-image: url('../images/cases/cases-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.case-card {
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.case-card:hover {
    text-decoration: none;
    transform: translateY(-5px);
}

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

.case-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.case-card:hover .case-overlay {
    transform: translateY(0);
}

.case-overlay h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.case-overlay p {
    font-size: 12px;
    opacity: 0.8;
}

.case-info {
    padding: 20px;
}

.case-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.case-info p {
    font-size: 14px;
    color: #666;
}

.view-more {
    text-align: center;
    margin-top: 50px;
}

.team {
    padding: 80px 0;
    background-color: #fff;
}

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

.team-card {
    text-align: center;
}

.team-image {
    position: relative;
    margin-bottom: 20px;
}

.team-image img {
    width: 160px;
    height: 220px;
    border-radius: 0;
    object-fit: cover;
    border: 5px solid #f0f0f0;
    transition: all 0.3s ease;
}

.team-card:hover .team-image img {
    border-color: #e63946;
    transform: scale(1.05);
}

.team-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.team-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 3px;
}

.design-philosophy {
    margin-top: 60px;
    padding: 40px;
    background-color: #f8f8f8;
    text-align: center;
    border-radius: 8px;
}

.design-philosophy h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.design-philosophy p {
    font-size: 15px;
    color: #666;
    line-height: 2;
    max-width: 800px;
    margin: 0 auto;
}

.services {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.services .section-header p {
    color: #ffffff;
}

.advantages .section-header p {
    color: #ffffff;
}

.cases .section-header p {
    color: #ffffff;
}

.services .section-header h2 {
    color: rgba(255, 255, 255, 0.6);
}

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

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
}

.service-card:hover {
    background-color: rgba(230, 57, 70, 0.1);
    border-color: #e63946;
}

.service-number {
    font-size: 56px;
    font-weight: 700;
    color: #c41e3a;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-card:hover .service-number {
    color: #e63946;
    transform: scale(1.1);
}

.service-card h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.advantages {
    padding: 80px 0;
    background-color: #ffffff;
    background-image: url('../images/cases/youshi.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage-item {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #620000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.advantage-item:hover .advantage-icon {
    background-color: #c41e3a;
    transform: scale(1.1);
}

.advantage-icon i {
    font-size: 32px;
    color: #fff;
}

.advantage-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.advantage-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.brands {
    padding: 80px 0;
    background-color: #f8f8f8;
}

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

.brand-item {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(98, 0, 0, 0.3);
    transition: all 0.3s ease;
    border-radius: 8px;
}

.brand-item:hover {
    box-shadow: 0 12px 40px rgba(98, 0, 0, 0.45);
    transform: translateY(-3px);
}

.brand-item img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    margin-bottom: 12px;
}

.brand-item span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.brand-item {
    text-decoration: none;
}

.brand-item:hover {
    text-decoration: none;
}

.brand-item.brand-more {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.brand-item.brand-more i {
    font-size: 36px;
    color: #620000;
}

.brand-item.brand-more:hover i {
    transform: translateX(5px);
}

.about {
    padding: 80px 0;
    background-color: #fff;
}

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

.about-text p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: #f8f8f8;
}

.stat-item h3 {
    font-size: 32px;
    color: #e63946;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.about-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-images img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.about-images img:hover {
    transform: scale(1.02);
}

.image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.image-lightbox.active {
    display: flex;
}

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

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 1001;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.testimonials {
    padding: 80px 0;
    background-color: #fff;
}

.testimonials .section-header p {
    color: #620000;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 16px;
    margin: 0 2px;
}

.testimonial-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #620000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 20px;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.author-info p {
    font-size: 13px;
    color: #999;
    font-style: normal;
    margin-bottom: 0;
}

.footer {
    background-color: #640000;
    padding: 60px 0 20px;
    color: #fff;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 24px;
    margin-bottom: 5px;
}

.footer-logo p {
    font-size: 10px;
    color: #666;
    letter-spacing: 2px;
}

.footer-section p {
    color: #999;
    font-size: 14px;
    margin-top: 15px;
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #fff;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e63946;
}

.footer-section ul li i {
    margin-right: 10px;
    color: #e63946;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #c5c3c3;
    font-size: 15px;
}

.footer-bottom p a {
    color: #c5c3c3;
    text-decoration: none;
    margin-left: 20px;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: #1a1a1a;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
    }

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

    .nav-menu li {
        margin: 15px 0;
    }

    .nav-contact {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h2 {
        font-size: 32px;
        letter-spacing: 4px;
    }

    .hero-content p {
        font-size: 20px;
    }

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

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

    .about-images {
        flex-direction: column;
    }

    .about-images img {
        width: 100%;
        height: 200px;
    }

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

    .brand-item {
        flex: 0 0 calc(33.333% - 27px);
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 24px;
    }

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

    .brand-item {
        flex: 0 0 calc(50% - 20px);
    }
}