/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f8f9fa;
    overflow-x: hidden;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

/* 页面加载动画 */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1A1A2E, #6A0572);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 滚动动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6A0572, #FF2E63);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a0462, #e02958);
}

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

/* 标题样式 */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #1A1A2E;
}

h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

h2 {
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #6A0572, #FFD700);
    margin: 15px auto 0;
}

h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, #6A0572, #FF2E63);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(106, 5, 114, 0.3);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.95);
}

.navbar.scrolled .logo h1,
.navbar.scrolled .nav-links a {
    color: white;
}

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

.logo h1 {
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(90deg, #6A0572, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #1A1A2E;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #6A0572;
}

.mobile-menu {
    display: none;
}

/* 英雄区 */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #1A1A2E, #6A0572);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=abstract%20creative%20design%20patterns%20with%20vibrant%20colors&image_size=landscape_16_9') center/cover;
    opacity: 0.15;
    z-index: 1;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(2deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

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

.hero h1 {
    color: white;
    font-size: 56px;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    to {
        text-shadow: 0 4px 25px rgba(106, 5, 114, 0.6);
    }
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1.5s ease-out 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.9;
    }
}

.hero .btn-primary {
    animation: fadeIn 1.5s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
}

.hero .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero .btn-primary:hover::before {
    left: 100%;
}

/* 最新动态 */
.news-preview {
    padding: 100px 0;
    background: white;
}

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

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

.news-card h3 {
    padding: 20px;
    padding-bottom: 10px;
}

.news-card p {
    padding: 0 20px 20px;
    color: #666666;
}

/* 服务项目 */
.services {
    padding: 100px 0;
    background: white;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=subtle%20geometric%20patterns%20light%20background&image_size=landscape_16_9') center/cover;
    opacity: 0.05;
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

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

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #6A0572, #FF2E63);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card .card-content {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #1A1A2E;
    font-weight: 700;
}

.service-card p {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-card .service-icon {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(90deg, #6A0572, #FF2E63);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(106, 5, 114, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(15deg);
}

/* 作品集 */
.portfolio {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=abstract%20artistic%20patterns%20light%20background&image_size=landscape_16_9') center/cover;
    opacity: 0.05;
    z-index: 0;
}

.portfolio .container {
    position: relative;
    z-index: 1;
}

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

.portfolio-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(106, 5, 114, 0.8), rgba(255, 46, 99, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.portfolio-item:hover::before {
    opacity: 1;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-item .portfolio-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .portfolio-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.portfolio-item h3 {
    margin-bottom: 10px;
    color: #1A1A2E;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.portfolio-item p {
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

.portfolio-item .view-project {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    color: #6A0572;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.portfolio-item:hover .view-project {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.portfolio-item .view-project:hover {
    background: #6A0572;
    color: white;
}

/* 客户案例 */
.clients {
    padding: 100px 0;
    background: white;
    position: relative;
}

.clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=subtle%20business%20patterns%20light%20background&image_size=landscape_16_9') center/cover;
    opacity: 0.05;
    z-index: 0;
}

.clients .container {
    position: relative;
    z-index: 1;
}

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

.client-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    padding: 40px 30px;
    position: relative;
    border: 1px solid #f0f0f0;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #6A0572, #FF2E63);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.client-card:hover::before {
    transform: scaleX(1);
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.client-card .client-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.client-card:hover .client-logo {
    background: linear-gradient(135deg, #6A0572, #FF2E63);
    transform: scale(1.1);
}

.client-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.client-card:hover img {
    filter: brightness(0) invert(1);
}

.client-card h3 {
    margin-bottom: 15px;
    color: #1A1A2E;
    font-weight: 700;
}

.client-card p {
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.client-card .client-rating {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 15px;
}

.client-card .star {
    color: #FFD700;
    font-size: 16px;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #1A1A2E, #6A0572);
    color: white;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=abstract%20creative%20patterns%20dark%20background&image_size=landscape_16_9') center/cover;
    opacity: 0.1;
    z-index: 0;
    animation: backgroundShift 20s ease-in-out infinite;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about h2 {
    color: white;
    position: relative;
}

.about h2::after {
    background: linear-gradient(90deg, #FFD700, #FF2E63);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.about-info {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.about-info:hover {
    transform: translateY(-10px);
}

.about-info h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 28px;
    position: relative;
    padding-bottom: 15px;
}

.about-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #FF2E63);
}

.about-info p {
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.6;
    font-size: 16px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    z-index: -1;
    transition: all 0.3s ease;
}

.about-image:hover::before {
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border-color: rgba(255, 255, 255, 0.4);
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-values {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.about-value {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.about-value:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.about-value .value-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.about-value h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 18px;
}

.about-value p {
    opacity: 0.8;
    font-size: 14px;
    line-height: 1.5;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=subtle%20abstract%20patterns%20light%20background&image_size=landscape_16_9') center/cover;
    opacity: 0.05;
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    margin-bottom: 20px;
    color: #1A1A2E;
    position: relative;
    padding-bottom: 10px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #6A0572, #FF2E63);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info p strong {
    color: #1A1A2E;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    margin-bottom: 20px;
    color: #1A1A2E;
    position: relative;
    padding-bottom: 10px;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #6A0572, #FF2E63);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #6A0572;
    box-shadow: 0 0 0 3px rgba(106, 5, 114, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .form-group {
    position: relative;
}

.contact-form .form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #999;
    font-size: 16px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.contact-form .form-group input:focus + label,
.contact-form .form-group input:not(:placeholder-shown) + label,
.contact-form .form-group textarea:focus + label,
.contact-form .form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    background: white;
    padding: 0 5px;
    font-size: 12px;
    color: #6A0572;
}

.contact-form .error {
    color: #FF2E63;
    font-size: 12px;
    margin-top: 5px;
}

.contact-form .success {
    color: #4CAF50;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

/* 页脚 */
.footer {
    background: #1A1A2E;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo h2 {
    color: white;
    margin-bottom: 10px;
    text-align: left;
}

.footer-logo h2::after {
    display: none;
}

.footer-logo p {
    opacity: 0.7;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFD700;
}

.footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-social h3 {
    color: white;
    margin-bottom: 20px;
}

.social-icons a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #FFD700;
}

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

/* 响应式设计 */
@media (max-width: 1024px) {
    .services-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .client-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .navbar .container {
        padding: 15px 20px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .navbar.scrolled .nav-links {
        background: rgba(26, 26, 46, 0.95);
    }
    
    .mobile-menu {
        display: block;
    }
    
    .menu-toggle {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: #1A1A2E;
        z-index: 1001;
    }
    
    .navbar.scrolled .menu-toggle {
        color: white;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .client-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content,
    .contact-content {
        flex-direction: column;
    }
    
    .about-info,
    .about-image,
    .contact-info,
    .contact-form {
        min-width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-logo,
    .footer-links,
    .footer-social {
        min-width: 100%;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .services,
    .portfolio,
    .clients,
    .about,
    .contact {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .btn-primary {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .client-grid {
        grid-template-columns: 1fr;
    }
    
    .services,
    .portfolio,
    .clients,
    .about,
    .contact {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .service-card,
    .portfolio-item,
    .client-card {
        margin-bottom: 20px;
    }
    
    .contact-info,
    .contact-form {
        padding: 20px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
}