/* 新粗野主义全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial Black', 'Helvetica', sans-serif;
    line-height: 1.4;
    color: #000;
    background: #FFFF00;
    font-weight: 900;
}

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

/* 新粗野主义导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #FF0000;
    border: 5px solid #000;
    border-top: none;
    z-index: 1000;
    box-shadow: 8px 8px 0px #000;
}

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

.nav-logo h2 {
    color: #FFFF00;
    font-weight: 900;
    font-size: 2rem;
    text-shadow: 3px 3px 0px #000;
    text-transform: uppercase;
}

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

.nav-link {
    text-decoration: none;
    color: #FFFF00;
    font-weight: 900;
    text-transform: uppercase;
    border: 3px solid #000;
    padding: 8px 16px;
    background: #FF0000;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover {
    background: #00FF00;
    color: #000;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0px #000;
}

.nav-link::after {
    display: none;
}

.nav-link:hover::after {
    display: none;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 新粗野主义主页横幅样式 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #00FF00;
    color: #000;
    text-align: center;
    overflow: hidden;
    border: 8px solid #000;
    margin: 8px;
    box-shadow: 12px 12px 0px #000;
    transform: rotate(-1deg);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
    text-shadow: 4px 4px 0px #FF0000;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 1;
    animation: fadeInUp 1s ease-out 0.2s both;
    font-weight: 700;
    text-transform: uppercase;
}

.cta-button {
    display: inline-block;
    padding: 20px 40px;
    background: #FF00FF;
    color: #000;
    text-decoration: none;
    border-radius: 0;
    font-weight: 900;
    border: 6px solid #000;
    transition: all 0.2s ease;
    animation: fadeInUp 1s ease-out 0.4s both;
    text-transform: uppercase;
    box-shadow: 6px 6px 0px #000;
}

.cta-button:hover {
    background: #00FFFF;
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0px #000;
}

/* 动画定义 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 章节通用样式 */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 图片作品集样式 */
.gallery-section {
    background: white;
}

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

.gallery-item {
    background: #FF00FF;
    border-radius: 0;
    overflow: hidden;
    border: 6px solid #000;
    box-shadow: 8px 8px 0px #000;
    transition: all 0.2s ease;
    cursor: pointer;
    transform: rotate(1deg);
}

.gallery-item:hover {
    transform: rotate(-1deg) translate(-4px, -4px);
    box-shadow: 12px 12px 0px #000;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 9/16;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 4px solid #000;
}

.placeholder-content {
    text-align: center;
    color: #9ca3af;
}

.placeholder-content svg {
    margin-bottom: 1rem;
    opacity: 0.7;
}

.placeholder-content p {
    font-size: 0.9rem;
    font-weight: 500;
}

.gallery-info {
    padding: 1.5rem;
}

.gallery-info h3 {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: #000;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #FFFF00;
}

.gallery-info p {
    color: #000;
    font-size: 0.95rem;
    font-weight: 700;
}

/* 视频作品集样式 */
.video-section {
    background: #f9fafb;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-item {
    background: #00FFFF;
    border-radius: 0;
    overflow: hidden;
    border: 6px solid #000;
    box-shadow: 8px 8px 0px #000;
    transition: all 0.2s ease;
    cursor: pointer;
    transform: rotate(-1deg);
}

.video-item:hover {
    transform: rotate(1deg) translate(-4px, -4px);
    box-shadow: 12px 12px 0px #000;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 9/16;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    border: 4px solid #000;
}

.video-placeholder .placeholder-content {
    color: rgba(255, 255, 255, 0.8);
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: #000;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #FF0000;
}

.video-info p {
    color: #000;
    font-size: 0.95rem;
    font-weight: 700;
}

/* 关于我们样式 */
.about-section {
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

/* 页脚样式 */
.footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    opacity: 0.8;
}

/* 新粗野主义模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #FFFF00;
    border: 10px solid #000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 8px solid #000;
    border-radius: 0;
    animation: zoomIn 0.3s ease;
    box-shadow: 16px 16px 0px #000;
    background: #FF00FF;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #000;
    font-size: 50px;
    font-weight: 900;
    cursor: pointer;
    z-index: 2001;
    text-shadow: 3px 3px 0px #FFFF00;
    background: #FF0000;
    padding: 10px 20px;
    border: 4px solid #000;
    transition: all 0.2s ease;
}

.close:hover {
    background: #00FF00;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0px #000;
}

.modal-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1rem;
}

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

@keyframes zoomIn {
    from { transform: translate(-50%, -50%) scale(0.8); }
    to { transform: translate(-50%, -50%) scale(1); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .hamburger {
        display: flex;
    }

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

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .gallery-info,
    .video-info {
        padding: 1rem;
    }

    .image-placeholder,
    .video-placeholder {
        height: 200px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 选择文本样式 */
::selection {
    background-color: #2563eb;
    color: white;
}

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

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

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}