/* Color Palette */
:root {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-tertiary: #21262d;
    --text-primary: #e6edf3;
    --text-secondary: #7d8590;
    --text-muted: #656d76;
    --accent-primary: #ff3f3f;
    --accent-secondary: #f75555;
    --accent-hover: #e26161;
    --border-color: #45b165;
    --border-muted: #21262d;
    --success: #238636;
    --warning: #d29922;
    --error: #da3633;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: 45%;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-primary);
}

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

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    background-color: var(--bg-tertiary);
    border-radius: 6px;
    padding: 2px;
    border: 1px solid var(--border-color);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 40px;
}

.lang-btn:hover {
    color: var(--text-primary);
    background-color: var(--bg-secondary);
}

.lang-btn.active {
    background-color: var(--accent-primary);
    color: white;
}

.lang-btn.active:hover {
    background-color: var(--accent-hover);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(92, 246, 151, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.accent {
    color: var(--accent-primary);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(246, 92, 92, 0.3);
}

.btn-download {
    background-color: var(--border-color);
    color: white;
    margin-top: 20px;
}

.btn-download:hover {
    background-color: rgb(111, 210, 105);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(92, 246, 131, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.btn-secondary:hover {
    background-color: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

/* About Section */
.about {
    background-color: var(--bg-secondary);
}

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

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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


.profile-image {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 0px;

    animation: glow 2s infinite ease-in-out;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 10px rgb(255, 0, 0);
    }

    50% {
        box-shadow: 0 0 15px rgba(255, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 10px rgb(255, 0, 0);
    }
}

/* Projects Section */
.team {
    background-color: var(--bg-primary);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    min-height: 350px;
    display: flex;
    align-items: stretch;
}

.team-content {
    padding: 1.5rem;
}

.team-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-align: center;
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
}

.name-title {
    font-size: 1.6em;
}

.title-title {
    font-size: 1.2em;
    color: var(--text-secondary)
}

.team-desc {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-right: 40px;
    font-family: "Montserrat", sans-serif;
    padding: 1.5rem 0;
    height: 100%;
    font-size: 1.2rem;
}

.tags {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: auto;
    gap: 0.5rem;
    align-self: flex-end;
}

.tag {
    background-color: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: rgba(115, 255, 103, 0.4);
    font-family: "Russo One", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery {
    background-color: var(--bg-secondary);
}

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

.gallery-item {
    aspect-ratio: 4/2.5;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.gallery-item .image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: 5px solid var(--border-color);
}

/* Contact Section */
.contact {
    background-color: var(--bg-primary);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.contact-method {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.contact-label {
    color: var(--text-primary);
    font-weight: 600;
    min-width: 80px;
}

.contact-link {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-secondary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        border-bottom: 1px solid var(--border-color);
        margin-left: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .language-switcher {
        order: -1;
    }

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

    .profile-image {
        width: 300px;
        height: 300px;
    }

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

    .team-card {
        flex-direction: column;
        height: auto;
        text-align: center;
    }

    .team-title {
        width: 100%;
        margin-bottom: 0;
    }

    .team-desc {
        width: 100%;
        margin-right: 0;
        text-align: left;
        text-align: center;
        padding-top: 0;
    }

    .tags {
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 1rem;
    }

    .tag {
        margin: 0.25rem;
        margin-bottom: 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
    }

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

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

    .contact-method {
        flex-direction: column;
        gap: 0.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }
}

@media (max-width: 1024px) {
    .about-content {
        gap: 3rem;
    }

    .profile-image {
        width: 350px;
        height: 350px;
    }

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

    .team-card {
        height: auto;
        min-height: 280px;
    }

    .nav-menu {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .about-content {
        gap: 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .profile-image {
        width: 250px;
        height: 250px;
    }

    .team-card {
        padding: 1rem;
    }

    .name-title {
        font-size: 1.3em;
    }

    .title-title {
        font-size: 1em;
    }

    .team-desc {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .tag {
        font-size: 0.8rem;
        padding: 0.5rem;
    }

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

/*Socials*/
.social-icons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon svg {
    width: 21px;
    height: 21px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* Individual social icon colors */
.social-icon.instagram {
    color: var(--text-secondary);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: transparent;
}

.social-icon.youtube {
    color: var(--text-secondary);
}

.social-icon.youtube:hover {
    background-color: #ff0000;
    color: white;
    border-color: #ff0000;
}

.social-icon.github {
    color: var(--text-secondary);
}

.social-icon.github:hover {
    background-color: #333;
    color: white;
    border-color: #333;
}

.social-icon.spotify {
    color: var(--text-secondary);
}

.social-icon.spotify:hover {
    background-color: #1db954;
    color: white;
    border-color: #1db954;
}

.social-icon.linkedin {
    color: var(--text-secondary);
}

.social-icon.linkedin:hover {
    background-color: #0077b5;
    color: white;
    border-color: #0077b5;
}

/* Responsive social icons */
@media (max-width: 768px) {
    .social-icons {
        gap: 0.4rem;
        margin-top: 0.5rem;
    }

    .social-icon {
        width: 42px;
        height: 42px;
    }

    .social-icon svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .social-icons {
        gap: 0.3rem;
        margin-top: 0.4rem;
    }

    .social-icon {
        width: 38px;
        height: 38px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}
/* POPUP ------------------------- */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1000;
        }
        
        .popup-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .popup {
            background: var(--bg-tertiary);
            width: 90%;
            max-width: 450px;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            transform: scale(0.9);
            transition: transform 0.3s ease;
            position: relative;
        }
        
        .popup-overlay.active .popup {
            transform: scale(1);
        }
        
        .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 30px;
            height: 30px;
            background: #eee;
            color: #000000;
            border: none;
            border-radius: 50%;
            font-size: 18px;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: all 0.2s ease;
        }
        
        .close-btn:hover {
            background: #e74c3c;
            color: white;
        }
        
        h2 {
            color: #597897;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .form-group {
            margin-bottom: 20px;
            text-align: left;
        }
        
        label {
            display: block;
            margin-bottom: 8px;
            color: #34495e;
            font-weight: 500;
        }
        
        input[type="email"] {
            width: 100%;
            padding: 15px;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-size: 16px;
            transition: border-color 0.3s;
        }
        
        input[type="email"]:focus {
            border-color: #3498db;
            outline: none;
        }
        
        .download-btn {
            width: 100%;
            padding: 15px;
            background: #2ecc71;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
        }
        
        .download-btn:hover {
            background: #27ae60;
            transform: translateY(-3px);
        }
        
        .download-btn:active {
            transform: translateY(0);
        }
        
        .download-btn:disabled {
            background: #95a5a6;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        
        .message {
            margin-top: 15px;
            padding: 10px;
            border-radius: 5px;
            text-align: center;
            font-size: 14px;
            display: none;
        }
        
        .success {
            background: #d4edda;
            color: #155724;
            display: block;
        }
        
        .error {
            background: #f8d7da;
            color: #721c24;
            display: block;
        }
        
        @media (max-width: 500px) {
            .popup {
                padding: 20px;
            }
            
            .container {
                padding: 20px;
            }
        }/*
 Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #21262d 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: var(--text-primary);
}

.loading-logo {
    font-family: 'Russo One', sans-serif;
    font-size: 3rem;
    color: #ff4444;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.loading-spinner {
    margin: 2rem 0;
}

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

.loading-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    animation: fadeInOut 1.5s ease-in-out infinite;
}

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

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        text-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
    }
    50% { 
        transform: scale(1.05);
        text-shadow: 0 0 30px rgba(255, 68, 68, 0.8);
    }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@media (max-width: 768px) {
    .loading-logo {
        font-size: 2rem;
    }
    
    .spinner {
        width: 40px;
        height: 40px;
    }
    
    .loading-text {
        font-size: 1rem;
    }
}
* Disclaimer Image */
.disclaimer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0 2rem 0;
    padding: 0 1rem;
}

.disclaimer-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.disclaimer-image:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .disclaimer-container {
        margin: 2rem 0 1rem 0;
    }
    
    .disclaimer-image {
        max-width: 95%;
    }
}/* 
Team Section Background Image */
.team {
    position: relative;
}

.team-background-image {
    position: absolute;
    top: 0;
    left: 50px;
    width: 20%;
    height: 10%;
    background-image: url('Images/IMG_8368.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.03;
    z-index: 2;
    pointer-events: none;
}

.team .container {
    position: relative;
    z-index: 1;
}