/* =============================================
   Marco Hard - Official Website Styles
   ============================================= */

/* CSS Variables */
:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --secondary: #1d3557;
    --secondary-light: #457b9d;
    --accent: #f4a261;
    --dark: #0d1b2a;
    --dark-light: #1b263b;
    --light: #f1faee;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Oswald', sans-serif;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);

    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

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

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

/* =============================================
   Navigation
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background-color: var(--dark);
}

.navbar.scrolled {
    background-color: #0d1b2a;
    background: rgba(13, 27, 42, 0.98);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

/* Homepage hero - transparent navbar until scroll */
body:has(.hero) .navbar:not(.scrolled) {
    background-color: transparent;
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
}

.logo-accent {
    color: var(--primary);
}

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

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 50%, var(--dark-light) 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.track-lines {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 80px,
        rgba(255,255,255,0.03) 80px,
        rgba(255,255,255,0.03) 82px
    );
    transform: perspective(500px) rotateX(60deg);
    transform-origin: bottom;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(230, 57, 70, 0.2);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(230, 57, 70, 0.3);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 15vw, 10rem);
    font-weight: 700;
    line-height: 0.9;
    margin-bottom: 1rem;
}

.title-line {
    display: block;
    color: var(--white);
    letter-spacing: 0.1em;
}

.title-line.accent {
    color: var(--primary);
    text-shadow: 0 0 60px rgba(230, 57, 70, 0.5);
}

.hero-subtitle {
    color: var(--gray-400);
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

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

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    display: block;
    color: var(--gray-500);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.25rem;
}

.hero-cta {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

.hero-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--gray-500);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gray-500);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* =============================================
   Sections
   ============================================= */
.section {
    padding: 6rem 0;
}

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

.section-header.light {
    color: var(--white);
}

