﻿:root {
    --bg-color: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f3f5;
    --text-main: #111827;
    --text-muted: #4b5563;
    --text-dimmed: #9ca3af;
    --accent-gold: #d4a574;
    --border-color: #e5e7eb;
    --border-highlight: #d1d5db;
    --max-width: 1200px;
    --header-height: 70px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Roboto Mono', monospace;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-gold);
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px) saturate(120%);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0.2;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
    transition: color 0.2s;
}

.logo img {
    height: 2rem;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

main {
    margin-top: var(--header-height);
    flex: 1;
    padding-bottom: 4rem;
}

.hero {
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.2), transparent);
    animation: lineGlow 4s ease-in-out infinite;
}

@keyframes lineGlow {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleX(0.8);
    }

    50% {
        opacity: 0.6;
        transform: scaleX(1);
    }
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 700;
    font-family: Georgia, 'Times New Roman', serif;
    background: linear-gradient(to bottom, #1a1a1a, #666666);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
    animation: titleFadeIn 1s ease-out;
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

.hero p {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    animation: subtitleFadeIn 1s ease-out 0.2s backwards;
}

@keyframes subtitleFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.feed {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.post,
.travel-post {
    background: var(--bg-secondary);

    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out backwards;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08),
        0 4px 16px rgba(0, 0, 0, 0.06);
}

.post:nth-child(1) {
    animation-delay: 0.1s;
}

.post:nth-child(2) {
    animation-delay: 0.2s;
}

.post:nth-child(3) {
    animation-delay: 0.3s;
}

.post:nth-child(4) {
    animation-delay: 0.4s;
}

.post:nth-child(5) {
    animation-delay: 0.5s;
}

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

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

.post:hover,
.travel-post:hover {
    border-left: 3px solid var(--accent-gold);
    padding-left: 2.45rem;
}

.post-date {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--text-dimmed);
    display: block;
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 0;
}

.post-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.post-text {
    font-size: 1.05rem;
    color: var(--text-main);
    margin: 2rem 0;
    white-space: pre-wrap;
    line-height: 1.7;
}

.travel-gallery {
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.gallery-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border-highlight) var(--bg-secondary);
}

.gallery-scroll-container::-webkit-scrollbar {
    height: 4px;
}

.gallery-scroll-container::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

.gallery-scroll-container::-webkit-scrollbar-thumb {
    background: var(--border-highlight);
}

.gallery-item {
    flex: 0 0 auto;
    width: 300px;
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.1) 0%, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0.7;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover::before {
    opacity: 0;
}

.gallery-item:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 30px rgba(197, 160, 89, 0.2);
    transform: scale(1.02);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(30%) brightness(0.9);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(1);
}

.zoom-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 0.8rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 4px 8px;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.2s;
    font-family: var(--font-mono);
}

.gallery-item:hover .zoom-hint {
    opacity: 1;
}

.copyright-notice {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dimmed);
    margin-top: 0.5rem;
    text-align: left;
}

.share-links {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.share-links span {
    margin-right: 0.5rem;
}

.share-separator {
    margin: 0 0.2rem;
}

.share-links a {
    color: var(--text-muted);
    margin: 0 0.5rem;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: all 0.2s;
}

.share-links a:hover {
    color: var(--accent-gold);
    text-decoration-color: var(--accent-gold);
}

.travel-post-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.no-posts-message {
    text-align: center;
    color: var(--text-dimmed);
}

footer {
    margin-top: auto;
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

footer p {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.footer-legal a {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: var(--accent-gold);
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-legal a:hover {
    opacity: 0.7;
}

.contact-hero {
    padding-top: 6rem;
    text-align: center;
}

.contact-hero h1 {
    margin-bottom: 1rem;
}

.contact-hero p {
    margin-bottom: 3rem;
}

.contact-form-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem;
    margin: 2rem auto 0;
    max-width: 600px;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 1rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.submit-btn {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 1rem 2rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.submit-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-color);
}

.social-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: all 0.2s;
}

.social-btn:hover {
    transform: scale(1.05);
    border-color: var(--accent-gold);
}

.search-container {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem 0;
    border: none;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    background: transparent;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-bottom-color: var(--accent-gold);
    background: transparent;
    box-shadow: none;
}

.search-input::placeholder {
    color: var(--text-dimmed);
    font-style: italic;
}

.search-results-count {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    min-width: 80px;
    text-align: right;
    font-weight: 500;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 4rem auto 2rem;
    padding: 2.5rem 0 1.5rem;
    border-top: 1px solid var(--border-color);
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-link,
.pagination-current,
.pagination-nav,
.view-all-link {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    cursor: pointer;
    user-select: none;
}

.pagination-link,
.pagination-nav {
    color: var(--text-main);
    background: var(--bg-secondary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06), inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.pagination-link:hover,
.pagination-nav:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    color: var(--accent-gold);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08), inset 0 0 0 2px var(--accent-gold);
}

.pagination-link:active,
.pagination-nav:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), inset 0 0 0 2px var(--accent-gold);
}

.pagination-current {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #c49563 100%);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(212, 165, 116, 0.35), 0 2px 6px rgba(212, 165, 116, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    position: relative;
}

.pagination-current::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.view-all-link {
    color: var(--accent-gold);
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.08) 0%, rgba(212, 165, 116, 0.04) 100%);
    margin-left: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), inset 0 0 0 2px var(--accent-gold);
}

.view-all-link:hover {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #c49563 100%);
    color: #ffffff;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 14px rgba(212, 165, 116, 0.35), 0 2px 6px rgba(212, 165, 116, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
    header {
        height: auto;
        padding: 0.75rem 0;
    }

    main {
        margin-top: 120px;
    }

    .nav-content {
        flex-direction: column;
        gap: 0.75rem;
    }

    .nav-links {
        gap: 1.25rem;
        font-size: 0.85rem;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }

    .nav-links::-webkit-scrollbar {
        height: 2px;
    }

    .nav-links::-webkit-scrollbar-thumb {
        background: var(--accent-gold);
    }

    .logo {
        font-size: 1rem;
    }

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

    .hero p {
        font-size: 0.8rem;
    }

    .post,
    .travel-post {
        padding: 1.5rem;
    }

    .gallery-item {
        width: 250px;
    }

    .search-container {
        flex-direction: column;
        gap: 0.75rem;
    }

    .search-results-count {
        text-align: center;
        width: 100%;
    }

    .pagination {
        gap: 0.5rem;
    }

    .pagination-numbers {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination-link,
    .pagination-current,
    .pagination-nav {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        min-width: 36px;
    }

    .view-all-link {
        width: 100%;
        text-align: center;
        margin-left: 0;
        margin-top: 0.5rem;
    }
}