/* Global Styles */
:root {
    --primary-color: #0066cc;
    --primary-dark: #004c99;
    --primary-light: #3399ff;
    --secondary-color: #121212;
    --text-color: #f8f9fa;
    --text-dark: #adb5bd;
    --background-color: #121212;
    --background-light: #151515;
    --background-lighter: #333333;
    --accent-color: #00aaff;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary-light);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
}

ul {
    list-style: none;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* Button base styles */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin: 0 10px;
}

/* Primary button (Download) with blue background */
.btn-primary {
  background-color: #0066cc;
  color: white;
}

/* Documentation button with black/gray background */
.btn-docs {
  background-color: #2a2a2a;
  color: white;
}

/* The animated underline base style */
.btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  transition: width 0.3s ease;
}

/* Download button white underline */
.btn-primary::after {
  background-color: white;
}

/* Documentation button blue underline */
.btn-docs::after {
  background-color: #0099ff;
}

/* Animation on hover - makes the underline expand from left to right */
.btn:hover::after {
  width: 100%;
}

/* Additional hover effects for better UX */
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Navigation */
header {
    background-color: var(--secondary-color);
    position: relative;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
}

.logo span {
    color: var(--primary-light);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-light);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 70vh; /* Change from 80vh to 100vh to fill entire viewport height */
     background-image: url('background.png'); /* Add your background image */
    background-size: cover; /* Make image cover entire area */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Prevent image from repeating */
    /* Keep your existing properties */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    background-color: #000; /* This can be removed if using just background image */
    color: var(--text-color);
}

.hero-content {
    max-width: 800px;
    position: relative;
}

.logo-main {
    position: relative;
    display: inline-block;
    margin-bottom: 0rem;
}



.hero-content .title {
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: 0rem;
    color: white; /* Flow is white */
    position: relative;
    z-index: 2;
    
    font-family: var(--font-main); /* Ensures consistency */
}
.hero-content .title span {
    color: var(--primary-light); /* Forge is blue */
}


.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* About Section */
.about {
    padding: 5rem 5%;
    background-color: var(--background-light);
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Features Section */
.features {
    padding: 5rem 5%;
    background-color: var(--background-color);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--background-lighter);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.feature-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.1);
}

.feature-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--primary-light);
}

.feature-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-dark);
}

/* Changelog Section */
.changelog {
    padding: 5rem 5%;
    background-color: var(--background-light);
}

.changelog-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.changelog-content {
    flex: 1;
    min-width: 300px;
}

.changelog-content h2 {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.version {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--background-lighter);
}

.version h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: var(--text-color);
}

.version .date {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: normal;
}

.version ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.version ul li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.changelog-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.changelog-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.licensing, .contact-info {
    flex: 1;
    min-width: 300px;
}

.licensing h3, .contact-info h3 {
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.licensing ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.licensing ul li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-info p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    color: var(--primary-light);
    width: 20px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid var(--background-lighter);
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content .title {
        font-size: 3.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .logo-background {
        max-width: 200px;
    }
    
    .about-container, 
    .changelog-container {
        flex-direction: column;
    }
    
    .changelog-content {
        order: 2;
    }
    
    .changelog-image {
        order: 1;
    }
    
}

/* How to Run Section */
.how-to-run {
    padding: 5rem 5%;
    background-color: var(--background-color);
}

.run-container {
    max-width: 1200px;
    margin: 0 auto;
}

.installation-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.method {
    flex: 1;
    min-width: 300px;
    background-color: var(--background-lighter);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.method:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.method h3 {
    color: var(--primary-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.method h3 i {
    font-size: 1.2rem;
}

.method ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.method ol li {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.method code {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: monospace;
    color: var(--primary-light);
}

/* Update responsive styles for How to Run section */
@media (max-width: 768px) {
    .installation-methods {
        flex-direction: column;
    }
}

/* Get Started Section */
.get-started {
    padding: 5rem 5%;
    background-color: var(--background-color);
}

.setup-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--background-lighter);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.setup-steps {
    position: relative;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2rem;
    left: 1.5rem;
    width: 2px;
    height: calc(100% + 1rem);
    background-color: #3396ff;
    transform: translateX(-50%);
    z-index: 1;
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: #337eff;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    z-index: 2;
}

.step-content {
    flex-grow: 1;
}

.step-content h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.step-content p {
    color: var(--text-dark);
}

/* Maintenance Notice */
.maintenance-notice {
    background-color: #ffd700; /* Yellow background */
    color: #333;
    padding: 1.5rem 5%;
    text-align: center;
    border-left: 4px solid #ff9800; /* Orange left border for emphasis */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.notice-content {
    max-width: 1200px;
    margin: 0 auto;
}

.notice-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
}

.notice-content p {
    margin-bottom: 0;
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
}

/* Responsive adjustments for the notice */
@media (max-width: 768px) {
    .maintenance-notice {
        padding: 1rem 3%;
    }
    
    .notice-content h3 {
        font-size: 1.1rem;
    }
    
    .notice-content p {
        font-size: 0.9rem;
    }
}