/*
 * Theme Name: Vinz Ideas Premium Editorial
 * Theme URI: https://vinzideas.com/
 * Author: Design Phase 3
 * Author URI: https://vinzideas.com/
 * Description: Premium travel editorial design system for Vinz Ideas
 * Version: 1.0.0
 * License: GPL v2 or later
 * Text Domain: vinz-ideas
 * Domain Path: /languages
 * Requires at least: 5.0
 * Requires PHP: 7.4
 */

/* ==========================================================================
   CUSTOM PROPERTIES & VARIABLES
   ========================================================================== */

:root {
    --forest-green: #173D36;
    --warm-ivory: #F5F0E5;
    --sunset-orange: #EBA36A;
    --charcoal: #263238;
    --sand: #C5A77B;
    --light-gray: #f9f7f4;

    /* Typography */
    --font-serif: 'Merriweather', Georgia, serif;
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing Scale (8px base) */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s ease;
}

/* ==========================================================================
   GLOBAL STYLES
   ========================================================================== */

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

html {
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background-color: var(--warm-ivory);
    line-height: 1.6;
}

a {
    color: var(--forest-green);
    text-decoration: none;
    transition: color var(--transition-smooth);
}

a:hover {
    color: var(--sunset-orange);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--forest-green);
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--sunset-orange);
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

strong {
    font-weight: 600;
}

em {
    font-style: italic;
}

.lead {
    font-size: 1.25rem;
    font-family: var(--font-serif);
    color: var(--sand);
    font-style: italic;
    margin-bottom: 2rem;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.site-header {
    background-color: var(--warm-ivory);
    padding: var(--spacing-md) 4%;
    border-bottom: 1px solid rgba(23, 61, 54, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-branding {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--forest-green);
    letter-spacing: 2px;
    text-decoration: none;
}

.site-navigation ul {
    list-style: none;
}

.site-navigation a {
    color: var(--charcoal);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color var(--transition-smooth);
}

.site-navigation a:hover {
    color: var(--sunset-orange);
}

/* ==========================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */

.btn,
button,
input[type="button"],
input[type="submit"] {
    display: inline-block;
    background-color: var(--sunset-orange);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-smooth), transform var(--transition-fast);
}

.btn:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    background-color: #d68a52;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--forest-green);
    border: 2px solid var(--forest-green);
}

.btn-secondary:hover {
    background-color: var(--forest-green);
    color: var(--warm-ivory);
}

/* ==========================================================================
   FORMS
   ========================================================================== */

input,
textarea,
select {
    font-family: var(--font-sans);
    padding: 0.8rem;
    border: 1px solid var(--sand);
    background-color: white;
    color: var(--charcoal);
    font-size: 1rem;
    transition: border-color var(--transition-smooth);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--sunset-orange);
    box-shadow: 0 0 0 2px rgba(235, 163, 106, 0.1);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--forest-green);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin-bottom: var(--spacing-xxl);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(23, 61, 54, 0.4) 0%, rgba(235, 163, 106, 0.3) 100%);
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4%;
    max-width: 60%;
}

.hero-content h1 {
    color: var(--warm-ivory);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--sand);
    margin-bottom: 2rem;
    font-style: italic;
}

/* ==========================================================================
   CONTENT SECTIONS
   ========================================================================== */

.section {
    padding: var(--spacing-xxl) 4%;
}

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

.section-subtitle {
    color: var(--sand);
    margin-bottom: var(--spacing-xxl);
    font-size: 1.1rem;
}

/* ==========================================================================
   CARDS & CONTAINERS
   ========================================================================== */

.card {
    background-color: white;
    padding: var(--spacing-md);
    border-left: 3px solid var(--sunset-orange);
    box-shadow: 0 4px 12px rgba(23, 61, 54, 0.08);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(23, 61, 54, 0.15);
}

.card h3 {
    margin-bottom: 0.5rem;
}

.card-meta {
    font-size: 0.85rem;
    color: var(--sand);
    margin-bottom: 0.8rem;
}

.card-excerpt {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================================================
   DESTINATION CARDS
   ========================================================================== */

.destination-card {
    position: relative;
    overflow: hidden;
    height: 350px;
    background: linear-gradient(135deg, var(--forest-green), var(--charcoal));
}

.destination-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.8;
}

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(23, 61, 54, 0.95), transparent);
    color: var(--warm-ivory);
    z-index: 5;
    transition: background var(--transition-smooth);
}

.destination-card:hover .destination-overlay {
    background: linear-gradient(to top, rgba(235, 163, 106, 0.95), transparent);
}

.destination-name {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.destination-tagline {
    font-size: 0.95rem;
    color: var(--sand);
}

/* ==========================================================================
   FEATURED ARTICLE SECTION
   ========================================================================== */

.featured-article {
    position: relative;
    overflow: hidden;
    height: 450px;
}

.featured-article-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.featured-article-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(to top, rgba(23, 61, 54, 0.98), transparent);
    color: var(--warm-ivory);
    z-index: 5;
}

.featured-article-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--warm-ivory);
}

.featured-article-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--sand);
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-block;
    color: var(--sunset-orange);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.read-more:hover {
    color: var(--warm-ivory);
}

/* ==========================================================================
   ARTICLE CONTENT
   ========================================================================== */

