/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 145, 76, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    position: relative;
}

.rocket-icon {
    color: #ff914c;
    transition: transform 0.3s ease;
}

.logo:hover .rocket-icon {
    transform: translateY(-2px);
}

.pulse-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #ff914c;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ff914c;
}

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

.nav-link {
    color: #CBD5E1;
    text-decoration: none;
    font-weight: 500;
    text-transform: capitalize;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ff914c;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff914c;
    border-radius: 1px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 2rem;
    border-top: 1px solid rgba(51, 65, 85, 0.3);
}

.mobile-link {
    color: #CBD5E1;
    text-decoration: none;
    font-weight: 500;
    text-transform: capitalize;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: #ff914c;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-image: linear-gradient(rgb(0 0 0 / 75%), rgb(0 0 0 / 75%)), url(src/img/bg.jpg);
    overflow: hidden;
}

.stars {
    position: absolute;
    inset: 0;
}

.star {
    position: absolute;
    background: #ff914c;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

.star-1 {
    top: 20%;
    left: 10%;
    width: 8px;
    height: 8px;
    animation-delay: 0s;
}

.star-2 {
    top: 30%;
    right: 20%;
    width: 4px;
    height: 4px;
    background: #cc7239;
    animation-delay: 1s;
}

.star-3 {
    bottom: 40%;
    left: 25%;
    width: 6px;
    height: 6px;
    background: #ff914c;
    animation-delay: 2s;
}

.star-4 {
    top: 60%;
    right: 30%;
    width: 4px;
    height: 4px;
    background: #cc7239;
    animation-delay: 0.5s;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.2); }
}

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

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    color: #cccccc;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: #ff914c;
    color: #ffffff;
    transform: translateY(0);
}

.btn-primary:hover {
    background: #e6823d;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 145, 76, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #ff914c;
    border: 2px solid #ff914c;
}

.btn-secondary:hover {
    background: #ff914c;
    color: #000000;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Sections */
section {
    padding: 5rem 0;
}

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

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ff914c;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Section */
.services {
    background: #111111;
}

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

.service-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #333333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #ff914c;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #ff914c;
    background: #222222;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    color: #ff914c;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.service-description {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    color: #999999;
}

.service-features li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #ff914c;
    border-radius: 50%;
    flex-shrink: 0;
}

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

.about-description {
    font-size: 1.25rem;
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-subdescription {
    color: #999999;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.stat-card {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #333333;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #ff914c;
    transform: translateY(-2px);
}

.stat-icon {
    color: #ff914c;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #999999;
    font-size: 0.875rem;
}

/* Portfolio Section */
.portfolio {
    background: #111111;
}

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

.portfolio-item {
    background: #1a1a1a;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #333333;
    transition: all 0.3s ease;
    position: relative;
    group: hover;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    border-color: #ff914c;
}

.portfolio-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}

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

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.portfolio-description {
    color: #cccccc;
}

/* Contact Section */
.social-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
}

.social-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: #1a1a1a;
    border-radius: 1rem;
    border: 1px solid #333333;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.social-item:hover {
    transform: translateY(-5px);
    border-color: #ff914c;
    background: #222222;
}

.social-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 145, 76, 0.2);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff914c;
    flex-shrink: 0;
}

.social-details h3 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.social-details p {
    color: #cccccc;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: #111111;
    border-top: 1px solid #333333;
    padding: 3rem 0;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-text {
    color: #999999;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu.active {
        display: flex;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .service-card,
    .stat-card,
    .portfolio-item {
        margin: 0 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
button:focus {
    outline: 2px solid #ff914c;
    outline-offset: 2px;
}

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

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