/* Base Styles */
@font-face {
    font-family: 'FZShuTi';
    src: url('../fonts/FZShuTi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 900px;
    margin: 60px auto 0 auto;
    padding: 0 24px;
}

/* Desktop Header */
.desktop-header {
    padding: 1.5rem 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.header-content {
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 1.875rem;
    font-weight: bold;
    color: #333;
}

.desktop-nav {
    margin-top: 1rem;
}

.desktop-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.desktop-nav ul li:last-child {
    margin-left: 0;
}

.desktop-nav a {
    color: #333;
    transition: color 0.3s;
}

.desktop-nav a:hover {
    color: #666;
}

.desktop-nav ul li.photo-link {
    margin-left: 1rem;
}

/* Mobile Header */
.mobile-header {
    padding: 0.75rem 1rem;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 40;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.75rem;
}

.mobile-header .logo {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #1a1a1a;
}

.mobile-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: flex;
    align-items: center;
    padding: 0.625rem;
    border: none;
    border-radius: 0.75rem;
    background: rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.2s ease;
    color: #1a1a1a;
}

.menu-toggle:hover {
    background-color: rgba(0, 0, 0, 0.06);
}

.menu-toggle:active {
    transform: scale(0.95);
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 50;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-sidebar.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.sidebar-content {
    padding: 1.5rem;
    height: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sidebar-header .logo {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #1a1a1a;
}

.close-menu {
    background: rgba(0, 0, 0, 0.03);
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    color: #1a1a1a;
}

.close-menu:hover {
    background-color: rgba(0, 0, 0, 0.06);
}

.close-menu:active {
    transform: scale(0.95);
}

.mobile-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-nav a {
    font-size: 1.125rem;
    color: #1a1a1a;
    display: block;
    padding: 0.875rem 1rem;
    transition: all 0.2s ease;
    border-radius: 0.75rem;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.02);
}

.mobile-nav a:hover {
    background-color: rgba(0, 0, 0, 0.04);
    color: #5b21b6;
}

.mobile-nav a:active {
    transform: scale(0.98);
}

/* Main Content */
main {
    flex: 1;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    width: 100%;
    margin-bottom: 0;
}

.image-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-top: 0;
    margin-bottom: 0;
}

.main-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.featured-image {
    margin-bottom: 0;
}

.tagline {
    margin-top: 1.5rem;
    color: #4b5563;
    font-family: 'FZShuTi', 'FangSong', serif;
    font-size: 1.25rem;
    line-height: 2;
    text-align: center;
    padding: 0 2rem;
    max-width: 800px;
    margin: 2rem auto 0;
    letter-spacing: 0.5px;
    font-weight: 400;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    position: relative;
}

.tagline::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 3rem;
    color: rgba(91, 33, 182, 0.1);
    font-family: 'FZShuTi', 'FangSong', serif;
}

.tagline::after {
    content: '"';
    position: absolute;
    right: 0;
    bottom: -1.5rem;
    font-size: 3rem;
    color: rgba(91, 33, 182, 0.1);
    font-family: 'FZShuTi', 'FangSong', serif;
}

/* Footer */
footer {
    margin-top: auto;
    padding: 1.5rem 0;
    display: block;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    font-size: 0.875rem;
    color: #6b7280;
    display: block;
}

.footer-content a {
    color: #333;
}

.footer-content a:hover {
    text-decoration: underline;
}

/* Language Toggle Link */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    text-decoration: none;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.lang-toggle:hover {
    background-color: #5b21b6;
    color: white;
    border-color: #5b21b6;
    text-decoration: none;
}

.lang-toggle .icon {
    width: 20px;
    height: 20px;
}

.lang-toggle span {
    font-size: 0.875rem;
}

/* Media Queries */
@media (max-width: 768px) {
    .desktop-header {
        display: none;
    }
    .mobile-header {
        display: block;
    }
    .container {
        margin: 40px 0 0 0;
        padding: 0 16px;
    }
    .main-content {
        padding: 0.75rem 0 0 0;
        margin-top: 3.5rem;
        margin-bottom: 0;
    }
    .image-container {
        margin: 0;
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
    .tagline {
        font-size: 1.125rem;
        line-height: 1.6;
        padding: 0 1rem;
        margin: 1.5rem auto;
        color: #4b5563;
        font-family: 'FZShuTi', 'FangSong', serif;
        letter-spacing: 0.3px;
        max-width: 90%;
    }
    .footer-content {
        text-align: center;
        padding: 1.5rem 1rem;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
    .footer-content p {
        margin: 0.5rem 0;
        font-size: 0.875rem;
        color: #666;
    }
    .lang-toggle {
        padding: 0.625rem;
        border-radius: 0.75rem;
        background: rgba(0, 0, 0, 0.03);
        border: none;
    }
    .lang-toggle:hover {
        background: rgba(0, 0, 0, 0.06);
    }
    .lang-toggle:active {
        transform: scale(0.95);
    }
    .lang-toggle .icon {
        width: 20px;
        height: 20px;
    }
    .lang-toggle span {
        display: none;
    }
}

@media (min-width: 769px) {
    .footer-content {
        display: none;
    }
    .main-content {
        padding: 1.5rem 0 0 0;
        margin-top: 0.5rem;
    }
    .image-container {
        margin-top: 0;
        margin-bottom: 1.5rem;
    }
}

/* Image Zoom Styles */
.image-zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.image-zoom-overlay.active {
    opacity: 1;
}

.zoomed-image-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.image-zoom-overlay.active .zoomed-image-content {
    transform: scale(1);
    opacity: 1;
}

.image-zoom-close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    transition: color 0.2s ease;
}

.image-zoom-close-btn:hover {
    color: #bbb;
}

/* Adjust close button for larger screens */
@media (min-width: 769px) {
    .image-zoom-close-btn {
        font-size: 40px; /* Increase font size for desktop */
        top: 25px;
        right: 40px;
    }
} 