/* CSS Variables for consistent theming */
:root {
    --primary-color: #dc2626;
    --primary-light: #ef4444;
    --primary-dark: #b91c1c;
    --secondary-color: #1f2937;
    --accent-color: #f59e0b;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
    --border-radius: 0.5rem;
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 1200px;
    margin: auto;

}

.nav-logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.nav-logo span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 0;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1810 50%, #1a1a1a 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="carGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23dc2626;stop-opacity:1" /><stop offset="100%" style="stop-color:%23b91c1c;stop-opacity:1" /></linearGradient><filter id="shadow"><feDropShadow dx="0" dy="8" stdDeviation="12" flood-color="rgba(0,0,0,0.4)"/></filter></defs><g transform="translate(200,150)"><ellipse cx="400" cy="200" rx="350" ry="80" fill="rgba(0,0,0,0.2)" opacity="0.6"/><path d="M50 160 Q100 100 200 110 L600 110 Q700 100 750 160 L780 190 Q790 200 785 210 L770 220 Q750 230 720 225 L80 225 Q60 230 40 220 L25 210 Q20 200 30 190 Z" fill="url(%23carGrad)" filter="url(%23shadow)"/><circle cx="150" cy="200" r="35" fill="%23000" opacity="0.8"/><circle cx="650" cy="200" r="35" fill="%23000" opacity="0.8"/><circle cx="150" cy="200" r="25" fill="%23333"/><circle cx="650" cy="200" r="25" fill="%23333"/><circle cx="150" cy="200" r="15" fill="%23666"/><circle cx="650" cy="200" r="15" fill="%23666"/><rect x="200" y="130" width="80" height="40" rx="5" fill="rgba(255,255,255,0.1)"/><rect x="320" y="130" width="80" height="40" rx="5" fill="rgba(255,255,255,0.1)"/><rect x="450" y="130" width="80" height="40" rx="5" fill="rgba(255,255,255,0.1)"/><path d="M200 140 Q250 120 300 140 L500 140 Q550 120 600 140" stroke="rgba(255,255,255,0.2)" stroke-width="2" fill="none"/><circle cx="250" cy="150" r="3" fill="rgba(255,255,255,0.4)"/><circle cx="550" cy="150" r="3" fill="rgba(255,255,255,0.4)"/></g></svg>');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(220, 38, 38, 0.1) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.hero-cta .btn-primary {
    background-color: var(--primary-color);
    border: none;
}

.hero-cta .btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-cta .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

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


