/* Global / Desktop Styles */

/* Hide hamburger icon by default */
.menu-toggle {
    display: none;
}

@font-face {
    font-family: 'Avenir LT Pro Heavy';
    src: url('./fonts/avenirltproheavy-webfont.woff2') format('woff2'),
         url('./fonts/avenirltproheavy-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir LT Pro Light';
    src: url('./fonts/avenirltprolight-webfont.woff2') format('woff2'),
         url('./fonts/avenirltprolight-webfont.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir LT Pro Medium';
    src: url('./fonts/avenirltpromedium-webfont.woff2') format('woff2'),
         url('./fonts/avenirltpromedium-webfont.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: 'Avenir LT Pro Medium', sans-serif;
    background: #1e1e1e;
    color: #E1D8D0;
    margin: 0;
    padding: 0;
}

h1 {
    font-family: 'Avenir LT Pro Heavy', sans-serif;
    font-size: 3rem;
    text-align: center;
}

h2 {
    font-family: 'Avenir LT Pro Light', sans-serif;
    font-size: 1.8rem;
    text-align: center;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #1e1e1e;
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    left: 0;
    box-sizing: border-box
}

/* Logo */
.logo {
    font-family: 'Avenir LT Pro Heavy', sans-serif;
    font-size: 26px;
    background: #E1D8D0;
    color: #1e1e1e;
    padding: 14px 17px;
    border-radius: 8px;
    text-decoration: none;
}

.logo:hover {
    background-color: #E1D8D0;
    color: #1e1e1e;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin-right: 80px;
}

.nav-links li {
    display: inline;
}

.nav-links li a {
    text-decoration: none;
    color: #E1D8D0;
    font-family: 'Avenir LT Pro Medium', sans-serif;
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.nav-links li a:hover {
    background-color: #E1D8D0;
    color: #1e1e1e;
}

/* Mobile Navigation */
.menu-toggle {
    display: none;
}

.about-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
    padding: 50px;
    background: #1e1e1e;
}

.about-hero-content {
    display: flex;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    gap: 50px;
}

.about-hero-left {
    flex: 1;
    text-align: center;
}

.about-hero-left img.profile-image {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
}

.about-hero-right {
    flex: 1;
    color: #E1D8D0;
}

.about-hero-right h1 {
    font-size: 2.8rem;
    font-family: 'Avenir LT Pro Heavy', sans-serif;
}

.about-hero-right p {
    font-size: 1.1rem;
    font-family: 'Avenir LT Pro Light', sans-serif;
    margin-bottom: 20px;
}

/* ABOUT BUILDS SECTION */
.about-builds {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1e1e1e;
    padding: 80px 50px;
}

.about-content {
    display: flex;
    max-width: 1200px;
    gap: 50px;
}

.about-text {
    flex: 1;
    color: #E1D8D0;
}

.about-text h2 {
    font-size: 2rem;
    font-family: 'Avenir LT Pro Heavy', sans-serif;
}

.about-text p {
    font-size: 1.1rem;
    font-family: 'Avenir LT Pro Light', sans-serif;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: #E1D8D0;
    text-align: center;
    animation: fadeInOut 1.5s infinite alternate;
}

@keyframes fadeInOut {
    0% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Responsive Navigation (Mobile) */
@media (max-width: 992px) {
    .logo {
        font-size: 18px; 
        padding: 8px 12px;
    }
    
    /* Show burger menu on mobile */
    .menu-toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 40px;
        font-size: 24px;
        color: #E1D8D0;
        cursor: pointer;
        z-index: 999;
    }
    
    /* Hide nav-links by default on mobile */
    .nav-links {
        display: none;
        flex-direction: column;
        background: #1e1e1e;
        width: 100%;
        text-align: center;
        position: fixed;
        top: 60px; /* Position below navbar */
        left: 0;
        z-index: 998;
        padding: 10px 0;
    }
    
    /* Show when active */
    .nav-links.nav-active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Center nav items on mobile */
    .nav-links li {
        width: 100%;
        padding: 10px 0;
    }

    /* Keep navbar fixed on mobile */
    .navbar {
        position: fixed;
        width: 100%;
        padding: 10px 10px;
        height: 60px;
    }

    .about-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .about-hero-left img.profile-image {
        max-width: 300px;
    }

    .about-hero-right h1 {
        font-size: 2rem;
    }

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

    .about-builds {
        flex-direction: column;
        padding: 50px 20px;
    }

    .about-image img {
        max-width: 300px;
    }

    .about-builds {
        flex-direction: column;
        padding: 50px 20px;
        text-align: center;
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    .about-text {
        text-align: center;
    }

    .about-image img {
        max-width: 300px;
        width: 100%;
    }
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url(images/hero.jpg) center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

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

.button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    background-color: #E1D8D0;
    color: #1e1e1e;
    border-radius: 8px;
    transition: 0.3s ease-in-out;
    margin-top: 50px;
}

.button:hover {
    background-color: #1e1e1e;
    color: #E1D8D0;
}

/* Gallery Styles */
.gallery-header {
    text-align: center;
    margin-top: 120px;
}

.gallery-header h1 {
    font-size: 2.5rem;
    font-family: 'Avenir LT Pro Heavy', sans-serif;
}

.gallery-header p {
    font-size: 1.2rem;
    font-family: 'Avenir LT Pro Light', sans-serif;
}

.gallery {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.gallery-grid {
    -webkit-column-count: 4;
    -webkit-column-gap: 15px;
    column-count: 4;
    column-gap: 15px;
    width: 100%;
    margin: 0 auto;
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 15px;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    border-radius: 8px;
}

.gallery-item img:hover {
    transform: scale(1.05);
    filter: brightness(70%);
}

/* PC Details Section */
.pc-details {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    max-width: 1200px;
    margin: 100px auto; /* Adjust top margin so it’s below fixed navbar */
    padding: 20px;
    gap: 40px;
  }
  
  /* Carousel container (image + arrows) */
  .pc-gallery {
    display: flex;
    align-items: center;     /* center arrow & image vertically */
    justify-content: center; /* center the whole carousel horizontally */
    gap: 10px;
  }
  
  .pc-image {
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .pc-image img {
    display: block;
    margin: 0 auto;
    width: 100%;   /* scale down to fit container's width */
    height: auto;  /* maintain aspect ratio */
    border-radius: 8px; 
  }
  
  /* Arrow buttons */
  .arrow-btn {
    background: none;
    border: 2px solid #E1D8D0;
    color: #E1D8D0;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
  }
  
  .arrow-btn:hover {
    background: #E1D8D0;
    color: #1e1e1e;
  }

  #pc-partpicker {
    display: none;
}

  
  /* Specs Column */
  .pc-specs {
    flex: 1;
    max-width: 600px;
    color: #E1D8D0;
  }
  
  /* Main PC title */
  .pc-specs h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-family: 'Avenir LT Pro Heavy', sans-serif;
  }
  
  /* Sub-description text (like: “RX 6950XT, R7 7700, 32GB RAM”) */
  .pc-specs h2 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-family: 'Avenir LT Pro Light', sans-serif;
    color: #E1D8D0; /* Slightly different/lighter color */
  }
  
  /* Specs list */
  .pc-specs ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 2rem;
  }
  
  .pc-specs ul li {
    margin-bottom: 8px;
    font-size: 1rem;
  }

.button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    background-color: #E1D8D0;
    color: #1e1e1e;
    border-radius: 8px;
    transition: 0.3s ease-in-out;
}

.button:hover {
    background-color: #1e1e1e;
    color: #E1D8D0;
}

/* CONTACT SECTION */
.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    background: #1e1e1e;
    padding: 80px 50px;
}

