:root {
  /* Vaporwave Midnight */
  --dark-bg: #120A1A; /* Deep eggplant purple-black */
  --medium-dark-bg: #2B1D3D; /* Muted deep purple */
  --primary-color: #9D00FF; /* Electric Violet - bold and distinct */
  --accent-color: #00FFFF; /* Bright Cyan - sharp and contrasting */
  --cyber-blue: #8AE6FF; /* Light, airy sky blue */
  --text-color: #F8F8FF; /* Ghost white for clarity */
  --neon-pink: #FF6EC7; /* Classic bright magenta-pink */
  --neon-purple: #C28AF0; /* Softer lavender purple */

  /* Glow Effects */
  --glow-primary: 0 0 18px var(--primary-color), 0 0 35px var(--primary-color);
  --glow-accent: 0 0 18px var(--accent-color), 0 0 35px var(--accent-color);
  --glow-blue: 0 0 12px var(--cyber-blue), 0 0 24px var(--cyber-blue);
  
  /* Gradients */
  --gradient-primary: linear-gradient(45deg, var(--primary-color), var(--cyber-blue));
  --gradient-accent: linear-gradient(45deg, var(--accent-color), var(--neon-pink));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Cyberpunk Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h1 {
  font-size: 3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: var(--glow-primary);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  color: var(--cyber-blue);
  text-shadow: var(--glow-blue);
  margin-bottom: 2rem;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 3px;
  background: var(--gradient-accent);
  box-shadow: var(--glow-accent);
}

/* Header Styles */
header {
  background-color: rgba(10, 10, 10, 0.9);
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 245, 149, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
  text-decoration: none;
  text-shadow: var(--glow-primary);
  transition: all 0.3s ease;
}

.logo:hover {
  color: var(--cyber-blue);
  text-shadow: var(--glow-blue);
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

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

nav a:hover {
  color: var(--primary-color);
}

nav a:hover::after {
  width: 100%;
}

.active-link {
  color: var(--primary-color);
  text-shadow: 0 0 5px var(--primary-color);
}

.active-link::after {
  width: 100%;
}

/* Mobile Menu */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(5, 217, 232, 0.1) 0%, transparent 70%);
  z-index: -1;
  animation: pulse 8s infinite alternate;
}

@keyframes pulse {
  0% { opacity: 0.3; }
  100% { opacity: 0.7; }
}

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

.hero-content {
  flex: 1;
  max-width: 600px;
  /* Added to align buttons properly with single-class spacing */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem; /* This will create the spacing within the content block */
}


.hero-content p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: rgba(241, 241, 241, 0.9);
  width: 100%; /* Ensure paragraph takes full width */
}

.hero-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 2px solid var(--primary-color);
  box-shadow: var(--glow-primary);
  animation: float 6s ease-in-out infinite;
}

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

/* Download Button */
.download-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: var(--gradient-primary);
  color: var(--dark-bg);
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 245, 149, 0.5);
  
  /* --- Spacing for buttons using one class --- */
  margin-right: 1.5rem; /* This creates space between buttons */
  margin-bottom: 1rem; /* Adds space if buttons wrap on smaller screens */
}

.download-button:last-of-type {
    margin-right: 0; /* Removes the margin from the last button */
}
/* --- End Spacing for buttons --- */


.download-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(0, 245, 149, 0.8);
}

.download-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.download-button:hover::before {
  left: 100%;
}

/* /* Projects Section */
        .portfolio-projects {
            padding: 5rem 0;
            position: relative;
            background: var(--dark-bg);
        }

        .portfolio-projects::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="%2300f595" stroke-width="0.5" opacity="0.1"/></svg>');
            opacity: 0.05;
            z-index: 0;
            pointer-events: none;
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .portfolio-projects h2 {
            text-align: center;
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 3rem;
            text-shadow: 0 0 20px rgba(0, 245, 149, 0.3);
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .project-item {
            background: var(--medium-dark-bg);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 1px solid rgba(5, 217, 232, 0.3);
            position: relative;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .project-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(0, 245, 149, 0.05) 0%, rgba(5, 217, 232, 0.05) 100%);
            z-index: 1;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .project-item:hover::before {
            opacity: 1;
        }

        .project-item:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0, 245, 149, 0.2);
            border-color: var(--primary-color);
        }

        .project-item img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-bottom: 1px solid rgba(0, 245, 149, 0.3);
            transition: transform 0.3s ease;
            position: relative;
            z-index: 2;
        }

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

        .project-content {
            position: relative;
            z-index: 2;
            padding: 1.5rem;
        }

        .project-item h3 {
            color: var(--primary-color);
            font-size: 1.4rem;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .project-item p {
            color: rgba(241, 241, 241, 0.8);
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
            line-height: 1.5;
        }

        .project-item .project-link {
            display: inline-block;
            padding: 0.75rem 1.5rem;
            background: transparent;
            color: var(--cyber-blue);
            border: 2px solid var(--cyber-blue);
            border-radius: 8px;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 0.85rem;
        }

        .project-item .project-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(5, 217, 232, 0.2), transparent);
            transition: left 0.5s ease;
        }

        .project-item .project-link:hover::before {
            left: 100%;
        }

        .project-item .project-link:hover {
            background: rgba(5, 217, 232, 0.1);
            box-shadow: 0 0 20px rgba(5, 217, 232, 0.4);
            color: var(--text-color);
            transform: translateY(-2px);
        }

        .project-item .project-link:active {
            transform: translateY(0);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .portfolio-projects {
                padding: 3rem 0;
            }

            .portfolio-projects h2 {
                font-size: 2rem;
                margin-bottom: 2rem;
            }

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

            .container {
                width: 95%;
            }

            .project-content {
                padding: 1rem;
            }

            .project-item h3 {
                font-size: 1.2rem;
            }

            .project-item p {
                font-size: 0.9rem;
            }
        }

        @media (max-width: 480px) {
            .portfolio-projects h2 {
                font-size: 1.8rem;
            }

            .project-item .project-link {
                padding: 0.6rem 1.2rem;
                font-size: 0.8rem;
            }
        }

        /* Loading Animation */
        .project-item img {
            background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
        }

        .project-item img[src] {
            animation: none;
            background: none;
        }

        @keyframes loading {
            0% {
                background-position: 200% 0;
            }
            100% {
                background-position: -200% 0;
            }
        }

        /* Accessibility improvements */
        .project-item:focus-within {
            outline: 2px solid var(--primary-color);
            outline-offset: 2px;
        }

        .project-item .project-link:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(0, 245, 149, 0.5);
        }