/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Car Details Section */
.car-details {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

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

.detail-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.detail-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.detail-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.detail-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Our Story Section */
.our-story {
    padding: 4rem 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

.story-text h2 {
    margin-bottom: 1.5rem;
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

.image-placeholder {
    background-color: var(--bg-light);
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.image-placeholder img {
    display: block;
    width: 100%;
    height: auto;
}

.image-placeholder:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* Latest Updates Section */
.latest-updates {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

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

.update-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1rem;
    transition: var(--transition);
}

.update-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.update-date {
    text-align: center;
    min-width: 60px;
}

.update-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.update-date .month {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.update-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.update-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

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

/* Quick Timeline */
.quick-timeline {
    padding: 4rem 0;
}

.timeline-preview {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-preview::before,
.timeline-container.vertical::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-preview::after,
.timeline-container.vertical::after{
    content: '';
    position: absolute;
    left: 25px;
    bottom: -6px;
    width: 12px;
    height: 12px;
    border-radius: 6px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: calc(60px + 1rem);
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background-color: var(--bg-light);
    border: 3px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.timeline-item.completed .timeline-marker {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.timeline-item.active .timeline-marker {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.timeline-content p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

/* Footer */
.footer {
    background-color: var(--bg-dark);
    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,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #d1d5db;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Page Header */
.page-header {
    margin-top: 80px;
    padding: 2rem 0;
    background-color: var(--bg-light);
    text-align: center;
}

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

.page-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        min-height: 60vh;
        background-attachment: scroll;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

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

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

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 250px;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

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

    .page-header h1 {
        font-size: 2rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 50vh;
    }

    .hero-content {
        padding: 1.5rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .timeline-item {
        padding-left: calc(50px + 1rem);
    }

    .timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .timeline-preview::before {
        left: 25px;
    }

    .timeline-container.vertical::before {
        display:none
    }

    .image-placeholder {
        padding: 1rem;
    }
}

/* ========================================
   GALLERY STYLES
   ======================================== */

/* Gallery Specific Styles */
.gallery-filters {
    padding: 2rem 0;
    background-color: var(--bg-light);
}

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

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    background-color: white;
    color: var(--text-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.gallery {
    padding: 0 0 4rem;
}

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

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-placeholder {
    aspect-ratio: 4/3;
    background-color: var(--bg-light);
    border: 2px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
    padding: 0.5rem;
}

.gallery-placeholder img {
    display: block;
    width: 100%;
    height: auto;
}

.gallery-placeholder:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.gallery-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    margin-bottom: 0.5rem;
    color: white;
}

.gallery-overlay p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 2001;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background-color: var(--primary-color);
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: cover;
}

.modal-info {
    padding: 2rem;
}

.modal-info h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.modal-info p {
    color: var(--text-light);
    margin-bottom: 0;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 1rem;
}

.modal-nav-btn {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav-btn:hover {
    background-color: var(--primary-color);
}

.modal-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.modal-nav-btn:disabled:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Filter animations */
.gallery-item.filtered {
    display: none;
}

.gallery-item.visible {
    display: block;
    animation: fadeInScale 0.5s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========================================
   BLOG STYLES
   ======================================== */

/* Blog Specific Styles */
.blog-content {
    padding: 2rem 0 4rem;
}

.blog-grid {
    display: block;
}

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

.blog-post {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.blog-post:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.post-header {
    padding: 2rem 2rem 1rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.post-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.post-category {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.post-header h2 {
    margin-bottom: 0;
    color: var(--text-color);
}

.post-content {
    padding: 0 2rem 2rem;
}

.post-image {
    margin-bottom: 2rem;
}

.post-image .image-placeholder {
    aspect-ratio: 16/9;
    background-color: var(--bg-light);
    border: 2px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.post-image .image-placeholder:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.post-image .image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.post-text {
    line-height: 1.7;
}

.post-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.post-text ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.post-text li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* Sidebar Styles */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.recent-posts {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
}

.recent-post:hover {
    background-color: var(--primary-color);
    color: white;
}

.recent-date {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 50px;
    text-align: center;
}

.recent-post:hover .recent-date {
    background-color: white;
    color: var(--primary-color);
}

.recent-title {
    font-weight: 500;
    color: var(--text-color);
}

.recent-post:hover .recent-title {
    color: white;
}

.categories {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.categories li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

.categories li a:hover {
    background-color: var(--primary-color);
    color: white;
}

.categories li a span {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
}

.categories li a:hover span {
    background-color: white;
    color: var(--primary-color);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ========================================
   TIMELINE STYLES
   ======================================== */

/* Timeline Specific Styles */
.timeline-controls {
    padding: 2rem 0;
    background-color: var(--bg-light);
}

.timeline-controls .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.timeline-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.timeline-filters .filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    background-color: white;
    color: var(--text-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.timeline-filters .filter-btn:hover,
.timeline-filters .filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.timeline-view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    background-color: white;
    color: var(--text-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover,
.view-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.timeline-section {
    padding: 4rem 0;
}

/* Vertical Timeline */
.timeline-container.vertical {
    position: relative;
}

.timeline-container.vertical .timeline-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-container.vertical .timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: calc(60px + 1rem);
}

.timeline-container.vertical .timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background-color: var(--bg-light);
    border: 3px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: var(--transition);
    z-index: 1;
}

.timeline-container.vertical .timeline-item.completed .timeline-marker {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.timeline-container.vertical .timeline-item.active .timeline-marker {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    animation: pulse 2s infinite;
}

.timeline-container.vertical .timeline-item.upcoming .timeline-marker {
    background-color: var(--bg-light);
    border-color: var(--border-color);
    color: var(--text-muted);
}

/* Horizontal Timeline */
.timeline-container.horizontal {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-container.horizontal .timeline-line {
    height: 2px;
    background-color: var(--border-color);
    position: relative;
    margin: 2rem 0;
}

.timeline-container.horizontal .timeline-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem;
    padding-left: calc(50px + 1rem);
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-container.horizontal .timeline-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.timeline-container.horizontal .timeline-marker {
    width: 50px;
    height: 50px;
    background-color: var(--bg-light);
    border: 3px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.timeline-container.horizontal .timeline-item.completed .timeline-marker {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.timeline-container.horizontal .timeline-item.active .timeline-marker {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    animation: pulse 2s infinite;
}

/* Timeline Content */
.timeline-content {
    flex: 1;
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.timeline-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.timeline-details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.detail-item i {
    color: var(--primary-color);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

/* Timeline Stats */
.timeline-stats {
    margin-top: 4rem;
    padding: 2rem 0;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
}

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

.stat-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Filter animations */
.timeline-item.filtered {
    display: none;
}

.timeline-item.visible {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.timeline-container.horizontal .timeline-item.filtered {
    display: none;
}

.timeline-container.horizontal .timeline-item.visible {
    display: flex;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

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

/* ========================================
   ADDITIONAL RESPONSIVE STYLES
   ======================================== */

/* Gallery Responsive */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .modal-content {
        max-width: 95%;
        max-height: 95%;
    }

    .modal-nav {
        padding: 0 0.5rem;
    }

    .modal-nav-btn {
        width: 40px;
        height: 40px;
    }

    .modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        margin-bottom: 1rem;
    }

    .modal-info {
        padding: 1rem;
    }

    .modal-image {
        max-height: 60vh;
    }
}

/* Blog Responsive */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

@media (max-width: 768px) {
    .blog-content {
        padding: 2rem 0;
    }

    .blog-post {
        margin-bottom: 2rem;
    }

    .post-header {
        padding: 1.5rem 1.5rem 0.5rem;
    }

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

    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .sidebar-widget {
        padding: 1.5rem;
    }

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

@media (max-width: 480px) {
    .blog-sidebar {
        grid-template-columns: 1fr;
    }

    .recent-post {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .recent-date {
        min-width: auto;
    }

    .post-text ul {
        margin-left: 1rem;
    }
}

/* Timeline Responsive */
@media (max-width: 1024px) {
    .timeline-controls .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-container.horizontal .timeline-item {
        flex-direction: column;
        text-align: center;
    }

    .timeline-container.horizontal .timeline-marker {
        margin-bottom: 1rem;
    }

    .timeline-container.vertical::before,
    .timeline-container.vertical::after{
        display:none
    }
}

@media (max-width: 768px) {
    .timeline-container.vertical {
        padding-left: 2rem;
    }

    .timeline-container.vertical .timeline-line {
        left: 25px;
    }

    .timeline-container.vertical .timeline-marker {
        left: 0;
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .timeline-container.vertical .timeline-item {
        padding-left: calc(50px + 1rem);
    }

    .timeline-filters {
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .timeline-filters .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .timeline-details {
        flex-direction: column;
        gap: 0.5rem;
    }

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

@media (max-width: 480px) {
    .timeline-container.vertical {
        padding-left: 1rem;
    }

    .timeline-container.vertical .timeline-line {
        left: 20px;
    }

    .timeline-container.vertical .timeline-marker {
        left: 0;
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }

    .timeline-container.vertical .timeline-item {
        padding-left: calc(40px + 1rem);
        margin-bottom: 2rem;
    }

    .timeline-content h3 {
        font-size: 1.25rem;
    }

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

    .stat-card {
        padding: 1.5rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

.pagination-info {
    padding: 2rem 0;
    text-align: center;
}

.pagination-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.pagination-container > :last-child {
    text-align: right;
}