/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #FBFF00;
    background-color: #000000;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #FBFF00;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #CCCCCC;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #FBFF00, #E6F200);
    color: #000000;
    box-shadow: 0 4px 15px rgba(251, 255, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 255, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #FBFF00;
    border: 2px solid #FBFF00;
}

.btn-secondary:hover {
    background: #FBFF00;
    color: #000000;
    transform: translateY(-2px);
}

.cta-button {
    background: #FBFF00;
    color: #000000;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #E6F200;
    transform: translateY(-1px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(251, 255, 0, 0.1);
}

.navbar {
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #FBFF00;
    font-weight: 700;
    margin: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    color: #FBFF00;
}

.nav-link:hover {
    color: #E6F200;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: #FBFF00;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #FBFF00;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    position: relative;
    overflow: hidden;
    flex-direction: column;
    gap: 3rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/><circle cx="50" cy="10" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    flex: none;
    max-width: 800px;
    text-align: center;
    order: 2;
}

.hero-title {
    color: #FBFF00;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #CCCCCC;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-image {
    flex: none;
    max-width: 560px;
    width: 100%;
    text-align: center;
    order: 1;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #FBFF00;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #CCCCCC;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #000000;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #1a1a1a;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(251, 255, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(251, 255, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FBFF00, #E6F200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #000000;
    font-size: 2rem;
}

.service-card h3 {
    color: #FBFF00;
    margin-bottom: 1rem;
}

.service-card p {
    color: #CCCCCC;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #1a1a1a;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: #FBFF00;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #CCCCCC;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FBFF00;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #CCCCCC;
    margin-top: 0.5rem;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: #000000;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(251, 255, 0, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(251, 255, 0, 0.15);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    color: #FBFF00;
    margin-bottom: 1rem;
}

.project-content p {
    color: #CCCCCC;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #1a1a1a;
}

.contact-content-single {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
    text-align: center;
}

.contact-info-centered {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 800px;
    width: 100%;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FBFF00, #E6F200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    flex-shrink: 0;
}

.contact-details h3 {
    color: #FBFF00;
    margin-bottom: 0.5rem;
}

.contact-details p {
    margin: 0;
    color: #CCCCCC;
}

.contact-details a {
    color: #FBFF00;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #E6F200;
}

.contact-cta {
    background: #000000;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(251, 255, 0, 0.1);
    border: 1px solid #333;
    max-width: 500px;
    width: 100%;
}

.contact-cta h3 {
    color: #FBFF00;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-cta p {
    color: #CCCCCC;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-cta .btn-primary {
    font-size: 1.2rem;
    padding: 15px 30px;
}

/* Footer */
.footer {
    background: #000000;
    color: #FBFF00;
    padding: 60px 0 30px;
    border-top: 1px solid #333;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: #FBFF00;
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: #CCCCCC;
    margin-bottom: 1rem;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #CCCCCC;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FBFF00;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #FBFF00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    transition: background 0.3s ease;
}

.footer-social a:hover {
    background: #E6F200;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #CCCCCC;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #000000;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(251, 255, 0, 0.05);
        padding: 2rem 0;
        border-top: 1px solid #333;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .cta-button {
        display: none;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 100px 20px 60px;
        gap: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content,
    .contact-content-single {
        gap: 2rem;
    }

    .contact-info-centered {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        justify-content: center;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .container {
        padding: 0 15px;
    }

    .hero-image {
        max-width: 400px; /* Scale down on tablet */
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 250px;
    }

    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-cta {
        padding: 2rem;
    }

    .hero-image {
        max-width: 280px; /* Further scale down on mobile */
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for better accessibility */
.btn-primary:focus,
.btn-secondary:focus,
.nav-link:focus {
    outline: 2px solid #FBFF00;
    outline-offset: 2px;
}
