

/* ——— Base Reset & Brand Colors ——— */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: block;
  min-height: 100vh;
  background-color: #111;
  color: #fff;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

main {
  min-height: calc(100vh - 200px); /* enough space before footer kicks in */
}

body {
  background-color: #111;       /* your signature dark background */
  color: #fff;                  /* crisp white text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}


/* ——— Brand Tokens ——— */
:root {
  /* Base colors */
  --color-bg: #111;            /* page background */
  --color-text: #fff;          /* main text */
  --color-muted: #ccc;         /* secondary text */

  /* Accent palette */
  --color-primary: #FF5E5B;    /* red punch */
  --color-secondary: #5865F2;  /* Discord-style blue */
  --color-accent: #FFC371;     /* warm highlight */

  /* Typography */
  --font-sans: Arial, sans-serif;
  --font-heading: 'Helvetica Neue', Arial, sans-serif;

  /* Spacing scale */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;

  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
}

/* ——— Container Utility ——— */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}


/* ——— Header ——— */
header {
  background-color: #000;
  box-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) 2rem; /* Increase horizontal padding */
  position: relative;
}

/* Logo Link */
.logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-accent);
  text-decoration: none;
}

/* Nav Links */
nav ul {
  list-style: none;
  display: flex;
  gap: var(--spacing-md);
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  transition: color 0.2s ease;
}
nav ul li a:hover {
  color: var(--color-primary);
}


/* ——— Hamburger Toggle (hidden on desktop) ——— */
.nav-toggle {
  display: none;                  /* hidden unless on mobile */
  background: none;               /* no default styling */
  border: none;
  cursor: pointer;                /* pointer cursor on hover */
  padding: 0.5rem;                /* clickable space around it */
  z-index: 1001;                  /* makes sure it's above nav dropdown */
}

.nav-toggle span {
  display: block;
  width: 5.5rem;                  /* width of hamburger bars */
  height: 0.2rem;                 /* height of each bar */
  background-color: var(--color-text); /* uses your white text color */
  margin: 0.3rem 0;               /* spacing between bars */
}

/* ——— Mobile Styles (activated below 768px screen width) ——— */
@media (max-width: 768px) {
  
  nav {
    display: none;                /* hide nav by default on mobile */
  }

  .nav-toggle {
    display: block;               /* show hamburger on mobile */
  }
}
  body.nav-open nav {
    display: block;               /* show nav when hamburger is toggled */
    position: absolute;           /* positioned over page content */
    top: 100%;                    /* drops just below header */
    left: 0;
    width: 100%;                  /* full screen width */
    background-color: rgba(0, 0, 0, 0.8); /* semi-transparent black */
    padding: var(--spacing-base);        /* space inside dropdown */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); /* subtle shadow */
    z-index: 1000;                        /* sits above most elements */
    backdrop-filter: blur(4px);          /* slight blur effect (fancy!) */
  }

  body.nav-open nav ul {
    flex-direction: column;       /* stack nav links vertically */
    gap: var(--spacing-base);     /* spacing between each link */
    align-items: flex-end;        /* align list items to the right */
  }

  @media (max-width: 768px) {
  nav ul li a {
    display: inline-block;
    background-color: #000000;
    color: #fff;
    text-align: right;
    padding: 0.4rem 1rem;
    border-radius: 10px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease;
    width: 100px;
    max-width: 100%;
    margin-left: auto;
    margin-right: 2rem; /* or match your hamburger's padding exactly */

  }

  nav ul li a:hover {
    background-color: #ffffff;
    color: #000000;
  }
}

/* ========================
   About & Services
========================= */
section {
  padding: 3rem 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.about p {
  text-align: justify;
  text-justify: inter-word;
  max-width: 600px; /* or 600px, 800px depending on taste */
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

.services p,
.services ul {
  text-align: center;
  margin-bottom: 1rem;
}

/* === IDLE COLOR CYCLE ANIMATION === */
@keyframes colorCycle {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* === BASE KOFI BUTTON === */
.kofi-button-logo {
  display: inline-block;
  background: linear-gradient(135deg, #FF5E5B, #FFC371);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  animation: colorCycle 5s linear infinite;
  will-change: transform, filter;
  box-shadow: 0 0 6px rgba(255, 94, 91, 0.3);
}

/* === HOVER EFFECT === */
.kofi-button-logo:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 0 12px rgba(255, 94, 91, 0.6);
  background-color: #e24c4a;
}

@media (max-width: 480px) {
  .kofi-button-logo {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
  }

  .kofi-button-logo img {
    height: 16px;
    margin-right: 6px;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-block;
  background-color: var(--color-accent);
  color: #fff;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
}
.btn:hover {
  background-color: var(--color-secondary);
}

/* Optional variant for stronger buttons */
.primary-btn {
  background-color: var(--color-primary);
}
.primary-btn:hover {
  background-color: #ff3936;
}

/* ——— Footer ——— */
footer {
  background-color: var(--color-bg);
  color: var(--color-text);
  padding: var(--spacing-lg) 0;
  text-align: center;
  font-size: 0.875rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

footer p {
  margin: 0;
}

/* ========================
   Hero Banner
========================= */
/* ========================
   Hero Banner (Full Width Fix)
========================= */
.hero {
  width: 100%;
  max-width: none;
  max-height: 200px;
  margin: 0;
  padding: 1rem 0.5rem;
  background: url('../images/bannerbg.png') no-repeat center center / cover;
  color: #fff;
  text-align: center;
  border-bottom: 1px solid #333;
}

.hero h1 {
  font-size: clamp(1.5rem, 6vw, 3rem);
  margin: 0 auto 1rem;
  max-width: 960px;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.hero p {
  font-size: clamp(1rem, 3vw, 1.25rem);
  margin: 0 auto 2rem;
  max-width: 960px;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
}

/* commented out
.hero {
  background-color: #111;
  color: var(--color-text);
  min-height: 55vh; 
  display: flex;
  align-items: center;
  padding: var(--spacing-md) var(--spacing-base); 
}

.hero .container {
  width: 100%;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-accent);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-muted);
}

.hero-content .btn {
  display: inline-block;
  margin-top: var(--spacing-sm);
}
*/
/* ——— Portfolio ——— */
.portfolio-gallery .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-base);
  margin-top: 2rem;
}

.portfolio-item img {
  width: 100%;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

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

.caption {
  text-align: center;
  margin-top: 0.5rem;
  color: #ccc;
  font-size: 0.95rem;
}

.cta-footer {
  text-align: center;
  padding: 4rem 1rem;
  background-color: #111;
}

.cta-footer h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-footer p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}


/* Filter Buttons */
.portfolio-filter {
  text-align: center;
  margin: 3rem 0 1.5rem;
}

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

.filter-btn {
  padding: 0.5rem 1rem;
  background: #222;
  color: white;
  border: 2px solid var(--color-primary, #0af);
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary, #0af);
}

/* Portfolio Grid */
.portfolio-gallery .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--spacing-base, 1rem);
  margin-top: 2rem;
}

.portfolio-item img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

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

.caption {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #ccc;
}
.portfolio-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Ensure consistent size for all gallery items */
.gallery-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  background-color: #000;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  margin-bottom: var(--spacing-sm);
}

/* Standardize image size */
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Caption styling */
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Always bottom aligned and absolutely positioned */
.gallery-item .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 0.9rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-sizing: border-box;
}

/* Hover effect */
.gallery-item:hover .caption {
  opacity: 1;
}



/* Lightbox base */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 0.5rem;
  box-shadow: 0 0 20px #000;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
}

