/*
Theme Name: Vegas Sky Tours
Description: A modern, responsive WordPress theme for aviation tours and flight experiences. Features custom post types for tours, clean design, and mobile-first approach.
Author: Vegas Sky Tours (Christian Hänsel)
Version: 1.0.0
License: GPL v2 or later
Text Domain: vegasskytours
*/

/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
    font-weight: 400;
}

/* ===== MAIN CONTENT AREA ===== */
.site-main {
    padding-top: 90px; /* Account for fixed header height */
}

/* For full-height hero sections, remove the padding */
.site-main .hero-section {
    margin-top: -90px; /* Offset the site-main padding for full viewport hero */
    padding-top: 90px; /* Add padding back to content area */
}

/* Utility class for content that should start right below header */
.below-header {
    margin-top: -90px;
    padding-top: 90px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: #1a202c;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: #4a5568;
}

a {
    color: #3182ce;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2c5282;
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== HEADER ===== */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    min-height: 70px;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

.site-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    text-decoration: none;
}

/* ===== NAVIGATION ===== */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    position: relative;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #4a5568;
    font-weight: 500;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a.current,
.nav-menu .current > a {
    color: #3182ce;
    background: rgba(49, 130, 206, 0.1);
}

/* Dropdown Indicators */
.dropdown-indicator {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    margin-left: 0.25rem;
}

.has-dropdown:hover .dropdown-indicator {
    transform: rotate(180deg);
}

/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 0.75rem 1.5rem;
    color: #4a5568;
    font-weight: 400;
    display: block;
    border-radius: 0;
    background: transparent;
}

.dropdown-menu a:hover {
    color: #3182ce;
    background: #f7fafc;
}

/* Third-level dropdowns */
.dropdown-menu .has-dropdown {
    position: relative;
}

.dropdown-menu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.5rem;
}

.dropdown-menu .has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mega Menu Support (if needed) */
.mega-menu {
    position: static;
}

.mega-menu .dropdown-menu {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #4a5568;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(49, 130, 206, 0.1);
    color: #3182ce;
}

