/* Akura Games Studio - Custom Theme */
/* Basierend auf dem originalen Mesmerize Theme */

/* ================================
   CSS Variables / Color Palette
   ================================ */
:root {
    --primary: #6a73da;
    --primary-dark: #5a63ca;
    --accent: #50E3C2;
    --accent-dark: #3dd1b0;
    --bg-light: #f5fafd;
    --bg-white: #ffffff;
    --text-dark: #333333;
    --text-muted: #666666;
    --text-light: #999999;
    --border-light: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
}

/* ================================
   Reset & Base Styles
   ================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
    margin-bottom: 1em;
}

/* ================================
   Layout / Grid System
   ================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-2 { flex: 0 0 16.666%; max-width: 16.666%; }

@media (max-width: 992px) {
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (max-width: 768px) {
    .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
    .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
    .col-4, .col-3, .col-2 { flex: 0 0 100%; max-width: 100%; }
}

/* ================================
   Navigation
   ================================ */
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-wrapper.scrolled {
    background: var(--bg-white);
    box-shadow: 0 2px 10px var(--shadow);
}

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

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--bg-white);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-wrapper.scrolled .nav-menu a {
    color: var(--text-dark);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--bg-white);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.nav-wrapper.scrolled .nav-toggle span {
    background: var(--text-dark);
}

@media (max-width: 992px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 5px 20px var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        color: var(--text-dark);
    }
}

/* ================================
   Hero Header
   ================================ */
.hero {
    min-height: 100vh;
    background-color: var(--primary);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    color: var(--bg-white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 20px 20px 0 rgba(255,255,255,0.2);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* SVG Separator */
.hero-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
}

.hero-separator svg {
    width: 100%;
    height: 100%;
}

.hero-separator .svg-white-bg {
    fill: var(--bg-white);
}

.hero-separator .svg-accent {
    stroke: var(--accent);
    fill: none;
}

/* Simple Page Header (Inner Pages) */
.page-header {
    background-color: var(--primary);
    background-size: cover;
    background-position: center;
    padding: 150px 0 100px;
    position: relative;
    text-align: center;
    color: var(--bg-white);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-header-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100px;
}

.page-header-separator svg {
    width: 100%;
    height: 100%;
}

/* ================================
   Buttons
   ================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent);
    color: var(--text-dark);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(80, 227, 194, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.btn-outline:hover {
    background: var(--bg-white);
    color: var(--primary);
}

.btn-blue {
    background: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

.btn-blue:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* ================================
   Sections
   ================================ */
section {
    padding: 80px 0;
}

.section-light {
    background: var(--bg-light);
}

.section-white {
    background: var(--bg-white);
}

.section-primary {
    background: var(--primary);
    color: var(--bg-white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.25rem;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   Feature Boxes
   ================================ */
.features {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.feature-box {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    box-shadow: 0 5px 20px rgba(106, 115, 218, 0.4);
}

.feature-box h5 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ================================
   Concept Cards
   ================================ */
.concept-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.concept-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.concept-content h5 {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.concept-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ================================
   CTA Banner
   ================================ */
.cta-banner {
    background: var(--primary);
    padding: 50px 0;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-content h2 {
    color: var(--bg-white);
    font-size: 1.5rem;
    margin: 0;
    flex: 1;
}

/* ================================
   Video/Demo Section
   ================================ */
.demo-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.demo-text {
    flex: 1;
}

.demo-text h5 {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.demo-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.demo-text h2 span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.demo-video {
    flex: 1;
    position: relative;
}

.demo-video img {
    border-radius: 10px;
    box-shadow: 20px 20px 0 var(--accent);
}

.demo-video a {
    display: block;
}

/* ================================
   Clients Section
   ================================ */
.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.client-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

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

.client-item img {
    max-height: 80px;
    width: auto;
    margin: 0 auto 10px;
    filter: grayscale(50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.client-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.client-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Clients Page Grid */
.clients-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .clients-page-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .clients-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.client-logo-item {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.client-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--accent);
}

.client-logo-item img {
    max-height: 100px;
    width: auto;
    margin: 0 auto;
}

/* ================================
   Portfolio Grid
   ================================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(106, 115, 218, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.portfolio-overlay a:hover {
    transform: scale(1.1);
}

/* ================================
   Products Page
   ================================ */
.product-section {
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-light);
}

.product-section:last-child {
    border-bottom: none;
}

.product-text {
    flex: 2;
}

.product-text h4 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.product-image {
    flex: 1;
}

.product-image img {
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
}

@media (max-width: 768px) {
    .product-section {
        flex-direction: column;
    }
}

/* ================================
   Blog
   ================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.blog-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 25px;
}

.blog-card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.blog-card-content h3 a {
    color: var(--text-dark);
}

.blog-card-content h3 a:hover {
    color: var(--primary);
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.blog-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
}

/* Blog Sidebar */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

@media (max-width: 992px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
}

.sidebar {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 30px;
    height: fit-content;
}

.sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget h5 {
    font-size: 1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.sidebar-widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-widget ul li:last-child {
    border-bottom: none;
}

.sidebar-widget ul li a {
    color: var(--text-dark);
}

.sidebar-widget ul li a:hover {
    color: var(--primary);
}

/* Blog Article */
.blog-article {
    max-width: 800px;
    margin: 0 auto;
}

.blog-article-header {
    margin-bottom: 30px;
}

.blog-article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.blog-article-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.blog-article-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.blog-article-content p {
    margin-bottom: 1.5em;
}

/* ================================
   Contact Page
   ================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    text-align: center;
}

.contact-info img {
    max-width: 200px;
    margin: 0 auto 30px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-light);
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-icons a {
    font-size: 2rem;
    color: var(--primary);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent);
    transform: scale(1.1);
}

/* ================================
   Footer
   ================================ */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: var(--bg-white);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ================================
   Utilities
   ================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.hidden { display: none; }

@media (max-width: 768px) {
    .hide-mobile { display: none; }
}

@media (min-width: 769px) {
    .hide-desktop { display: none; }
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll Down Arrow Animation */
.scroll-arrow {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.scroll-arrow i {
    font-size: 2rem;
    color: var(--bg-white);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}