.section-tag {
    display: inline-block;
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-header.light .section-tag {
    background: rgba(230, 57, 70, 0.2);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-header.light .section-title {
    color: var(--white);
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* =============================================
   About Section
   ============================================= */
.about {
    background: var(--gray-100);
}

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

.about-image {
    position: relative;
}

.image-placeholder {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--gray-400);
    box-shadow: var(--shadow-xl);
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    opacity: 0.5;
}

.placeholder-icon svg {
    width: 100%;
    height: 100%;
}

.about-card {
    position: absolute;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-card.nationality {
    bottom: -1rem;
    right: -1rem;
}

.card-flag {
    font-size: 2rem;
}

.card-text {
    font-weight: 600;
    color: var(--dark);
}

.about-text h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.detail-icon {
    font-size: 1.5rem;
}

.detail-text {
    display: flex;
    flex-direction: column;
}

.detail-text strong {
    font-size: 0.8rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-text span {
    font-weight: 600;
    color: var(--dark);
}

/* =============================================
   Achievements Section
   ============================================= */
.achievements {
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
}

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

.achievement-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.achievement-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(230, 57, 70, 0.3);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

.achievement-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.achievement-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.achievement-card p {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =============================================
   Stats Section
   ============================================= */
.stats {
    background: var(--white);
}

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

.stat-card {
    background: var(--gray-100);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

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

.stat-card.featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.stat-card.featured h3,
.stat-card.featured p {
    color: var(--white);
}

.stat-card.featured .stat-bg {
    stroke: rgba(255, 255, 255, 0.2);
}

.stat-card.featured .stat-progress {
    stroke: var(--white);
}

.stat-visual {
    margin-bottom: 1.5rem;
}

.stat-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.stat-circle svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.stat-bg {
    fill: none;
    stroke: var(--gray-300);
    stroke-width: 8;
}

.stat-progress {
    fill: none;
    stroke: var(--primary);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 1.5s ease;
}

.stat-number {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-number .number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
}

.stat-card.featured .stat-number .number {
    color: var(--white);
}

.stat-number .unit {
    font-size: 0.85rem;
    color: var(--gray-500);
    text-transform: uppercase;
}

.stat-card.featured .stat-number .unit {
    color: rgba(255, 255, 255, 0.8);
}

.stat-info h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.stat-date {
    color: var(--gray-600);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.stat-venue {
    color: var(--gray-500);
    font-size: 0.8rem;
}

.stat-card.featured .stat-date,
.stat-card.featured .stat-venue {
    color: rgba(255, 255, 255, 0.7);
}

/* =============================================
   Career Timeline
   ============================================= */
.career {
    background: linear-gradient(180deg, var(--secondary) 0%, var(--dark) 100%);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary-light) 100%);
}

.timeline-item {
    position: relative;
    padding-bottom: 3rem;
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInLeft 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-marker {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--dark);
    border: 3px solid var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
}

.timeline-marker.active {
    background: var(--primary);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.5);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    transition: var(--transition);
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.timeline-date {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =============================================
   Gallery / Venues Section
   ============================================= */
.gallery {
    background: var(--gray-100);
}

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

.venue-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.venue-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.venue-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.venue-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.venue-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.venue-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =============================================
   SEO Section
   ============================================= */
.seo-section {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.seo-content p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    text-align: justify;
}

/* =============================================
   Footer
   ============================================= */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
}

.footer-logo .accent {
    color: var(--primary);
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.footer-links h4,
.footer-info h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-info p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

/* =============================================
   Responsive Design
   ============================================= */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .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(5px, -5px);
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stat {
        flex: 1 1 100px;
    }

    .stat-value {
        font-size: 2rem;
    }

    .about-details {
        grid-template-columns: 1fr;
    }

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

    .timeline {
        padding-left: 2rem;
    }

    .timeline-marker {
        left: -2rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 4rem 0;
    }

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

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

    .stat-card {
        padding: 1.5rem;
    }

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

    .achievement-card {
        padding: 2rem 1.5rem;
    }
}

/* =============================================
   Animations & Effects
   ============================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth hover effects for interactive elements */
.achievement-card,
.stat-card,
.venue-card,
.timeline-content {
    will-change: transform;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* =============================================
   Breadcrumbs
   ============================================= */
.breadcrumbs {
    background: var(--dark);
    padding: 1rem 0;
    margin-top: 60px;
}

.breadcrumbs .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--gray-400);
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs .separator {
    color: var(--gray-500);
}

.breadcrumbs .current {
    color: var(--white);
}

/* =============================================
   Page Headers
   ============================================= */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--gray-400);
    font-size: 1.1rem;
}

/* =============================================
   Intro Section
   ============================================= */
.intro-section {
    background: var(--white);
    padding: 4rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.intro-content p {
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* =============================================
   Blog Section & Cards
   ============================================= */
.blog-section {
    padding: 4rem 0;
    background: var(--gray-100);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.blog-card-image {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    height: 150px;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.blog-category,
.article-category {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.blog-date,
.article-date {
    color: var(--gray-500);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.5rem;
}

.blog-card-content h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.blog-card-content h2 a {
    color: var(--dark);
}

.blog-card-content h2 a:hover {
    color: var(--primary);
}

.blog-card-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.read-more:hover {
    color: var(--primary-dark);
}

/* =============================================
   Blog CTA Section
   ============================================= */
.blog-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 4rem 0;
    text-align: center;
}

.blog-cta h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.blog-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.blog-cta .hero-cta {
    background: var(--white);
    color: var(--primary);
}

.blog-cta .hero-cta:hover {
    background: var(--gray-100);
}

/* =============================================
   Blog Article Page
   ============================================= */
.blog-article {
    padding: 4rem 0;
    background: var(--white);
}

.article-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.article-header h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--dark);
    margin: 1rem 0;
    line-height: 1.2;
}

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

.article-meta span {
    margin: 0 0.5rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-intro {
    font-size: 1.15rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.article-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--dark);
    margin: 2.5rem 0 1rem;
}

.article-content p {
    color: var(--gray-700);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.article-content a {
    color: var(--primary);
}

.article-content a:hover {
    text-decoration: underline;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.tag {
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.btn-back,
.btn-home {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-back {
    background: var(--gray-100);
    color: var(--dark);
}

.btn-back:hover {
    background: var(--gray-200);
}

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

.btn-home:hover {
    background: var(--primary-dark);
}

/* Related Articles */
.related-articles {
    background: var(--gray-100);
    padding: 4rem 0;
}

.related-articles h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 2rem;
    text-align: center;
}

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

.related-card {
    display: block;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.related-category {
    display: inline-block;
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.related-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--dark);
}

/* =============================================
   Legal Pages
   ============================================= */
.legal-content {
    padding: 4rem 0;
    background: var(--white);
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
}

.legal-text h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--dark);
    margin: 2.5rem 0 1rem;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin: 1.5rem 0 0.75rem;
}

.legal-text p {
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-text ul {
    margin: 1rem 0 1.5rem 1.5rem;
    list-style: disc;
}

.legal-text li {
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-text a {
    color: var(--primary);
}

.legal-text a:hover {
    text-decoration: underline;
}

/* =============================================
   About Page
   ============================================= */
.about-page-content {
    padding: 4rem 0;
    background: var(--white);
}

.about-page-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
}

.about-page-main h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--dark);
    margin: 2rem 0 1rem;
}

.about-page-main h2:first-child {
    margin-top: 0;
}

.about-page-main p {
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-page-main ul {
    margin: 1rem 0 1.5rem 1.5rem;
    list-style: disc;
}

.about-page-main li {
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.about-page-main a {
    color: var(--primary);
}

.about-page-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-card {
    background: var(--gray-100);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.sidebar-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.quick-facts {
    list-style: none;
}

.quick-facts li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.9rem;
}

.quick-facts li:last-child {
    border-bottom: none;
}

.fact-label {
    color: var(--gray-500);
}

.fact-value {
    color: var(--dark);
    font-weight: 500;
}

.sidebar-articles {
    list-style: none;
}

.sidebar-articles li {
    margin-bottom: 0.75rem;
}

.sidebar-articles a {
    color: var(--gray-700);
    font-size: 0.9rem;
}

.sidebar-articles a:hover {
    color: var(--primary);
}

/* =============================================
   Contact Page
   ============================================= */
.contact-section {
    padding: 4rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2,
.contact-form-container h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.contact-details h3 {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--dark);
    font-weight: 500;
}

.contact-topics h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.contact-topics ul {
    list-style: disc;
    margin-left: 1.25rem;
}

.contact-topics li {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--primary-dark);
}

/* =============================================
   FAQ Section
   ============================================= */
.faq-section {
    background: var(--gray-100);
    padding: 4rem 0;
}

.faq-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

.faq-intro p {
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.7;
}

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

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item a {
    color: var(--primary);
}

/* =============================================
   Latest Articles Section
   ============================================= */
.latest-articles {
    background: var(--white);
}

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

.article-card {
    background: var(--gray-100);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
}

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

.article-card-image {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    height: 120px;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

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

.article-card-content h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.article-card-content h3 a {
    color: var(--dark);
}

.article-card-content h3 a:hover {
    color: var(--primary);
}

.article-card-content p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.articles-cta {
    text-align: center;
    margin-top: 3rem;
}

/* =============================================
   Footer Legal Links
   ============================================= */
.footer-legal h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-legal a {
    color: var(--gray-400);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* =============================================
   Updated Responsive Styles
   ============================================= */
@media (max-width: 992px) {
    .about-page-grid {
        grid-template-columns: 1fr;
    }

    .about-page-sidebar {
        position: static;
    }

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

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

@media (max-width: 768px) {
    .breadcrumbs {
        margin-top: 55px;
    }

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

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

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

    .article-navigation {
        flex-direction: column;
        gap: 1rem;
    }

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