/* Behance Brothers Section */
#behance-brothers {
  background: linear-gradient(135deg, rgba(255, 42, 109, 0.05) 0%, rgba(5, 217, 232, 0.05) 100%);
  border-top: 1px solid rgba(255, 42, 109, 0.2);
  border-bottom: 1px solid rgba(255, 42, 109, 0.2);
}

#behance-brothers p {
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
  color: rgba(241, 241, 241, 0.9);
}

#behance-brothers strong {
  color: var(--accent-color);
  text-shadow: 0 0 5px rgba(255, 42, 109, 0.5);
}

/* Brand Section */
.brand-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(26, 26, 26, 0.9) 100%), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="%23ff2a6d" stroke-width="0.5" opacity="0.1"/></svg>');
}

.brand-showcase {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.brand-logo {
  flex: 1;
  display: flex;
  justify-content: center;
}

.brand-logo img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 2px solid var(--accent-color);
  box-shadow: var(--glow-accent);
}

.brand-details {
  flex: 1;
}

.section-title {
  color: var(--accent-color);
  text-shadow: var(--glow-accent);
}

.section-subtitle {
  font-family: 'Orbitron', sans-serif;
  color: var(--cyber-blue);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.brand-description {
  margin-bottom: 1.5rem;
  color: rgba(241, 241, 241, 0.9);
}

.brand-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.brand-highlights span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
}

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

.brand-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: transparent;
  color: var(--text-color);
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid var(--accent-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.brand-button:hover {
  background: rgba(255, 42, 109, 0.1);
  box-shadow: 0 0 15px rgba(255, 42, 109, 0.5);
}

.brand-button i {
  color: var(--accent-color);
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(0, 10, 10, 0.9) 0%, rgba(10, 20, 20, 0.9) 100%);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 1rem;
  color: rgba(241, 241, 241, 0.9);
}

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

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 2px solid var(--cyber-blue);
  box-shadow: var(--glow-blue);
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(26, 26, 26, 0.9) 100%), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="%2305d9e8" stroke-width="0.5" opacity="0.1"/></svg>');
}

.section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: rgba(241, 241, 241, 0.8);
}

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

.contact-item {
  background: var(--medium-dark-bg);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 245, 149, 0.3);
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 245, 149, 0.2);
  border-color: var(--primary-color);
}

.contact-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-item h3 {
  color: var(--cyber-blue);
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-item a:hover {
  color: var(--primary-color);
  text-shadow: 0 0 5px var(--primary-color);
}

/* Footer */
.site-footer {
  background-color: var(--medium-dark-bg);
  padding: 3rem 0 1rem;
  border-top: 1px solid var(--primary-color);
}

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

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
  text-shadow: var(--glow-primary);
}

.footer-about p {
  color: rgba(241, 241, 241, 0.7);
}

.footer-links h3, .footer-social h3 {
  color: var(--cyber-blue);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

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

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

.footer-links a {
  color: rgba(241, 241, 241, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

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

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--medium-dark-bg);
  color: var(--text-color);
  transition: all 0.3s ease;
  border: 1px solid var(--primary-color);
}

.social-icons a:hover {
  background: var(--primary-color);
  color: var(--dark-bg);
  transform: translateY(-3px);
  box-shadow: var(--glow-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 245, 149, 0.2);
  color: rgba(241, 241, 241, 0.5);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero .container, .brand-showcase, .about-content {
    flex-direction: column;
  }
  
  .hero-content, .brand-details, .about-text {
    text-align: center;
  }
  
  h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
    border-left: 1px solid var(--primary-color);
  }
  
  nav ul.active {
    right: 0;
  }
  
  .brand-links {
    flex-direction: column;
  }

  /* Adjust hero content for smaller screens */
  .hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-content p {
    text-align: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
}