/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #1a1a1a;
    color: #ffffff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Header und Navigation */
header {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 5px var(--shadow-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links a:hover {
    color: var(--primary-color);
    background-color: rgba(255, 140, 0, 0.1);
}

[data-theme="light"] .nav-links a {
    color: var(--text-color);
    font-weight: 600;
}

[data-theme="light"] .nav-links a:hover {
    color: var(--primary-color);
    background-color: rgba(255, 140, 0, 0.1);
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.menu-btn:hover {
    color: var(--primary-color);
}

[data-theme="light"] .menu-btn {
    color: var(--text-color);
}

[data-theme="light"] .menu-btn:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #000000, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 140, 0, 0.1), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #ff8c00;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #ff8c00;
    color: #000000;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.cta-button:hover {
    background-color: #ffa500;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

/* Sections */
section {
    padding: 5rem 1rem;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #ff8c00;
    font-size: 2.5rem;
}

/* About Section */
.about {
    background-color: #1a1a1a;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    border: 1px solid #ff8c00;
    border-radius: 10px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature i {
    color: #ff8c00;
    font-size: 1.5rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: #000000;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(255, 140, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #ff8c00;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.2);
}

.service-card i {
    font-size: 2.5rem;
    color: #ff8c00;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #ff8c00;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin-top: 1rem;
    text-align: left;
}

.service-features li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ff8c00;
}

/* Portfolio Section */
.portfolio {
    background-color: var(--bg-color);
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 140, 0, 0.05) 0%,
        transparent 50%,
        rgba(255, 140, 0, 0.05) 100%);
    pointer-events: none;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.portfolio-item {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .portfolio-item {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 1px solid rgba(255, 140, 0, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(255, 140, 0, 0.05) 0%,
        transparent 50%,
        rgba(255, 140, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover::before {
    opacity: 1;
}

.portfolio-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.portfolio-item:hover i {
    transform: scale(1.1);
}

.portfolio-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.portfolio-item p {
    color: var(--text-color);
    opacity: 0.9;
}

/* Contact Section */
.contact {
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 140, 0, 0.05) 0%,
        transparent 50%,
        rgba(255, 140, 0, 0.05) 100%);
    pointer-events: none;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-card {
    background: linear-gradient(145deg, var(--card-bg), var(--bg-color));
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

[data-theme="light"] .contact-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 1px solid rgba(255, 140, 0, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 140, 0, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 140, 0, 0.1);
}

[data-theme="light"] .contact-item {
    background: rgba(255, 140, 0, 0.03);
    border: 1px solid rgba(255, 140, 0, 0.15);
}

.contact-item:hover {
    background: rgba(255, 140, 0, 0.1);
    transform: translateX(10px);
    border-color: rgba(255, 140, 0, 0.3);
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

[data-theme="light"] .contact-item i {
    background: rgba(255, 140, 0, 0.08);
}

.contact-item:hover i {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: rotate(360deg);
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .portfolio-item, .contact-card {
        padding: 1.5rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .contact-item i {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* Footer */
footer {
    background-color: #000000;
    color: #ff8c00;
    text-align: center;
    padding: 1rem;
    border-top: 1px solid #ff8c00;
}

/* Footer Links */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #ff8c00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffa500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-radius: 5px;
    }

    [data-theme="light"] .nav-links {
        background-color: var(--secondary-color);
        box-shadow: 0 4px 10px var(--shadow-color);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .service-features {
        text-align: center;
    }

    .service-features li {
        padding-left: 0;
    }

    .service-features li::before {
        display: none;
    }
}

/* Animationen */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content, .service-card, .contact-item {
    animation: fadeIn 1s ease-out;
}

/* Impressum Section */
.impressum-section {
    padding: 8rem 1rem 5rem;
    max-width: 800px;
    margin: 0 auto;
}

.impressum-section h1 {
    color: #ff8c00;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.impressum-content {
    background-color: #000000;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #ff8c00;
}

.impressum-content h2 {
    color: #ff8c00;
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.impressum-content h2:first-child {
    margin-top: 0;
}

.impressum-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.impressum-content a {
    color: #ff8c00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.impressum-content a:hover {
    color: #ffa500;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .impressum-section {
        padding: 6rem 1rem 3rem;
    }

    .impressum-content {
        padding: 1.5rem;
    }

    .impressum-section h1 {
        font-size: 2rem;
    }

    .impressum-content h2 {
        font-size: 1.3rem;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Add animation delays */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Theme Variables */
:root {
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --primary-color: #ff8c00;
    --secondary-color: #000000;
    --card-bg: #000000;
    --border-color: #ff8c00;
    --hover-color: #ffa500;
    --shadow-color: rgba(255, 140, 0, 0.2);
    --gradient-start: #000000;
    --gradient-end: #1a1a1a;
    --card-shadow: 0 5px 20px rgba(255, 140, 0, 0.2);
    --text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] {
    --bg-color: #f8f9fa;
    --text-color: #2c3e50;
    --primary-color: #ff8c00;
    --secondary-color: #ffffff;
    --card-bg: #ffffff;
    --border-color: #ff8c00;
    --hover-color: #ff6b00;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --gradient-start: #ffffff;
    --gradient-end: #f8f9fa;
    --card-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --text-shadow: none;
}

/* Update existing styles */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

header, nav {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px var(--shadow-color);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.hero {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    transition: background 0.3s ease;
}

.hero-content h1 {
    color: var(--primary-color);
    text-shadow: var(--text-shadow);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.service-card, .portfolio-item, .contact-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

[data-theme="light"] .service-card,
[data-theme="light"] .portfolio-item,
[data-theme="light"] .contact-card {
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.service-card:hover, .portfolio-item:hover, .contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.contact-item {
    background: rgba(255, 140, 0, 0.05);
    border: 1px solid rgba(255, 140, 0, 0.1);
    transition: all 0.3s ease;
}

[data-theme="light"] .contact-item {
    background: rgba(255, 140, 0, 0.05);
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.contact-item:hover {
    background: rgba(255, 140, 0, 0.1);
    transform: translateX(10px);
}

.contact-item i {
    color: var(--primary-color);
    background: rgba(255, 140, 0, 0.1);
    transition: all 0.3s ease;
}

[data-theme="light"] .contact-item i {
    background: rgba(255, 140, 0, 0.15);
}

.contact-item:hover i {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.about-content {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

[data-theme="light"] .about-content {
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.feature i {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-color);
}

footer {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-top: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

[data-theme="light"] footer {
    border-top: 1px solid rgba(255, 140, 0, 0.2);
}

.theme-toggle {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 2px 10px var(--shadow-color);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    color: var(--hover-color);
    transform: rotate(15deg);
    box-shadow: 0 4px 15px var(--shadow-color);
}

/* Add smooth transitions for all color changes */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-color);
}

.theme-toggle:hover {
    color: var(--primary-color);
    transform: rotate(15deg);
}

.theme-toggle i {
    transition: transform 0.3s ease;
}

[data-theme="light"] .theme-toggle i {
    transform: rotate(180deg);
}

/* Update other color references */
.nav-links a:hover, .footer-links a:hover {
    color: var(--hover-color);
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.cta-button:hover {
    background-color: var(--hover-color);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.service-card:hover, .portfolio-item:hover, .contact-card:hover {
    box-shadow: 0 5px 20px var(--shadow-color);
}

.contact-item {
    background: rgba(255, 140, 0, 0.05);
}

.contact-item:hover {
    background: rgba(255, 140, 0, 0.1);
}

.contact-item i {
    color: var(--primary-color);
}

.contact-item a {
    color: var(--text-color);
}

.contact-item a:hover {
    color: var(--primary-color);
}

footer {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-top: 1px solid var(--border-color);
}

.footer-links a {
    color: var(--primary-color);
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.animated-bg::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, 
        rgba(255, 140, 0, 0.03) 0%,
        rgba(255, 140, 0, 0.02) 25%,
        rgba(255, 140, 0, 0.01) 50%,
        transparent 70%);
    animation: rotate 30s linear infinite;
}

.animated-bg::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
        rgba(255, 140, 0, 0.02) 0%,
        transparent 50%,
        rgba(255, 140, 0, 0.02) 100%);
    animation: rotate 20s linear infinite reverse;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Performance Optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform, opacity;
}

/* Responsive Design Improvements */
:root {
    --header-height: 70px;
    --section-padding: clamp(2rem, 5vw, 5rem);
    --container-width: min(1200px, 90vw);
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    margin-top: var(--header-height);
}

section {
    padding: var(--section-padding) 1rem;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Improved Hero Section */
.hero {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 140, 0, 0.1) 0%,
        transparent 50%,
        rgba(255, 140, 0, 0.1) 100%);
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Improved Card Designs */
.service-card, .portfolio-item, .contact-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 0, 0.2);
    background: linear-gradient(145deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05));
}

/* Touch Device Optimizations */
@media (hover: none) {
    .service-card:hover,
    .portfolio-item:hover,
    .contact-card:hover {
        transform: none;
    }

    .nav-links a:active,
    .cta-button:active {
        transform: scale(0.98);
    }
}

/* Improved Mobile Navigation */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .nav-links {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        background: rgba(var(--secondary-color), 0.95);
    }

    .nav-links a {
        padding: 1rem;
        margin: 0.5rem 0;
        border-radius: 8px;
        background: rgba(255, 140, 0, 0.05);
    }
}

/* Tablet Optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* High-DPI Screen Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-content h1 {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
}

/* Print Styles */
@media print {
    .animated-bg,
    .nav-links,
    .cta-button {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Dark Mode Optimizations */
@media (prefers-color-scheme: dark) {
    .service-card,
    .portfolio-item,
    .contact-card {
        background: linear-gradient(145deg,
            rgba(0, 0, 0, 0.3),
            rgba(0, 0, 0, 0.1));
    }
}

/* Loading Performance */
img {
    loading: lazy;
}

/* Improved Accessibility */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #ff6b00;
        --text-color: #000000;
        --bg-color: #ffffff;
    }
} 