/* ============================================
   Luxury Travel Blog — Dark + Gold Theme
   Font: Cormorant Garamond (headings) + Raleway (body)
   ============================================ */

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

:root {
    --bg-primary: #0a0a0a;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222;
    --gold: #C9A84C;
    --gold-light: #d4b96a;
    --gold-dark: #a8882e;
    --text-primary: #e8e8e8;
    --text-secondary: #aaa;
    --text-muted: #777;
    --border: #2a2a2a;
    --max-width-content: 800px;
    --max-width-wide: 1100px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.75;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s;
}

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

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.25;
    color: #fff;
}

h1 { font-size: 2.8rem; margin-bottom: 0.6em; }
h2 { font-size: 2rem; margin-top: 2em; margin-bottom: 0.5em; }
h3 { font-size: 1.5rem; margin-top: 1.5em; margin-bottom: 0.4em; }
h4 { font-size: 1.2rem; margin-top: 1.2em; margin-bottom: 0.3em; }

p {
    margin-bottom: 1.2em;
    color: var(--text-primary);
}

ul, ol {
    margin-bottom: 1.2em;
    padding-left: 1.5em;
}

li {
    margin-bottom: 0.4em;
}

blockquote {
    border-left: 3px solid var(--gold);
    padding: 1em 1.5em;
    margin: 1.5em 0;
    background: var(--bg-card);
    border-radius: 0 4px 4px 0;
    font-style: italic;
    color: var(--text-secondary);
}

strong {
    color: #fff;
    font-weight: 600;
}

/* --- Header / Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
}

.nav-inner {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.02em;
}

.site-logo a {
    color: var(--gold);
}

.site-logo a:hover {
    color: var(--gold-light);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s;
}

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

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    margin: 5px 0;
    transition: 0.3s;
}

/* --- Hero Section (Homepage) --- */
.hero {
    position: relative;
    height: 85vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1510 40%, #0d0d0d 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(201, 168, 76, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-tagline {
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.hero-divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 2rem auto;
}

/* --- Article Grid (Homepage) --- */
.section-heading {
    text-align: center;
    padding: 4rem 2rem 2rem;
}

.section-heading h2 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 1rem;
}

.articles-grid {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 1rem 2rem 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.article-card {
    background: var(--bg-card);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(201, 168, 76, 0.1);
    border-color: rgba(201, 168, 76, 0.3);
}

.card-image {
    height: 200px;
    background: linear-gradient(135deg, #1a1510, #2a2018);
    position: relative;
    overflow: hidden;
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, var(--bg-card));
}

.card-body {
    padding: 1.5rem;
}

.card-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 0.6rem;
}

.card-body h3 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.card-body h3 a {
    color: #fff;
    transition: color 0.2s;
}

.card-body h3 a:hover {
    color: var(--gold);
}

.card-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Article Page --- */
.article-hero {
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1510 50%, #0d0d0d 100%);
    padding: 3rem 2rem;
    position: relative;
}

.article-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(transparent, var(--bg-primary));
}

.article-hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width-content);
    margin: 0 auto;
    width: 100%;
}

.article-hero .card-category {
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.article-hero h1 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

.article-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-meta a {
    color: var(--gold);
}

/* Article body */
.article-content {
    max-width: var(--max-width-content);
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
}

.article-content h2 {
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.4em;
}

.article-content h2::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background: var(--gold);
    vertical-align: middle;
    margin-right: 12px;
}

/* Article images */
.article-content img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1.5em 0;
}

.article-content figure {
    margin: 2em 0;
}

.article-content figcaption {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5em;
    font-style: italic;
}

/* Info box */
.info-box {
    background: var(--bg-card);
    border-left: 3px solid var(--gold);
    padding: 1.2em 1.5em;
    margin: 1.5em 0;
    border-radius: 0 6px 6px 0;
}

.info-box strong {
    color: var(--gold);
}

/* Price table */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.price-table th {
    background: var(--bg-card);
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    padding: 0.8em 1em;
    border-bottom: 2px solid var(--gold-dark);
}

.price-table td {
    padding: 0.7em 1em;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 0.95rem;
}

.price-table tr:hover td {
    background: rgba(201, 168, 76, 0.05);
}

/* --- About Page --- */
.about-section {
    max-width: var(--max-width-content);
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.about-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.about-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--bg-primary);
    font-weight: 700;
}

/* --- Related Articles --- */
.related-articles {
    max-width: var(--max-width-content);
    margin: 0 auto;
    padding: 0 2rem 3rem;
    border-top: 1px solid var(--border);
}

.related-articles h2 {
    font-size: 1.4rem;
    color: var(--gold);
    margin-top: 2rem;
    margin-bottom: 1.2rem;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.related-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.2em;
    transition: border-color 0.2s, transform 0.2s;
    text-decoration: none;
}

.related-card:hover {
    border-color: rgba(201, 168, 76, 0.4);
    transform: translateY(-2px);
}

.related-category {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 0.5em;
}

.related-title {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

/* --- Footer --- */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-inner {
    max-width: var(--max-width-wide);
    margin: 0 auto;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    margin: 0 1rem;
    font-size: 0.85rem;
}

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

/* --- Table of Contents --- */
.toc {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.5em 2em;
    margin: 2em 0;
}

.toc-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.toc ol {
    padding-left: 1.2em;
    margin: 0;
}

.toc li {
    margin-bottom: 0.35em;
    font-size: 0.92rem;
}

.toc a {
    color: var(--text-secondary);
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.toc a:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* --- Author note --- */
.author-note {
    background: linear-gradient(135deg, var(--bg-card), #1e1a14);
    border-radius: 6px;
    padding: 1.2em 1.5em;
    margin: 2em 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
    font-style: italic;
    border-left: 3px solid var(--gold-dark);
}

.author-note strong {
    color: var(--gold);
    font-style: normal;
}

/* --- Breadcrumb --- */
.breadcrumb {
    max-width: var(--max-width-content);
    margin: 0 auto;
    padding: 5.5rem 2rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb span {
    margin: 0 0.4em;
    color: var(--text-muted);
}

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

    .article-hero h1 {
        font-size: 2rem;
    }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.6rem; }

    .articles-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-toggle {
        display: block;
    }

    .about-section {
        padding-top: 6rem;
    }
}

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

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

    .article-hero h1 {
        font-size: 1.7rem;
    }

    .card-body {
        padding: 1rem;
    }
}
