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

:root {
    --primary-color: #D4AF37;
    --primary-dark: #B8860B;
    --secondary-color: #1a1a2e;
    --bg-dark: #0f0f1a;
    --text-light: #ffffff;
    --text-gray: #b8b8b8;
    --accent-color: #ffd700;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif SC', serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(10px);
}

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

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo p {
    color: var(--text-gray);
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.nav-links {
    display: none;
    flex-direction: column;
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 15, 26, 0.98);
    padding: 20px;
}

.nav-links.active {
    display: flex;
}

.nav-links li {
    margin: 10px 0;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

.menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.hero {
    margin-top: 70px;
    position: relative;
}

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

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 30%;
    left: 10%;
    right: 10%;
    text-align: center;
    animation: slideUp 1s ease-out;
}

.carousel-caption h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-gray);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-gold {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-dark);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--secondary-color) 100%);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-gray);
}

.about-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    padding: 20px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.services {
    padding: 80px 0;
    background: var(--bg-dark);
}

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

.service-card {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon span {
    color: var(--bg-dark);
    font-size: 1.5rem;
    font-weight: 700;
}

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

.service-card p {
    color: var(--text-gray);
}

.cases {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--secondary-color) 100%);
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.case-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.case-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.case-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
    padding: 20px;
}

.case-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.case-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.news {
    padding: 80px 0;
    background: var(--bg-dark);
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.news-card {
    background: var(--secondary-color);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: block;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.news-content p {
    color: var(--text-gray);
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

.faq {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--secondary-color) 100%);
}

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

.faq-item {
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.1rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(212, 175, 55, 0.15);
}

.faq-question::after {
    content: '+';
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 20px 20px;
    color: var(--text-gray);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.contact {
    padding: 80px 0;
    background: var(--bg-dark);
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 15px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-item h4 {
    color: var(--text-light);
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-gray);
}

.contact-form {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-light);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-light);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.footer {
    background: var(--secondary-color);
    padding: 50px 0 20px;
}

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

.footer-logo h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-logo p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-links h4,
.footer-friend-links h4 {
    color: var(--text-light);
    margin-bottom: 15px;
}

.footer-links ul,
.footer-friend-links ul {
    list-style: none;
}

.footer-links li,
.footer-friend-links li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-friend-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-friend-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.8rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        background: none;
        padding: 0;
        gap: 25px;
    }

    .menu-toggle {
        display: none;
    }

    .carousel-caption {
        left: 20%;
        right: 20%;
    }

    .carousel-caption h2 {
        font-size: 3.5rem;
    }

    .about-content {
        flex-direction: row;
        align-items: center;
        gap: 50px;
    }

    .about-image {
        flex: 1;
    }

    .about-text {
        flex: 1;
    }

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

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

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

    .contact-content {
        flex-direction: row;
        gap: 50px;
    }

    .contact-info {
        flex: 1;
    }

    .contact-form {
        flex: 1;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .cases-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}