/* Interactive Profile Card Styles */
:root {
    --pointer-x: 50%;
    --pointer-y: 50%;
    --background-x: 50%;
    --background-y: 50%;
    --rotate-x: 0deg;
    --rotate-y: 0deg;
    --card-opacity: 0.2;
    --pointer-from-center: 0;
    --pointer-from-top: 0;
    --pointer-from-left: 0.5;
}

.pc-card-wrapper {
    width: 380px;
    height: 520px;
    perspective: 1500px;
    position: relative;
    margin: 0 auto;
    cursor: pointer;
}

.pc-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(var(--rotate-x)) rotateX(var(--rotate-y));
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    user-select: none;
}

.pc-card.active {
    transition: transform 0.1s linear;
}

.pc-inside {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-color: #2a2a3a;
    background-image: var(--inner-gradient), var(--grain);
    background-size: cover, 200px;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pc-inside::before {
    content: "";
    position: absolute;
    inset: -100px;
    z-index: -2;
    background-image: var(--behind-gradient);
    background-position: var(--background-x) var(--background-y);
    background-size: 200% 200%;
    opacity: var(--pointer-from-center, 0);
    transition: opacity 0.4s ease-out;
}

.pc-card-wrapper.active .pc-inside::before {
    opacity: 1;
}

.pc-shine {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: calc(var(--pointer-from-center) * 0.9);
    background: radial-gradient(
        circle at var(--pointer-x) var(--pointer-y),
        rgba(255, 255, 255, 0.2),
        transparent 40%
    );
    transition: opacity 0.4s ease-out;
}

.pc-glare {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, calc(var(--pointer-from-top) * 0.15)) 0%,
        rgba(255, 255, 255, 0) 60%
    );
}

.pc-content {
    width: 100%;
    height: 100%;
    padding: 32px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pc-avatar-content {
    padding: 0;
    height: 80%;
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    z-index: 1;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 0 0 20px 20px;
    object-fit: contain;
    object-position: center;
    opacity: 0.9;
    filter: grayscale(50%);
}

.pc-header-content {
    align-items: center;
    justify-content: center;
    padding: 24px 32px 16px 32px;
    height: 30%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
}

.pc-details-content {
    padding: 16px 32px 32px 32px;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    justify-content: flex-end;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.9) 100%);
    border-radius: 0 0 20px 20px;
}

.pc-user-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 5;
}

.pc-user-details {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pc-mini-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.pc-user-text {
    line-height: 1.3;
}

.pc-handle {
    font-size: 14px;
    font-weight: 500;
    color: #d0d0d0;
}

.pc-status {
    font-size: 12px;
    color: #CCCCCC;
}

.pc-contact-btn {
    background: #FFFFFF;
    color: #0A0A0A;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.pc-contact-btn:hover {
    background-color: #CCCCCC;
    transform: scale(1.05);
}

.pc-details {
    text-align: center;
}

.pc-details h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #FFFFFF;
}

.pc-details p {
    font-size: 16px;
    color: #b0b0b0;
    margin: 4px 0 0;
}

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

html {
    scroll-behavior: smooth;
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
html {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.4;
    color: #FFFFFF;
    overflow-x: hidden;
    background: #0A0A0A;
    font-weight: 500;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0) 100%);
    border-bottom: 1px solid #1A1A1A;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.header.visible {
    opacity: 1;
    transform: translateY(0);
}

.header-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* When sites section is hidden, center the logo */
.header-content:has(#sites-section[style*="display: none"]) {
    justify-content: flex-end;
}

.header-content:has(#sites-section[style*="display: none"]) .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Brand Section Styles */
.brand-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 0;
    min-width: 120px;
}

.brand-section:hover {
    background-color: #1A1A1A;
    transform: translateY(-2px);
}

/* Grey Cinematics button styling */
#cinematics-section {
    background: none;
    border: none;
    padding: 20px 15px 20px 25px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex-direction: row;
    cursor: pointer;
}

#cinematics-section .brand-name {
    color: #888888;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.2;
}

#cinematics-section:hover {
    background: none;
    transform: none;
}

#cinematics-section:hover .brand-name {
    color: #AAAAAA;
}

#cinematics-section .arrow {
    color: #888888;
    font-size: 12px;
    font-weight: 400;
    transition: color 0.3s ease;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

#cinematics-section:hover .arrow {
    color: #AAAAAA;
}

.brand-label {
    font-size: 12px;
    font-weight: 600;
    color: #AAAAAA;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 5px;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Orbitron', monospace;
}

.logo {
    position: fixed;
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    will-change: opacity;
}

.logo-image {
    height: 80px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateX(-50%) scale(1.05);
}

.logo:hover .logo-image {
    filter: brightness(1.1);
}