.entry-header {
    padding: var(--spacing-xxl) 0 var(--spacing-xl);
}

.entry-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
    color: var(--sand);
    align-items: center;
}

.entry-category {
    display: inline-block;
    background-color: var(--sunset-orange);
    color: white;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.entry-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.entry-excerpt {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--sand);
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(23, 61, 54, 0.2);
}

.entry-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--spacing-xxl);
    padding: var(--spacing-md);
    background-color: var(--light-gray);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--forest-green), var(--sunset-orange));
}

.author-info h4 {
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--sand);
    margin: 0;
}

/* ==========================================================================
   ARTICLE BODY
   ========================================================================== */

.entry-content {
    padding: var(--spacing-xxl) 0;
}

.entry-content h2 {
    margin-top: var(--spacing-xxl);
}

.entry-content h3 {
    margin-top: var(--spacing-lg);
}

.entry-content img {
    max-width: 100%;
    height: auto;
    margin: var(--spacing-xl) 0;
}

.wp-caption {
    margin-bottom: var(--spacing-xl);
}

.wp-caption-text {
    font-size: 0.85rem;
    color: var(--sand);
    font-style: italic;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(23, 61, 54, 0.15);
}

.highlight-box {
    background-color: var(--light-gray);
    border-left: 4px solid var(--sunset-orange);
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.highlight-box p {
    font-style: italic;
    color: var(--charcoal);
    margin: 0;
}

/* ==========================================================================
   ARTICLE FOOTER & SHARING
   ========================================================================== */

.article-footer {
    padding: var(--spacing-xxl) 0;
    border-top: 1px solid rgba(23, 61, 54, 0.2);
    margin-top: var(--spacing-xxl);
}

.article-tags {
    margin-bottom: var(--spacing-lg);
}

.tag {
    display: inline-block;
    background-color: var(--light-gray);
    color: var(--forest-green);
    padding: 0.5rem 1rem;
    margin-right: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color var(--transition-smooth);
}

.tag:hover {
    background-color: var(--sand);
}

.share-buttons {
    display: flex;
    gap: 1rem;
    margin-top: var(--spacing-lg);
}

/* ==========================================================================
   ARCHIVE & CATEGORY PAGES
   ========================================================================== */

.archive-hero {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    margin-bottom: var(--spacing-xxl);
}

.archive-hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4%;
    max-width: 70%;
}

.archive-hero-content h1 {
    color: var(--warm-ivory);
    font-size: 3.5rem;
}

.archive-description {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--sand);
    line-height: 1.6;
}

.filters-section {
    background-color: var(--light-gray);
    padding: var(--spacing-lg) 4%;
    border-bottom: 1px solid rgba(23, 61, 54, 0.1);
}

.filter-group {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.filter-label {
    font-weight: 600;
    color: var(--forest-green);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select {
    padding: 0.6rem 1rem;
    border: 1px solid var(--sand);
    background-color: white;
    color: var(--charcoal);
    font-size: 0.9rem;
}

.results-count {
    color: var(--sand);
    margin-bottom: var(--spacing-lg);
    font-size: 0.95rem;
}

/* ==========================================================================
   GRIDS
   ========================================================================== */

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xxl);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xxl);
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: var(--spacing-xxl) 0;
    border-top: 1px solid rgba(23, 61, 54, 0.1);
}

.pagination a,
.pagination span {
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--sand);
    text-decoration: none;
    color: var(--charcoal);
    font-size: 0.9rem;
    transition: all var(--transition-smooth);
}

.pagination a:hover {
    background-color: var(--sunset-orange);
    color: white;
    border-color: var(--sunset-orange);
}

.pagination .current {
    background-color: var(--forest-green);
    color: var(--warm-ivory);
    border-color: var(--forest-green);
}

/* ==========================================================================
   FEATURED GUIDE
   ========================================================================== */

.featured-guide {
    background-color: var(--light-gray);
    padding: var(--spacing-lg);
    border-left: 4px solid var(--sunset-orange);
    margin: var(--spacing-xxl) 0;
}

.featured-guide h3 {
    margin-bottom: 1rem;
}

.featured-guide p {
    margin-bottom: 1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background-color: var(--forest-green);
    color: var(--warm-ivory);
    padding: var(--spacing-xxl) 4%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: var(--spacing-xl);
}

.footer-column h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    color: var(--sand);
}

.footer-column a {
    color: var(--warm-ivory);
    font-size: 0.9rem;
    display: block;
    line-height: 2;
    transition: color var(--transition-smooth);
}

.footer-column a:hover {
    color: var(--sunset-orange);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    background-color: rgba(245, 240, 229, 0.9);
    color: var(--charcoal);
}

.newsletter-form button {
    background-color: var(--sunset-orange);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
}

.site-footer-bottom {
    border-top: 1px solid rgba(245, 240, 229, 0.2);
    padding-top: var(--spacing-lg);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(245, 240, 229, 0.8);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-content {
        max-width: 100%;
    }

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

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

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

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero {
        height: 380px;
    }

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

    .entry-title {
        font-size: 1.8rem;
    }

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

    .archive-hero {
        height: 300px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    .filter-group {
        flex-direction: column;
        width: 100%;
    }

    .filter-select {
        width: 100%;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4%;
}

.no-sidebar {
    width: 100%;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
