/* 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: #1f2937;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Color Variables */
:root {
    --primary-red: #DC2626;
    --primary-red-dark: #B91C1C;
    --primary-red-light: #FCA5A5;
    --secondary-red: #EF4444;
    --accent-red: #FECACA;
    --neon-red: #FF0040;
    --neon-red-bright: #FF1A1A;
    --neon-blue: #00FFFF;
    --neutral-900: #111827;
    --neutral-800: #1f2937;
    --neutral-700: #374151;
    --neutral-600: #4b5563;
    --neutral-500: #6b7280;
    --neutral-400: #9ca3af;
    --neutral-300: #d1d5db;
    --neutral-200: #e5e7eb;
    --neutral-100: #f3f4f6;
    --neutral-50: #f9fafb;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 25%, #2a0505 50%, #1a0a0a 75%, #0a0a0a 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--neon-red), var(--neon-red-bright));
    top: 10%;
    left: 10%;
    animation: float1 20s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, var(--primary-red), var(--secondary-red));
    top: 60%;
    right: 20%;
    animation: float2 25s ease-in-out infinite;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, var(--secondary-red), var(--primary-red-dark));
    bottom: 20%;
    left: 30%;
    animation: float3 30s ease-in-out infinite;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--neon-red), var(--primary-red));
    top: 30%;
    right: 40%;
    animation: float1 18s ease-in-out infinite reverse;
}

.shape-5 {
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, var(--secondary-red), var(--neon-red-bright));
    bottom: 40%;
    right: 10%;
    animation: float2 22s ease-in-out infinite reverse;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(20px) rotate(240deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateX(0px) rotate(0deg); }
    50% { transform: translateX(50px) rotate(180deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0px, 0px) rotate(0deg); }
    25% { transform: translate(30px, -20px) rotate(90deg); }
    50% { transform: translate(-20px, 30px) rotate(180deg); }
    75% { transform: translate(-30px, -10px) rotate(270deg); }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(220, 38, 38, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 38, 38, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.5));
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-red);
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red), var(--neon-red));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-red);
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.nav-link:hover::after {
    width: 100%;
}

.contact-btn {
    background: linear-gradient(45deg, var(--primary-red), var(--secondary-red));
    color: white !important;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

.contact-btn:hover {
    background: linear-gradient(45deg, var(--primary-red-dark), var(--primary-red));
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.5);
}

.contact-btn::after {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.highlight {
    color: var(--primary-red);
    position: relative;
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
}

.highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--neon-red));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.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 ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-red), var(--secondary-red));
    color: white;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--primary-red-dark), var(--primary-red));
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(45deg, var(--primary-red), var(--secondary-red));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.4);
}

.btn-full {
    width: 100%;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-container {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.hero-logo {
    width: 300px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(220, 38, 38, 0.3));
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.5; }
}

/* Logo Showcase */
.logo-showcase {
    margin: 60px 0;
    overflow: hidden;
    background: rgba(220, 38, 38, 0.05);
    border-radius: 16px;
    padding: 40px 0;
    position: relative;
}

.logo-showcase::before,
.logo-showcase::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-showcase::before {
    left: 0;
    background: linear-gradient(90deg, rgba(10, 10, 10, 1) 0%, transparent 100%);
}

.logo-showcase::after {
    right: 0;
    background: linear-gradient(270deg, rgba(10, 10, 10, 1) 0%, transparent 100%);
}

.logo-track {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 60px;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-item {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: all 0.3s ease;
}

.logo-item:hover {
    background: rgba(220, 38, 38, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
}

.logo-item img {
    max-width: 60px;
    max-height: 40px;
    filter: brightness(1.2);
}

.placeholder-logo {
    font-weight: 700;
    color: var(--primary-red);
    font-size: 14px;
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.section-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Portfolio Section */
.portfolio {
    padding: 120px 0;
    background: rgba(10, 10, 10, 0.8);
    position: relative;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.portfolio-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(220, 38, 38, 0.2);
    backdrop-filter: blur(10px);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.4);
}

.portfolio-image {
    height: 200px;
    overflow: hidden;
}

.placeholder-design {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    text-align: center;
    position: relative;
}

.placeholder-design::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.portfolio-item:hover .placeholder-design::before {
    transform: translateX(100%);
}

.placeholder-design.branding {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
}

.placeholder-design.web {
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
}

.placeholder-design.print {
    background: linear-gradient(135deg, #059669, #047857);
}

.placeholder-design.social {
    background: linear-gradient(135deg, #7C3AED, #6D28D9);
}

.placeholder-design.packaging {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.placeholder-design.illustration {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
}

.design-icon {
    font-size: 3rem;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.portfolio-content {
    padding: 24px;
}

.portfolio-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.portfolio-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(220, 38, 38, 0.2);
    color: var(--primary-red);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

/* About Section */
.about {
    padding: 120px 0;
    background: rgba(10, 10, 10, 0.9);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.about-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.7;
}

.skills {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(220, 38, 38, 0.1);
    transform: translateX(10px);
}

.skill-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-red), var(--secondary-red));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

.skill-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.skill-content p {
    color: rgba(255, 255, 255, 0.7);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-logo-container {
    position: relative;
}

.about-logo {
    width: 250px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(220, 38, 38, 0.3));
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: rgba(10, 10, 10, 0.8);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.contact-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(220, 38, 38, 0.1);
    transform: translateX(10px);
}

.method-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-red), var(--secondary-red));
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

.method-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.method-content p {
    color: rgba(255, 255, 255, 0.7);
}

/* Form Styles */
.form {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(220, 38, 38, 0.2);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 24px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(220, 38, 38, 0.3);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    backdrop-filter: blur(5px);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 40px 0;
    border-top: 1px solid rgba(220, 38, 38, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    height: 30px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.3));
}

.footer-brand-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-red);
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-logo {
        width: 200px;
    }
    
    .about-logo {
        width: 180px;
    }
    
    .logo-track {
        gap: 40px;
    }
    
    .logo-item {
        width: 100px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding-top: 100px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-title,
    .contact-title {
        font-size: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .skills {
        align-items: center;
    }
    
    .form {
        padding: 24px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .logo-showcase {
        margin: 40px 0;
        padding: 30px 0;
    }
    
    .logo-track {
        gap: 30px;
    }
    
    .logo-item {
        width: 80px;
        height: 60px;
    }
    
    .placeholder-logo {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .hero-logo {
        width: 150px;
    }
    
    .about-logo {
        width: 120px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .logo-showcase {
        padding: 20px 0;
    }
    
    .logo-item {
        width: 70px;
        height: 50px;
    }
    
    .logo-item img {
        max-width: 40px;
        max-height: 30px;
    }
}

/* Additional Animations */
.portfolio-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.3s; }
.portfolio-item:nth-child(4) { animation-delay: 0.4s; }
.portfolio-item:nth-child(5) { animation-delay: 0.5s; }
.portfolio-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 10, 10, 0.8);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-red), var(--secondary-red));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--primary-red-dark), var(--primary-red));
}