/* ========================================
   三峽攝影之旅 - 大氣風景電影海報風
   ======================================== */

/* CSS Variables */
:root {
    /* Primary Colors */
    --color-deep-blue: #1A3A5C;
    --color-deep-blue-dark: #0F2840;
    --color-deep-blue-light: #2A4A6C;
    --color-gold: #D4AF37;
    --color-gold-light: #E5C158;
    --color-gold-dark: #B8962E;
    --color-white: #FFFFFF;
    --color-white-off: #F8F8F8;

    /* Neutral Colors */
    --color-black: #0A0A0A;
    --color-black-light: #1A1A1A;
    --color-gray: #888888;
    --color-gray-light: #CCCCCC;

    /* Typography */
    --font-display: 'Aboreto', 'Playfair Display', Georgia, serif;
    --font-sans: 'Noto Sans TC', 'Microsoft YaHei', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.4);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Layout */
    --header-height: 80px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-deep-blue-dark);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.3;
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* Section Styling */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    color: var(--color-white);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.section-desc {
    font-size: 18px;
    color: var(--color-gray-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-deep-blue-dark);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-deep-blue-dark);
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(10, 40, 64, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--color-white);
    letter-spacing: 2px;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 15px;
    color: var(--color-white);
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition-fast);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 40, 64, 0.4) 0%,
        rgba(10, 40, 64, 0.6) 50%,
        rgba(10, 40, 64, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.hero-tag {
    display: inline-block;
    font-size: 14px;
    color: var(--color-gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 10vw, 96px);
    color: var(--color-white);
    letter-spacing: 8px;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 28px);
    color: var(--color-gold);
    letter-spacing: 6px;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.7s;
}

.hero-desc {
    font-size: 16px;
    color: var(--color-gray-light);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.9s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 1.1s;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    font-size: 12px;
    letter-spacing: 2px;
    opacity: 0.7;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--color-white);
    border-bottom: 2px solid var(--color-white);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
    40% { transform: rotate(45deg) translateY(8px); }
    60% { transform: rotate(45deg) translateY(4px); }
}

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

/* Slideshow Controls */
.slideshow-controls {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.slideshow-prev,
.slideshow-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.slideshow-prev svg,
.slideshow-next svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-white);
}

.slideshow-prev:hover,
.slideshow-next:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.slideshow-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.dot.active {
    background: var(--color-gold);
    transform: scale(1.2);
}

/* ========================================
   Best Shooting Spots Section
   ======================================== */
.spots {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--color-deep-blue-dark) 0%, var(--color-deep-blue) 100%);
}

.spots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.spot-card {
    overflow: hidden;
    transition: transform var(--transition-normal);
}

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

.spot-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.spot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.spot-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    background: var(--color-gold);
    color: var(--color-deep-blue-dark);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
}

.spot-badge-mist {
    background: var(--color-white);
}

.spot-badge-sunset {
    background: #FF6B35;
    color: var(--color-white);
}

.spot-content {
    padding: 20px;
}

.spot-title {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--color-deep-blue-dark);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.spot-desc {
    font-size: 14px;
    color: var(--color-gray);
    margin-bottom: 12px;
    line-height: 1.6;
}

.spot-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spot-time {
    font-size: 12px;
    color: var(--color-gold);
    letter-spacing: 0.5px;
}

/* ========================================
   Photography Tips Section
   ======================================== */
.tips {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.tips-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.tips-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 40, 64, 0.85);
}

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

.tips-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tip-card {
    padding: 32px;
    text-align: center;
    transition: transform var(--transition-normal);
}

.tip-card:hover {
    transform: translateY(-8px);
}

.tip-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
}

.tip-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-gold);
}

.tip-title {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--color-deep-blue-dark);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.tip-desc {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.tip-keyword {
    font-size: 12px;
    color: var(--color-gold);
    letter-spacing: 1px;
}

/* ========================================
   Gallery Section (Masonry)
   ======================================== */
.gallery {
    padding: 120px 0;
    background: var(--color-deep-blue);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 14px;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-deep-blue-dark);
}

.gallery-masonry {
    column-count: 3;
    column-gap: 20px;
}

.gallery-item {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    break-inside: avoid;
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-tall img {
    height: 400px;
    object-fit: cover;
}

.gallery-item-wide img {
    height: 250px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(transparent, rgba(10, 40, 64, 0.9));
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--color-white);
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.gallery-overlay p {
    font-size: 13px;
    color: var(--color-gold);
}

/* ========================================
   Route Section
   ======================================== */
.route {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.route-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-deep-blue-dark) 0%, var(--color-deep-blue) 50%, var(--color-deep-blue-dark) 100%);
}

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

.route-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.route-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.route-item:last-child {
    margin-bottom: 0;
}

