/* 
* Universo Valorant - Main Stylesheet
* A modern, responsive design for the ultimate Valorant resource in the Philippines
*/

/* ========== Base Styles ========== */
:root {
  /* Primary Brand Colors */
  --primary: #fa4454;
  --primary-dark: #dc1f31;
  --primary-light: #ff7a87;
  
  /* Secondary Colors */
  --secondary: #53e6d1;
  --secondary-dark: #28c9b2;
  --secondary-light: #7efae6;
  
  /* Neutrals */
  --dark: #111111;
  --dark-gray: #333333;
  --medium-gray: #666666;
  --light-gray: #cccccc;
  --off-white: #f7f7f7;
  --white: #ffffff;
  
  /* Font Sizes */
  --text-xs: 0.75rem;   /* 12px */
  --text-sm: 0.875rem;  /* 14px */
  --text-base: 1rem;    /* 16px */
  --text-lg: 1.125rem;  /* 18px */
  --text-xl: 1.25rem;   /* 20px */
  --text-2xl: 1.5rem;   /* 24px */
  --text-3xl: 1.875rem; /* 30px */
  --text-4xl: 2.25rem;  /* 36px */
  --text-5xl: 3rem;     /* 48px */
  
  /* Spacing */
  --space-xs: 0.25rem;  /* 4px */
  --space-sm: 0.5rem;   /* 8px */
  --space-md: 1rem;     /* 16px */
  --space-lg: 1.5rem;   /* 24px */
  --space-xl: 2rem;     /* 32px */
  --space-2xl: 3rem;    /* 48px */
  --space-3xl: 4rem;    /* 64px */
  
  /* Other */
  --border-radius: 4px;
  --border-radius-lg: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5;
  color: var(--dark-gray);
  background-color: var(--off-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

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

ul, ol {
  list-style: none;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Tungsten', 'Impact', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

p {
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-md);
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary);
}

/* ========== Layout ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

section {
  padding: var(--space-3xl) 0;
}

/* ========== Components ========== */
/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: var(--text-sm);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--dark);
  border: 2px solid var(--secondary);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

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

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--dark);
  padding: var(--space-md) 0;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container img {
  height: 60px;
  width: auto;
}

.main-nav .nav-list {
  display: flex;
  gap: var(--space-lg);
}

.main-nav .nav-list a {
  color: var(--white);
  font-weight: 500;
  position: relative;
  padding: var(--space-xs) 0;
}

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

.main-nav .nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.main-nav .nav-list a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--white);
  margin: 5px 0;
  transition: var(--transition);
}

/* ========== Hero Section ========== */
.hero {
  padding: 0;
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  color: var(--white);
  text-align: center;
  margin-top: 0;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(250, 68, 84, 0.6), rgba(0, 0, 0, 0));
  z-index: 1;
}

.hero .container {
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: var(--space-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2xl);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

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

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-text {
  font-size: var(--text-lg);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.feature {
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  background-color: var(--off-white);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
}

/* ========== Agents Section ========== */
.agents {
  background-color: var(--off-white);
  position: relative;
  overflow: hidden;
}

.agents::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--primary-light) 0%, rgba(255,255,255,0) 70%);
  opacity: 0.2;
  z-index: 0;
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.agent-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.agent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.8) 100%);
  z-index: 1;
}

.agent-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-lg);
  color: var(--white);
  z-index: 2;
}

.agent-role {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50px;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.section-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* ========== Maps Section ========== */
.maps {
  background-color: var(--dark);
  color: var(--white);
}

.maps .section-header h2 {
  color: var(--white);
}

.maps-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.map-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  height: 200px;
}

.map-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
  z-index: 1;
}

.map-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-lg);
  z-index: 2;
}

/* ========== Esports Section ========== */
.esports {
  background-color: var(--white);
}

.esports-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-2xl);
}

.news-card {
  margin-bottom: var(--space-lg);
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  background-color: var(--off-white);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
}

.news-date {
  font-size: var(--text-sm);
  color: var(--medium-gray);
  margin-bottom: var(--space-sm);
}

.teams-list li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--light-gray);
}

.teams-list li:last-child {
  border-bottom: none;
}

/* ========== Gaming Section ========== */
.gaming {
  background-color: var(--off-white);
}

.gaming-resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.resource-card {
  padding: var(--space-xl);
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
}

.resources-list, .tips-list {
  margin-top: var(--space-lg);
}

.resources-list li, .tips-list li {
  padding: var(--space-xs) 0;
  position: relative;
}

.resources-list a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.resources-list a:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

/* ========== Newsletter Section ========== */
.newsletter {
  padding: var(--space-2xl) 0;
  background-color: var(--primary);
}

.newsletter-content {
  text-align: center;
  color: var(--white);
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form {
  display: flex;
  margin-top: var(--space-xl);
  gap: var(--space-md);
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: var(--text-base);
}

.newsletter-form .btn {
  background-color: var(--dark);
  border-color: var(--dark);
}

.newsletter-form .btn:hover {
  background-color: var(--dark-gray);
  border-color: var(--dark-gray);
}

/* ========== Footer ========== */
.footer {
  background-color: var(--dark);
  color: var(--light-gray);
  padding-top: var(--space-3xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.footer-logo img {
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.footer-links-column h3 {
  color: var(--white);
  margin-bottom: var(--space-lg);
  font-size: var(--text-lg);
}

.footer-links-column ul li {
  margin-bottom: var(--space-md);
}

.footer-links-column a {
  color: var(--light-gray);
  transition: var(--transition);
}

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

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

/* ========== Responsive Styles ========== */
@media (max-width: 1024px) {
  h1 {
    font-size: var(--text-4xl);
  }
  
  h2 {
    font-size: var(--text-3xl);
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .about-text {
    order: 1;
  }
  
  .esports-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: var(--text-3xl);
  }
  
  .hero p {
    font-size: var(--text-lg);
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-nav .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--dark);
    padding: var(--space-lg);
    flex-direction: column;
    align-items: center;
  }
  
  .main-nav .nav-list.active {
    display: flex;
  }
}

@media (max-width: 480px) {
  section {
    padding: var(--space-2xl) 0;
  }
  
  .section-header {
    margin-bottom: var(--space-xl);
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}
