/* Enhanced Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin: 0;
    padding: 80px 20px 40px;
    overflow: hidden;
    width: 100%;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5),
                 0 0 20px rgba(255, 69, 0, 0.3);
    line-height: 1.2;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero-content h1 .brand {
    font-size: 0.7em;
    color: #ff4500;
    font-weight: 600;
    letter-spacing: 4px;
}

.hero-content h1 .model {
    font-size: 1em;
    background: linear-gradient(45deg, #fff, #ff4500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    margin-bottom: 2rem;
    color: #fff;
    max-width: 800px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 60px;
    }
    
    .hero-content {
        padding: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-button {
        width: 100%;
        max-width: 300px;
    }
}

.hero-button {
    padding: 16px 32px;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    text-align: center;
    min-width: 200px;
    backdrop-filter: blur(5px);
    border: 2px solid transparent;
}

.explore-all {
    background: #e50914;
    color: white;
    border-color: #e50914;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
}

.explore-all:hover {
    background: rgba(229, 9, 20, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
}

.explore-specs {
    background: #ff4500;
    color: white;
    border-color: #ff4500;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

.explore-specs:hover {
    background: rgba(255, 69, 0, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
}

.discover-legacy {
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.discover-legacy:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .hero-button {
        width: 100%;
        padding: 14px 28px;
        margin: 0.5rem 0;
    }
}

.hero-background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 6rem 1rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero-section picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 5rem 1rem 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-content {
    max-width: 800px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin: 1.5rem 0;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--highlight);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
    min-width: 200px;
    text-align: center;
}

.cta.secondary {
    background: transparent;
    border: 2px solid white;
    box-shadow: none;
}

.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
}

.cta.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
}

.cta.secondary {
    background: transparent;
    border: 2px solid white;
}

.cta.secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Featured Story Section */
.featured-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.story-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.story-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
}

.main-story {
    grid-column: 1 / -1;
    text-align: left;
}

.story-highlight {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--highlight);
    margin: 1.5rem 0;
    padding-left: 1rem;
    border-left: 4px solid var(--highlight);
}

.fact-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.fact-box ul {
    list-style: none;
    padding-left: 0;
}

.fact-box li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.fact-box li:before {
    content: "•";
    color: var(--highlight);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Timeline Styling */
.fact-timeline {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    position: relative;
}

.fact-timeline:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--highlight);
    z-index: 1;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: white;
    padding: 0.5rem;
}

.year {
    font-weight: bold;
    color: var(--highlight);
    margin-bottom: 0.5rem;
}

/* Stats Styling */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.number {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--highlight);
}

.label {
    font-size: 0.9rem;
    color: #666;
}

/* Price Chart */
.price-chart {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-point {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.price-point.highlight {
    background: var(--highlight);
    color: white;
}

.price {
    font-weight: bold;
}

/* Navigation Styles */
.main-nav {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--highlight);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    z-index: 1001;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    position: relative;
}

nav a:hover {
    color: var(--highlight);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--highlight);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation Mobile Styles */
    .menu-toggle {
        display: flex;
    }

    .hero-section {
        min-height: 100vh;
    }

    .hero-content {
        padding-top: calc(60px + 2rem); /* Account for fixed navigation */
    }

    .hero-background {
        object-position: center center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin: 1rem 0;
    }

    .hero-section {
        padding-top: 80px;
        background-attachment: scroll;
    }

    .hero-content {
        width: 100%;
        padding: 0 1rem;
        z-index: 2;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    nav.active ul {
        right: 0;
    }

    nav.active .menu-toggle span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    nav.active .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    nav.active .menu-toggle span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    nav a {
        display: block;
        padding: 0.8rem;
        font-size: 1.2rem;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    nav.active a {
        opacity: 1;
        transform: translateY(0);
    }

    /* Hero Section Mobile Styles */
    .hero-section {
        height: 100vh;
        padding: 4rem 1rem 1rem 1rem; /* Added top padding for navigation */
        background-attachment: scroll;
        margin-top: 0; /* Remove any top margin */
    }

    .hero-content {
        max-width: 100%;
        padding: 0 1rem;
        margin-top: 2rem; /* Space after navigation */
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin: 0.75rem 0;
        line-height: 1.4;
    }

    .hero-buttons {
        flex-direction: column;
        width: 90%;
        max-width: 300px;
        margin: 1.5rem auto 0;
        gap: 1rem;
    }

    .hero-buttons .cta {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
        border-radius: 30px;
        background: var(--highlight);
        color: white;
        border: none;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 600;
        box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .hero-buttons .cta:active {
        transform: translateY(2px);
        box-shadow: 0 2px 8px rgba(255, 69, 0, 0.2);
    }

    .hero-buttons .cta.secondary {
        background: transparent;
        border: 2px solid white;
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    }

    .hero-buttons .cta.secondary:active {
        background: rgba(255, 255, 255, 0.1);
        box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
    }

    /* Content Sections Mobile Styles */
    .story-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .story-card {
        padding: 1.25rem;
    }

    .impact-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .fact-timeline {
        flex-direction: column;
        gap: 1rem;
    }

    .fact-timeline:before {
        display: none;
    }

    .price-chart {
        margin: 1rem 0;
    }

    .price-point {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

/* Extra Small Screen Fixes */
@media (max-width: 375px) {
    nav a {
        font-size: 0.9rem;
        padding: 0.4rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .story-card {
        padding: 1rem;
    }

    .fact-box {
        padding: 0.75rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}