.route-time {
    flex-shrink: 0;
    width: 80px;
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--color-gold);
    letter-spacing: 2px;
}

.route-content {
    flex: 1;
    padding: 28px;
}

.route-title {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--color-deep-blue-dark);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.route-desc {
    font-size: 15px;
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.route-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.route-highlights span {
    padding: 6px 14px;
    font-size: 12px;
    background: var(--color-deep-blue);
    color: var(--color-gold);
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
}

/* ========================================
   Equipment Section
   ======================================== */
.gear {
    padding: 120px 0;
    background: var(--color-deep-blue-dark);
}

.gear-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gear-card {
    padding: 36px;
    text-align: center;
    transition: transform var(--transition-normal);
}

.gear-card:hover {
    transform: translateY(-8px);
}

.gear-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
}

.gear-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-gold);
}

.gear-title {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--color-deep-blue-dark);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.gear-desc {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.7;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    position: relative;
    padding: 80px 0 30px;
    background: var(--color-black);
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 58, 92, 0.3) 100%);
}

.footer-main {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
}

.footer-logo span {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--color-white);
    letter-spacing: 2px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-list li a,
.footer-list li span {
    font-size: 14px;
    color: var(--color-gray-light);
    transition: color var(--transition-fast);
}

.footer-list li a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 13px;
    color: var(--color-gray);
}

.footer-friend-links {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: var(--color-gray);
}

.footer-friend-links a {
    color: var(--color-gray-light);
    transition: color var(--transition-fast);
}

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

/* ========================================
   Lightbox
   ======================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox-close svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-white);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.lightbox-nav:hover {
    background: var(--color-gold);
}

.lightbox-nav svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-white);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-caption {
    margin-top: 20px;
}

.lightbox-caption h4 {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--color-white);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.lightbox-caption p {
    font-size: 14px;
    color: var(--color-gold);
}

/* ========================================
   Animations
   ======================================== */
.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
    .spots-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

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

    .gallery-masonry {
        column-count: 2;
    }

    .footer-main {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-deep-blue-dark);
        padding: 100px 40px 40px;
        transition: right var(--transition-normal);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 24px;
    }

    .nav-link {
        font-size: 18px;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .hero-title {
        letter-spacing: 4px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .slideshow-controls {
        display: none;
    }

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

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

    .gallery-masonry {
        column-count: 1;
    }

    .route-item {
        flex-direction: column;
        gap: 12px;
    }

    .route-time {
        width: auto;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

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

/* ========================================
   Article Page Styles (文章頁面樣式)
   ======================================== */

.article-main {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, #1A3A5C 0%, #0D1F30 50%, #1A3A5C 100%);
}

.article {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.article h1 {
    font-family: 'Aboreto', 'Noto Sans TC', sans-serif;
    font-size: 42px;
    color: #D4AF37;
    margin-bottom: 24px;
    line-height: 1.3;
    text-align: center;
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.article-meta {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    padding: 16px 0 32px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
    margin-bottom: 40px;
}

.article-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 48px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.article-content h2 {
    font-family: 'Aboreto', 'Noto Sans TC', sans-serif;
    font-size: 28px;
    color: #D4AF37;
    margin: 48px 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #D4AF37;
}

.article-content h3 {
    font-size: 22px;
    color: #D4AF37;
    margin: 32px 0 16px;
}

.article-content p {
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.article-content a {
    color: #D4AF37;
    text-decoration: underline;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 28px;
    color: rgba(255, 255, 255, 0.85);
}

.article-content li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.article-image {
    margin: 32px 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    border-radius: 12px;
    border: 3px solid #D4AF37;
}

.article-image figcaption {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.related-articles {
    margin-top: 64px;
    padding: 40px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    border: 1px solid #D4AF37;
}

.related-articles h3 {
    font-family: 'Aboreto', 'Noto Sans TC', sans-serif;
    font-size: 24px;
    color: #D4AF37;
    margin-bottom: 24px;
    text-align: center;
}

.related-articles ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.related-articles li {
    margin: 0;
}

.related-articles a {
    display: block;
    padding: 16px 20px;
    background: rgba(26, 58, 92, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-articles a:hover {
    background: #D4AF37;
    color: #1A3A5C;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .article h1 {
        font-size: 30px;
    }

    .article-content {
        padding: 32px 24px;
    }

    .article-content h2 {
        font-size: 24px;
    }
}

/* ========================================
   All Articles Section
   ======================================== */
.all-articles {
    padding: 100px 0;
    background: var(--color-deep-blue);
}

.all-articles .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.article-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.article-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.article-num {
    font-size: 32px;
    font-weight: 700;
    opacity: 0.15;
    font-family: var(--font-display);
}

.article-title {
    font-size: 15px;
    color: var(--color-deep-blue-dark);
    line-height: 1.4;
}