/* Desktop dropdown show state */
.show-desktop {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Smooth scrolling for menu links */
.nav-menu a[href^="#"] {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.nav-menu a:focus,
.mobile-menu-toggle:focus {
    outline: 2px solid #3182ce;
    outline-offset: 2px;
}

/* Dropdown menu dividers */
.dropdown-menu li + li {
    border-top: 1px solid #f1f5f9;
}

/* Special menu item styles */
.nav-menu .menu-item-cta a {
    background: linear-gradient(135deg, #3182ce, #63b3ed);
    color: white;
    border-radius: 0.5rem;
    margin-left: 1rem;
}

.nav-menu .menu-item-cta a:hover {
    background: linear-gradient(135deg, #2c5282, #4299e1);
    color: white;
    transform: translateY(-2px);
}

/* Loading states */
.nav-menu.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nav-menu a {
        border: 1px solid transparent;
    }
    
    .nav-menu a:hover,
    .nav-menu a:focus {
        border-color: currentColor;
    }
    
    .dropdown-menu {
        border: 2px solid #4a5568;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .dropdown-menu,
    .nav-menu a,
    .dropdown-indicator {
        transition: none;
    }
    
    .has-dropdown:hover .dropdown-indicator {
        transform: none;
    }
}

/* Print styles */
@media print {
    .main-navigation,
    .mobile-menu-toggle {
        display: none;
    }
}

.cta-button {
    background: linear-gradient(135deg, #3182ce, #63b3ed);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button:hover {
    background: linear-gradient(135deg, #2c5282, #4299e1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
    color: white;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(49, 130, 206, 0.8), rgba(99, 179, 237, 0.6));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: white;
    color: #3182ce;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-primary:hover {
    background: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

/* ===== SECTIONS ===== */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== TOUR GRID ===== */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tour-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tour-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-card:hover .tour-card-image img {
    transform: scale(1.05);
}

.tour-card-content {
    padding: 1.5rem;
}

.tour-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.tour-card-excerpt {
    color: #718096;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.tour-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 0.5rem;
}

.tour-duration,
.tour-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #4a5568;
}

.tour-price {
    font-weight: 600;
    color: #3182ce;
    font-size: 1.1rem;
}

.tour-card-button {
    width: 100%;
    background: linear-gradient(135deg, #3182ce, #63b3ed);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.tour-card-button:hover {
    background: linear-gradient(135deg, #2c5282, #4299e1);
    color: white;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #4a5568;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: 600;
    color: #1a202c;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #1a202c;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
    color: #a0aec0;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #63b3ed;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #2d3748;
    border-radius: 50%;
    color: #a0aec0;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #3182ce;
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 2rem;
    text-align: center;
    color: #718096;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    /* Adjust main content padding for mobile */
    .site-main {
        padding-top: 80px; /* Slightly less padding on mobile */
    }

    /* Adjust hero section offset for mobile */
    .site-main .hero-section {
        margin-top: -80px;
        padding-top: 80px;
    }

    .below-header {
        margin-top: -80px;
        padding-top: 80px;
    }

    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 1rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .main-navigation.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
        position: relative;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 1.5rem;
        width: 100%;
        background: transparent;
        color: #4a5568;
        font-weight: 500;
    }
    
    .nav-menu a:hover {
        background: #f8fafc;
        color: #3182ce;
    }
    
    /* Mobile Dropdown Styles */
    .has-dropdown {
        position: relative;
    }
    
    /* Make dropdown indicators more prominent on mobile */
    .has-dropdown .dropdown-indicator {
        font-size: 1rem;
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }
    
    /* Rotate indicator when expanded */
    .has-dropdown .dropdown-indicator.fa-minus {
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: #f8fafc;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        padding: 0.5rem 0;
    }
    
    .dropdown-menu a {
        padding: 0.75rem 2.5rem;
        background: transparent;
        color: #718096;
        font-size: 0.9rem;
    }
    
    .dropdown-menu a:hover {
        background: #e2e8f0;
        color: #3182ce;
    }
    
    /* Third level mobile dropdowns */
    .dropdown-menu .dropdown-menu {
        background: #edf2f7;
    }
    
    .dropdown-menu .dropdown-menu a {
        padding-left: 3.5rem;
        color: #a0aec0;
    }
    
    /* Mobile CTA Button */
    .cta-button {
        margin: 1rem 1.5rem 0.5rem;
        width: calc(100% - 3rem);
        text-align: center;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .container,
    .container-wide {
        padding: 0 0.5rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .tour-card-content {
        padding: 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ===== HOMEPAGE STYLES (für Seiten als Homepage) ===== */
.page-content.homepage {
    /* Entferne Standard-Seitenränder für Homepage */
    margin-top: 0;
}

/* Hero-Bereich für Seite als Homepage */
.home-hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
    padding: 2rem;
}

.home-hero-section .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.home-hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.home-hero-section .hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 1;
}

.home-hero-section .hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.home-hero-section .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.home-hero-section .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Inhaltsbereich für Homepage */
.page-content-section.homepage-content {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.homepage-content .content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Animation-Effekte für Hero-Elemente */
.fade-in-up {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.fade-in-up:nth-child(2) {
    animation-delay: 0.3s;
}

.fade-in-up:nth-child(3) {
    animation-delay: 0.6s;
}

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

/* Responsive Anpassungen für Homepage */
@media (max-width: 768px) {
    .home-hero-section .hero-title {
        font-size: 2.5rem;
    }

    .home-hero-section .hero-subtitle {
        font-size: 1.1rem;
    }

    .home-hero-section .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .home-hero-section {
        min-height: 60vh;
    }
}

@media (max-width: 480px) {
    .home-hero-section .hero-title {
        font-size: 2rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }

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

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== SINGLE TOUR STYLES ===== */
.single-tour .tour-hero {
    height: 60vh;
    min-height: 400px;
}

.tour-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.tour-info-card {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 1rem;
    position: sticky;
    top: 100px;
}

.tour-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.tour-info-item:last-child {
    border-bottom: none;
}

.tour-info-label {
    font-weight: 600;
    color: #4a5568;
}

.tour-info-value {
    color: #1a202c;
    font-weight: 500;
}

@media (max-width: 768px) {
    .tour-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tour-info-card {
        position: static;
    }
}

/* ===== PAGE TEMPLATES STYLES ===== */

/* Page Header Styles */
.page-header,
.post-header,
.blog-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 3rem 0 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.page-header-content,
.post-header-content,
.blog-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-title,
.post-title,
.blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.page-excerpt,
.post-excerpt,
.blog-description {
    font-size: 1.125rem;
    color: #718096;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #718096;
    margin-top: 1rem;
}

.breadcrumbs a {
    color: #3182ce;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #2c5aa0;
}

.breadcrumb-separator {
    color: #a0aec0;
}

/* Content Layout */
.page-content-section,
.post-content-section,
.blog-content-section {
    padding: 3rem 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}

.main-content {
    min-width: 0; /* Prevent overflow */
}

/* Featured Image */
.page-featured-image,
.post-featured-image {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.post-featured-image {
    padding: 2rem 0;
}

.page-featured-image img,
.post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Content Text */
.page-content-text,
.post-content-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #2d3748;
}

.page-content-text h2,
.page-content-text h3,
.page-content-text h4,
.post-content-text h2,
.post-content-text h3,
.post-content-text h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-content-text p,
.post-content-text p {
    margin-bottom: 1.5rem;
}

/* Post Meta */
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #718096;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta i {
    color: #3182ce;
}

.post-meta a {
    color: #3182ce;
    text-decoration: none;
}

.post-meta a:hover {
    color: #2c5aa0;
}

/* Post Tags */
.post-tags {
    padding: 2rem 0;
    border-top: 1px solid #e2e8f0;
    margin-top: 2rem;
}

.post-tags h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #4a5568;
}

.tag {
    display: inline-block;
    background: #e2e8f0;
    color: #4a5568;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #3182ce;
    color: white;
}

/* Author Bio */
.author-bio {
    display: flex;
    gap: 1rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 8px;
    margin-top: 2rem;
}

.author-avatar img {
    border-radius: 50%;
}

.author-info h3 {
    margin-bottom: 0.5rem;
}

.author-description {
    color: #718096;
    margin-bottom: 1rem;
}

.author-posts-link {
    color: #3182ce;
    text-decoration: none;
    font-weight: 500;
}

.author-posts-link:hover {
    color: #2c5aa0;
}

/* Post Navigation */
.post-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.nav-previous,
.nav-next {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
    background: #e2e8f0;
}

.nav-previous a,
.nav-next a {
    text-decoration: none;
    color: inherit;
}

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

.nav-direction {
    display: block;
    font-size: 0.875rem;
    color: #718096;
    margin-bottom: 0.5rem;
}

.nav-title {
    display: block;
    font-weight: 600;
    color: #1a202c;
}

/* Blog Styles */
.featured-post {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid #e2e8f0;
}

.featured-post-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.featured-post-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.featured-post-title a {
    color: #1a202c;
    text-decoration: none;
}

.featured-post-title a:hover {
    color: #3182ce;
}

.featured-post-excerpt {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #3182ce;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: #2c5aa0;
    transform: translateY(-1px);
}

/* Blog Posts Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-post-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.post-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card-content {
    padding: 1.5rem;
}

.post-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.post-card-title a {
    color: #1a202c;
    text-decoration: none;
}

.post-card-title a:hover {
    color: #3182ce;
}

.post-card-excerpt {
    color: #718096;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.post-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.875rem;
}

.post-author {
    color: #718096;
}

.read-more-link {
    color: #3182ce;
    text-decoration: none;
    font-weight: 500;
}

.read-more-link:hover {
    color: #2c5aa0;
}

/* Related Posts */
.related-posts-section {
    padding: 3rem 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.related-post-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.related-post-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.related-post-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.related-post-title a {
    color: #1a202c;
    text-decoration: none;
}

.related-post-title a:hover {
    color: #3182ce;
}

.related-post-excerpt {
    color: #718096;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.related-post-meta {
    font-size: 0.8rem;
    color: #a0aec0;
}

/* Sidebars */
.page-sidebar,
.blog-sidebar {
    background: #f8fafc;
    border-radius: 8px;
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 110px; /* Account for fixed header */
}

.widget {
    margin-bottom: 2rem;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3182ce;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #3182ce 0%, #2c5aa0 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-text {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    background: white;
    color: #3182ce;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #f7fafc;
    transform: translateY(-1px);
}

/* Page CTA Section */
.page-cta-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.125rem;
    color: #718096;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* No Posts Found */
.no-posts-found {
    text-align: center;
    padding: 4rem 0;
}

.no-posts-content i {
    color: #cbd5e0;
    margin-bottom: 2rem;
}

.no-posts-content h2 {
    color: #4a5568;
    margin-bottom: 1rem;
}

.no-posts-content p {
    color: #718096;
    margin-bottom: 2rem;
}

/* Responsive Design for Page Templates */
@media (max-width: 768px) {
    /* Adjust main content padding for mobile */
    .site-main {
        padding-top: 80px;
    }

    .site-main .hero-section {
        margin-top: -80px;
        padding-top: 80px;
    }

    .below-header {
        margin-top: -80px;
        padding-top: 80px;
    }

    /* Single column layout on mobile */
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-sidebar,
    .blog-sidebar {
        position: static;
        top: auto;
    }

    /* Adjust typography */
    .page-title,
    .post-title,
    .blog-title {
        font-size: 2rem;
    }

    .featured-post-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .featured-post-title {
        font-size: 1.5rem;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    /* Post navigation */
    .nav-links {
        grid-template-columns: 1fr;
    }

    .nav-next {
        text-align: left;
    }

    /* Author bio */
    .author-bio {
        flex-direction: column;
        text-align: center;
    }

    /* Newsletter form */
    .newsletter-form {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Breadcrumbs */
    .breadcrumbs {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }

    /* Post meta */
    .post-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
}