.lightbox-arrow {
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-item::after {
  content: attr(data-clan);
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 5px;
  pointer-events: none;
  z-index: 2;
}

.portfolio-item:hover::before {
  content: attr(data-caption);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 0.8rem;
  padding: 0.5rem;
  text-align: center;
  pointer-events: none;
  z-index: 2;
}
.portfolio-item[data-clan="MiTy"]::after {
  background: #0055ff;
}
.portfolio-item[data-clan="GODS"]::after {
  background: gold;
  color: black;
}
.portfolio-item[data-clan="R4VE"]::after {
  background: limegreen;
}
.portfolio-item[data-clan="B3S"]::after {
  background: crimson;
}

@media (max-width: 768px) {
  .cta-footer .btn {
    width: 100%;
    margin-bottom: 1rem;
  }

  .cta-footer .btn:last-child {
    margin-bottom: 0;
  }
}
@media (max-width: 768px) {
  .filter-btn {
    width: 100%;
    box-sizing: border-box;
  }
}


.site-footer {
  background: #111;
  color: #eee;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer .footer-links {
  margin-bottom: 1rem;
}

.site-footer .footer-links a {
  color: var(--color-secondary);
  margin: 0 0.75rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer .footer-links a:hover {
  color: var(--color-primary);
}

#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 0.75rem 1rem;
  font-size: 1.2rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  z-index: 999;
  transition: opacity 0.3s ease;
}
#back-to-top:hover {
  background: var(--color-secondary);


}
/* ========================
   Testimonials
========================= */
.testimonials {
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid #444;
}

.testimonial-card {
  background-color: #1a1a1a;
  border: 2px solid #333;
  border-radius: 8px;
  padding: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
  font-style: italic;
  color: #eee;
}

.testimonial-card .player-name {
  text-align: right;
  font-weight: bold;
  color: #ccc;
  margin-top: 0.5rem;
}

/* ========================
   Footer
========================= */
.footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.footer ul {
  list-style: none;
  margin-bottom: 1rem;
}

.footer ul li {
  margin: 0.5rem 0;
}
/* ========================
   Buttons
========================= */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: bold;
  text-align: center;
  transition: background 0.3s ease, transform 0.2s ease;
}

.primary-btn {
  background: linear-gradient(145deg, #6cf, #3a9bdc);
  color: #000;
}

.primary-btn:hover {
  background: linear-gradient(145deg, #3a9bdc, #6cf);
  transform: scale(1.05);
}

.discord-btn1 {
  background: transparent;
  border: 2px solid #5865F2;
  color: #5865F2;
  transition: all 0.3s ease;
}

.discord-btn1:hover {
  background-color: #5865F2;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 8px rgba(88, 101, 242, 0.5);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-btn {
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  border-radius: 6px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.kofi-btn {
  background-color: #ff5e5b;
  color: #fff;
}

.kofi-btn:hover {
  background-color: #e24c4a;
  box-shadow: 0 0 6px rgba(255, 94, 91, 0.5);
}

.discord-btn {
  background-color: #5865F2;
  color: #fff;
}

.discord-btn:hover {
  background-color: #4752c4;
  box-shadow: 0 0 6px rgba(88, 101, 242, 0.5);
}

/* Center button group */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

.cta-block {
  background: #1b1b1b;
  padding: 3rem 1.5rem;
  border-top: 1px solid #333;
  margin-top: 4rem;
}

.btn-icon {
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
  margin-bottom: 2px;
}

@media (max-width: 480px) {
  .btn-icon {
    height: 16px;
    margin-right: 6px;
  }
}
