@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&family=Orbitron:wght@400;700&family=Raleway:wght@300;700&family=Exo:wght@400;700&display=swap');

html, body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: #181818;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    text-align: center;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #000;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
}

.navbar .logo {
    display: none;
}

.navbar .menu {
    display: flex;
    gap: 40px;
    margin-left: 40px;
}

.navbar .menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    text-transform: lowercase;
    font-family: 'Exo', sans-serif;
    transition: 0.3s;
}

.navbar .menu a:nth-child(1):hover {
    color: #FF007F;
    text-shadow: 0 0 10px #FF007F;
}

.navbar .menu a:nth-child(2):hover {
    color: #00FFFF;
    text-shadow: 0 0 10px #00FFFF;
}

.navbar .menu a:nth-child(3):hover {
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
}

.navbar .menu a:nth-child(4):hover {
    color: #8A2BE2;
    text-shadow: 0 0 10px #8A2BE2;
}

.language-selector {
    display: none;  /* Hide the language selector */
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    padding-top: 50px;
    padding-left: 50px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.slogan-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 30%;
    text-align: center;
    margin-top: -50px;
}

.slogan {
    font-size: 3em;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(90deg, #FF007F, #00FFFF, #FFD700, #8A2BE2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 300%;
    animation: gradient 8s ease infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.slogan-text {
    font-size: 1.2em;
    color: #ccc;
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Raleway', sans-serif;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-button {
    padding: 12px 24px;
    font-size: 1em;
    border: 2px solid white;
    background: transparent;
    color: white;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
}

.contact-button:hover {
    background: white;
    color: black;
}

.canvas-container {
    position: absolute;
    top: 100px;
    right: 10%;
    width: 50%;
    height: 75%;
}

canvas {
    width: 100%;
    height: 100%;
    background-color: #181818;
    display: block;
}

.desktop-canvas {
    display: block;
}

.mobile-canvas {
    display: none;
}

.features-section, .portfolio-section, .contact-section {
    position: relative;
    overflow: hidden;
}

.features-section::before, .portfolio-section::before, .contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

.features-section::after, .portfolio-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.features-section {
    padding: 80px 20px;
    background-color: #1e1e1e;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    margin-top: 40px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background: rgba(36, 36, 36, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #fff;
}

.feature-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
    color: #fff;
}

.feature-description {
    text-align: center;
    color: #ccc;
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
}

.section-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.portfolio-section {
    padding: 80px 20px;
    background-color: #181818;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px auto;
    max-width: 1200px;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    background: rgba(36, 36, 36, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    border-radius: 15px;
}

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

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

.portfolio-title {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
    text-align: center;
}

.portfolio-description {
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    max-width: 90%;
    margin: 0 auto;
}

.portfolio-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8em;
    font-family: 'Exo', sans-serif;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
}

.project-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.project-dialog.active {
    display: flex;
    opacity: 1;
}

.dialog-content {
    background: #242424;
    padding: 40px;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(100vh);
    opacity: 0;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 1.2s ease-in-out;
    pointer-events: all;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

.project-dialog.active .dialog-content {
    transform: translateY(0);
    opacity: 1;
}

.dialog-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 8px 12px;
    line-height: 1;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.dialog-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.dialog-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.dialog-title {
    font-size: 2em;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 15px;
    color: #fff;
}

.dialog-description {
    font-family: 'Raleway', sans-serif;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.dialog-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.detail-item {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 10px;
}

.detail-title {
    font-family: 'Exo', sans-serif;
    color: #888;
    margin-bottom: 5px;
}

.detail-content {
    color: #fff;
    font-family: 'Raleway', sans-serif;
}

.contact-section {
    padding: 80px 20px;
    background-color: #1e1e1e;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form {
    max-width: 600px;
    width: 100%;
    margin-top: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    text-align: left;
    margin-bottom: 8px;
    color: #ccc;
    font-family: 'Exo', sans-serif;
    font-size: 0.9em;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: #242424;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.05);
}

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

.form-submit {
    background: transparent;
    color: #fff;
    border: 2px solid #FF007F;
    padding: 12px 30px;
    font-size: 1.1em;
    font-family: 'Orbitron', sans-serif;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.form-submit:hover {
    background: #FF007F;
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.4);
    transform: translateY(-2px);
}

.contact-info {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    width: 100%;
}

.contact-item {
    background: rgba(36, 36, 36, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
}

.contact-item-title {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.contact-item-content {
    color: #ccc;
    font-family: 'Raleway', sans-serif;
}

/* Add these new styles for mobile menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    margin-right: 20px;
}

.hamburger-menu span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #fff;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2;
    padding-top: 80px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 1.5em;
    padding: 20px;
    text-align: center;
    font-family: 'Exo', sans-serif;
    text-transform: lowercase;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    transition-delay: calc(var(--i) * 0.1s);
}

.mobile-menu.active a {
    opacity: 1;
    transform: translateY(0);
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .navbar .menu {
        display: none;  /* Hide normal menu */
    }

    .language-selector {
        display: none;  /* Hide language selector */
    }

    .hamburger-menu {
        display: flex;  /* Show hamburger menu */
    }

    .mobile-menu {
        display: block;  /* Enable mobile menu (still hidden by transform) */
    }

    .canvas-container {
        display: block; /* Show canvas container */
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.6;
        pointer-events: none;
    }
    
    .desktop-canvas {
        display: none;
    }
    
    .mobile-canvas {
        display: block;
    }

    /* Adjust hero section for mobile */
    .hero {
        padding: 20px;
        height: auto;
        min-height: 100vh;
        justify-content: center;
        position: relative;
    }

    .slogan-container {
        max-width: 100%;
        margin-top: 60px;
        padding: 0 15px;
        box-sizing: border-box;
        position: relative;
        z-index: 1;
    }

    .slogan {
        font-size: 2em;
    }

    /* Hamburger menu animation when active */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Add these additional styles */
    .features-grid,
    .portfolio-grid,
    .contact-info {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .contact-section {
        padding: 80px 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .contact-form {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #181818;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 3px solid transparent;
    border-top-color: #FF007F;
    border-right-color: #00FFFF;
    border-bottom-color: #FFD700;
    border-left-color: #8A2BE2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loader-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5em;
    letter-spacing: 3px;
    color: #ffffff;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Notification styles */
.notification-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 24, 24, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notification-container.show {
    display: flex;
    opacity: 1;
}

.notification-content {
    text-align: center;
    color: #fff;
}

.notification-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: #FF007F;
    animation: spin 1s linear infinite;
}

.notification-message {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2em;
    margin-top: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.notification-container.show .notification-message {
    opacity: 1;
    transform: translateY(0);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(24, 24, 24, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    color: #fff;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

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

.cookie-accept, .cookie-decline {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: #FF007F;
    color: white;
}

.cookie-decline {
    background: transparent;
    border: 1px solid #FF007F;
    color: #FF007F;
}

.cookie-accept:hover {
    background: #ff3399;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.5);
}

.cookie-decline:hover {
    background: rgba(255, 0, 127, 0.1);
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.3);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
} 