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

:root {
    --primary-color: #ff8c42;
    --secondary-color: #ff6b35;
    --accent-color: #ffb347;
    --bg-dark: #1a1a1a;
    --bg-darker: #151515;
    --text-light: #ffffff;
    --text-gray: #d4d4d4;
    --warm-orange: #ff8c42;
    --warm-red: #ff6b35;
    --warm-yellow: #ffb347;
    --warm-gold: #daa520;
    --shadow-warm: 0 0 2px currentColor, 0 0 4px currentColor;
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Warm Text Effects */
.neon-text {
    color: var(--warm-orange);
    text-shadow: var(--shadow-warm);
}

.neon-title {
    color: var(--warm-yellow);
    text-shadow: var(--shadow-warm);
}

.neon-number {
    color: var(--warm-gold);
    text-shadow: var(--shadow-warm);
}

/* Animations */
@keyframes warm-flicker {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.95;
    }
}

@keyframes warm-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.85;
    }
}

@keyframes electric-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes circuit-flow {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--warm-orange);
    box-shadow: 0 0 10px rgba(255, 140, 66, 0.2);
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--warm-orange);
    text-shadow: var(--shadow-warm);
}

.logo i {
    margin-right: 10px;
    font-size: 2rem;
    animation: neon-flicker 2s infinite alternate;
    text-shadow: 0 0 8px currentColor;
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--warm-orange);
    text-shadow: 0 0 4px rgba(255, 140, 66, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--warm-orange);
    transition: width 0.3s ease;
    box-shadow: 0 0 6px var(--neon-blue);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--warm-orange);
    margin: 3px 0;
    transition: 0.3s;
    box-shadow: 0 0 8px rgba(255, 140, 66, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

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

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: transparent;
    color: var(--warm-orange);
    border: 2px solid var(--warm-orange);
}

.btn-secondary {
    background: transparent;
    color: var(--warm-yellow);
    border: 2px solid var(--warm-red);
}

.neon-btn {
    position: relative;
    overflow: hidden;
}

.neon-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.neon-btn:hover::before {
    left: 100%;
}

.neon-btn:hover {
    box-shadow: 0 0 0.3px currentColor, 0 0 0.6px currentColor;
    transform: translateY(-2px);
}

/* Electric Circuit Animation */
.electric-circuit {
    position: relative;
    width: 100%;
    height: 400px;
    background: radial-gradient(circle at center, rgba(255, 140, 66, 0.1) 0%, transparent 70%);
}

.circuit-line {
    position: absolute;
    background: var(--warm-orange);
    box-shadow: 0 0 8px rgba(255, 140, 66, 0.2);
}

.line-1 {
    width: 200px;
    height: 2px;
    top: 50px;
    left: 50px;
    animation: electric-pulse 2s infinite;
}

.line-2 {
    width: 2px;
    height: 150px;
    top: 50px;
    left: 250px;
    animation: electric-pulse 2s infinite 0.5s;
}

.line-3 {
    width: 180px;
    height: 2px;
    top: 200px;
    left: 50px;
    animation: electric-pulse 2s infinite 1s;
}

.circuit-node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--warm-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.2);
    animation: electric-pulse 1.5s infinite;
}

.node-1 {
    top: 40px;
    left: 40px;
}

.node-2 {
    top: 40px;
    left: 240px;
}

.node-3 {
    top: 190px;
    left: 40px;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    color: var(--warm-yellow);
    font-size: 2rem;
    opacity: 0.6;
    animation: float 4s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.floating-icon:nth-child(3) {
    top: 30%;
    right: 30%;
    animation-delay: 2s;
}

.floating-icon:nth-child(4) {
    bottom: 20%;
    left: 20%;
    animation-delay: 3s;
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

/* Services Section */
.services {
    background: var(--bg-darker);
}

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

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 140, 66, 0.2);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.neon-card {
    position: relative;
}

.neon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 140, 66, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none !important;
    z-index: -1;
}

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

.neon-card:hover {
    border-color: var(--warm-orange);
    box-shadow: 0 0 30px rgba(255, 140, 66, 0.2);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: var(--warm-orange);
    margin-bottom: 1rem;
    text-shadow: 0 0 6px rgba(255, 140, 66, 0.3);
}

.service-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--warm-yellow);
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.feature-tag {
    background: rgba(255, 140, 66, 0.15);
    color: var(--warm-orange);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--warm-orange);
}

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

.about-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Electric Animation */
.electric-animation {
    position: relative;
    width: 100%;
    height: 300px;
    background: radial-gradient(circle at center, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 10px;
    overflow: hidden;
}

.electric-field {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid var(--warm-red);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.2);
    animation: electric-pulse 2s infinite;
}

.electric-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--warm-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-yellow);
    animation: float 3s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    right: 25%;
    animation-delay: 0.5s;
}

.particle:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 1s;
}

.particle:nth-child(4) {
    top: 40%;
    right: 40%;
    animation-delay: 1.5s;
}

/* Portfolio Section */
.portfolio {
    background: var(--bg-darker);
}

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

.portfolio-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    border-color: var(--warm-yellow);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.2);
    transform: translateY(-5px);
}

.portfolio-image {
    height: 200px;
    background: linear-gradient(45deg, rgba(255, 140, 66, 0.1), rgba(255, 107, 53, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    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.05);
}

.placeholder-image {
    font-size: 3rem;
    color: var(--warm-orange);
    opacity: 0.5;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-family: 'Orbitron', monospace;
    color: var(--warm-yellow);
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 140, 66, 0.1);
    border: 1px solid var(--warm-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--warm-orange);
    box-shadow: 0 0 20px rgba(255, 140, 66, 0.2);
}

.contact-details h3 {
    font-family: 'Orbitron', monospace;
    color: var(--warm-yellow);
    margin-bottom: 0.5rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 0, 0.3);
    border-radius: 10px;
    padding: 2rem;
    pointer-events: auto !important;
}

.contact-form h3 {
    font-family: 'Orbitron', monospace;
    color: var(--warm-gold);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(255, 140, 66, 0.2) !important;
    border-radius: 5px;
    color: var(--text-light) !important;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    pointer-events: auto !important;
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--warm-orange);
    box-shadow: 0 0 20px rgba(255, 140, 66, 0.2);
    background: rgba(0, 0, 0, 0.9);
}

.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    background: rgba(0, 0, 0, 0.9);
    color: var(--text-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

/* Web Development Services Section */
.webdev-services {
    background: var(--bg-darker);
    border-top: 1px solid var(--neon-pink);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.webdev-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.webdev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.webdev-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.webdev-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.webdev-card:hover {
    border-color: var(--warm-yellow);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.2);
    transform: translateY(-5px);
}

.webdev-icon {
    font-size: 3rem;
    color: var(--warm-yellow);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.3);
}

.webdev-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--warm-orange);
}

.webdev-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.webdev-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.webdev-price {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--warm-gold);
    text-shadow: 0 0 6px rgba(218, 165, 32, 0.4);
    margin-top: auto;
}

.webdev-cta {
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 140, 66, 0.2);
    border-radius: 15px;
    padding: 3rem;
    position: relative;
    z-index: 2;
}

.webdev-cta h3 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: var(--warm-orange);
    margin-bottom: 1rem;
    text-shadow: var(--shadow-neon);
}

.webdev-cta p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--neon-blue);
    padding: 2rem 0;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--warm-orange);
    text-shadow: var(--shadow-warm);
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 10px;
    font-size: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .webdev-grid {
        grid-template-columns: 1fr;
    }
    
    .webdev-cta {
        padding: 2rem;
    }
    
    .webdev-cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
}