.contact-container {
    display: flex;
    max-width: 1000px;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-left {
    flex: 1;
    text-align: left;
}

.contact-left h1 {
    font-size: 2.8rem;
    font-family: 'Avenir LT Pro Heavy', sans-serif;
    color: #E1D8D0;
}

.contact-intro {
    font-size: 1.1rem;
    font-family: 'Avenir LT Pro Light', sans-serif;
    color: #E1D8D0;
    margin-bottom: 20px;
}

.contact-options p {
    font-size: 1.2rem;
    margin: 10px 0;
}

.contact-options a {
    color: #E1D8D0;
    text-decoration: none;
    font-weight: bold;
}

.contact-options a:hover {
    text-decoration: underline;
}

.discord-username {
    font-weight: bold;
    color: #E1D8D0;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
}

.contact-right {
    flex: 1;
    text-align: center;
}

.contact-image {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    opacity: 0.9;
    object-fit: center;
}


/* Responsive for smaller screens */
@media (max-width: 768px) {
    .pc-details {
      flex-direction: column;
      align-items: center;
    }
    .pc-gallery {
      margin-bottom: 20px;
    }
    .pc-specs {
      max-width: 100%;
      text-align: center;
    }
    /* Hide arrows on small screens if you prefer */
    .arrow-btn {
      display: none;
    }

    .contact-container {
        flex-direction: column;
        text-align: center;
    }

    .contact-left, .contact-right {
        flex: none;
        width: 100%;
    }

    .contact-image {
        max-width: 300px;
    }
  }

/* Responsive Gallery */
@media (max-width: 1200px) {
    .gallery-grid {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        column-count: 1;
    }
}