/* Logo fade animations */
.logo-image {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.logo-image.fade-out {
    opacity: 0;
}

.logo-image.fade-in {
    opacity: 1;
}

.header-nav {
    display: flex;
    gap: 30px;
    position: absolute;
    left: 30px;
}

.nav-link {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border: 2px solid transparent;
}

.nav-link:hover {
    color: #CCCCCC;
    border-color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #0A0A0A;
    padding-top: 140px;
    border: 1px solid #1A1A1A;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.gradient-text {
    color: #FFFFFF;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #CCCCCC;
    margin-bottom: 2rem;
    line-height: 1.4;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace;
}

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

.btn {
    padding: 12px 30px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace;
}

.btn-primary {
    background: transparent;
    color: #FFFFFF;
    border: 3px solid #FFFFFF;
    box-shadow: 0 0 0px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: #FFFFFF;
    color: #0A0A0A;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: #1A1A1A;
    color: #FFFFFF;
    border: 3px solid #333333;
    box-shadow: 0 0 0px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: #333333;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Code Animation */
.code-animation {
    background: #1A1A1A;
    padding: 2rem;
    border: 2px solid #333333;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    line-height: 1.6;
    box-shadow: 0 0 0px rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.code-keyword {
    color: #FF6B6B;
}

.code-variable {
    color: #4ECDC4;
}

.code-property {
    color: #45B7D1;
}

.code-string {
    color: #96CEB4;
}

.indent {
    margin-left: 20px;
}

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

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 3rem;
    color: #FFFFFF;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: #FFFFFF;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #0A0A0A;
    border: 1px solid #1A1A1A;
}

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

.about-text p {
    font-size: 1.1rem;
    color: #CCCCCC;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-family: 'Space Grotesk', sans-serif;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #718096;
    font-size: 0.9rem;
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.image-placeholder p {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #0A0A0A;
    border: 1px solid #1A1A1A;
}

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

.service-card {
    background: #1A1A1A;
    padding: 2rem;
    border: 2px solid #333333;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #333333;
    border: 2px solid #555555;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #FFFFFF;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace;
}

.service-card p {
    color: #CCCCCC;
    line-height: 1.6;
    font-family: 'Space Grotesk', sans-serif;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: #0A0A0A;
    border: 1px solid #1A1A1A;
}

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

.portfolio-item {
    background: #1A1A1A;
    border: 2px solid #333333;
    overflow: hidden;
    box-shadow: 0 0 0px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
}

.portfolio-image {
    height: 250px;
    background: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-image .image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: linear-gradient(135deg, #1A1A1A 0%, #333333 100%);
    font-size: 4rem;
    color: #FFFFFF;
}

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

.portfolio-item:hover .portfolio-thumbnail {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace;
}

.portfolio-content p {
    color: #CCCCCC;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-family: 'Space Grotesk', sans-serif;
}

.portfolio-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.portfolio-tech span {
    background: #333333;
    color: #FFFFFF;
    padding: 0.3rem 0.8rem;
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'JetBrains Mono', monospace;
}

.portfolio-links {
    margin-top: 1rem;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border: 2px solid #FFFFFF;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: 'JetBrains Mono', monospace;
}

.portfolio-link:hover {
    background: #FFFFFF;
    color: #0A0A0A;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Skills Section */
.skills {
    padding: 100px 0;
    background: #0A0A0A;
    border: 1px solid #1A1A1A;
}

.skills-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.skills-category h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace;
}

.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.skill-name {
    font-weight: 600;
    color: #CCCCCC;
    min-width: 80px;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skill-bar {
    flex: 1;
    height: 8px;
    background: #333333;
    border-radius: 0;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(135deg, #FFFFFF 0%, #CCCCCC 100%);
    border-radius: 0;
    transition: width 1s ease;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #0A0A0A;
    border: 1px solid #1A1A1A;
}

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

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace;
}

.contact-info p {
    color: #CCCCCC;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-family: 'Space Grotesk', sans-serif;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #CCCCCC;
    font-family: 'Space Grotesk', sans-serif;
}

.contact-method i {
    width: 20px;
    color: #FFFFFF;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #333333;
    border-radius: 0;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
    background: #1A1A1A;
    color: #FFFFFF;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFFFFF;
    background: #333333;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #AAAAAA;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #0A0A0A;
    color: #FFFFFF;
    padding: 60px 0 20px;
    border-top: 1px solid #1A1A1A;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #FFFFFF;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    color: #CCCCCC;
    line-height: 1.6;
    font-family: 'Space Grotesk', sans-serif;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4a5568;
    color: #FFFFFF;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-links a:hover {
    background: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.social-links a i {
    transition: transform 0.3s ease;
}

.social-links a:hover i {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    color: #a0aec0;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .header-content {
        padding: 25px 20px;
        flex-direction: row;
        justify-content: space-between;
        position: relative;
    }
    
    .brand-section {
        min-width: 60px;
        padding: 10px 8px;
    }
    
    .brand-label {
        font-size: 8px;
        letter-spacing: 0.5px;
    }
    
    .brand-name {
        font-size: 12px;
        letter-spacing: 0.5px;
    }
    
    #cinematics-section {
        padding: 12px 8px 12px 15px;
        min-height: 40px;
        gap: 4px;
        flex-direction: row;
    }
    
    #cinematics-section .brand-name {
        font-size: 12px;
    }
    
    #cinematics-section .arrow {
        font-size: 8px;
    }
    
    .logo {
        top: 7px;
    }
    
    .logo-image {
        height: 70px;
        max-width: 350px;
    }
    
    .header-nav {
        display: none; /* Hide navigation shortcuts on mobile */
    }
    
    .nav-link {
        font-size: 14px;
        padding: 6px 12px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .skills-content {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 20px 15px;
        flex-direction: row;
        justify-content: space-between;
        position: relative;
    }
    
    .brand-section {
        min-width: 50px;
        padding: 8px 6px;
    }
    
    .brand-label {
        font-size: 7px;
        letter-spacing: 0.3px;
    }
    
    .brand-name {
        font-size: 10px;
        letter-spacing: 0.3px;
    }
    
    #cinematics-section {
        padding: 8px 6px 8px 12px;
        min-height: 35px;
        gap: 3px;
        flex-direction: row;
    }
    
    #cinematics-section .brand-name {
        font-size: 10px;
    }
    
    #cinematics-section .arrow {
        font-size: 6px;
    }
    
    .logo {
        top: 4px;
    }
    
    .logo-image {
        height: 60px;
        max-width: 300px;
    }
    
    .header-nav {
        display: none; /* Hide navigation shortcuts on small mobile */
    }
    
    .nav-link {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .code-animation {
        padding: 1.5rem;
        font-size: 0.8rem;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

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

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

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