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

:root {
    --primary-color: #c8102e;
    --secondary-color: #1a1a1a;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: #fff;
}

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

.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

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

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.breadcrumb-wrapper {
    background: var(--light-gray);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    color: #999;
}

.project-detail {
    padding: 2rem 0;
}

.project-header {
    margin-bottom: 2rem;
}

.project-header h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.project-location {
    font-size: 1.1rem;
    color: #666;
}

.media-tabs {
    display: flex;
    gap: 1rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.slider-container {
    margin-bottom: 0;
}

.mainSwiper {
    width: 100%;
    height: 600px;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.mainSwiper .swiper-slide {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mainSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbSwiper {
    width: 100%;
    height: 120px;
    box-sizing: border-box;
    padding: 0 60px;
    position: relative;
}

.thumbSwiper .swiper-slide {
    width: 150px;
    height: 100px;
    opacity: 0.4;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.thumbSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbSwiper .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--primary-color);
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.thumb-next,
.thumb-prev {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
}

.thumb-next:after,
.thumb-prev:after {
    font-size: 16px;
}

.project-info-section {
    margin-top: 3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
}

.info-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-content {
    line-height: 1.8;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    font-weight: 600;
    color: var(--secondary-color);
}

.info-row .value {
    color: #666;
}

.info-row .value.status {
    color: #28a745;
    font-weight: 600;
}

.project-content {
    margin-top: 3rem;
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

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

.content-text {
    line-height: 1.8;
    color: #555;
}

.content-text p {
    margin-bottom: 1rem;
}

.other-projects {
    padding: 4rem 0;
    background: var(--light-gray);
}

.other-projects h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

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

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.project-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.project-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.project-info .location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.project-info .price {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
}

.footer {
    background: var(--secondary-color);
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-col p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

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

@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .project-header h1 {
        font-size: 1.8rem;
    }
    
    .mainSwiper {
        height: 400px;
    }
    
    .thumbSwiper {
        height: 80px;
        padding: 0 40px;
    }
    
    .thumbSwiper .swiper-slide {
        width: 100px;
        height: 60px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}
