/* 
* Tosupo Website Styles
* A responsive design for the Tosupo website targeting the Philippines market
*/

/* Base styles and CSS variables */
:root {
  /* Primary color palette */
  --primary-color: #6a3093;
  --primary-color-light: #9370DB;
  --primary-color-dark: #4B0082;
  --accent-color: #FFD700; /* Gold accent */
  --text-color: #333333;
  --text-light: #777777;
  --bg-color: #ffffff;
  --bg-alt: #f8f9fa;
  --success-color: #28a745;
  --danger-color: #dc3545;
  
  /* Typography */
  --font-primary: 'Montserrat', 'Arial', sans-serif;
  --font-secondary: 'Raleway', 'Helvetica', sans-serif;
  
  /* Layout */
  --container-width: 1200px;
  --section-padding: 80px 0;
  --section-padding-mobile: 40px 0;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Raleway:wght@300;400;500;600;700&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

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

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

ul {
  list-style: none;
}

img, svg {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

.primary-btn {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 15px rgba(106, 48, 147, 0.2);
}

.primary-btn:hover {
  background: var(--primary-color-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(106, 48, 147, 0.3);
}

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

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

/* Section styles */
section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.underline {
  height: 4px;
  width: 70px;
  background: var(--accent-color);
  margin: 0 auto;
}

/* Header */
header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.8rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

nav .nav-menu {
  display: flex;
}

nav .nav-menu li {
  margin-left: 30px;
}

nav .nav-menu li a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

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

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

nav .nav-menu li a:hover::after {
  width: 100%;
}

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

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--primary-color);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, rgba(106, 48, 147, 0.9), rgba(147, 112, 219, 0.9)), url('https://source.unsplash.com/random/1920x1080/?philippines,entertainment') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  padding-top: 80px;
}

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

.hero-content h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

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

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
}

.image-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-text {
  flex: 1;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  margin-bottom: 20px;
}

/* Gaming Section */
.gaming {
  background: linear-gradient(to right, rgba(106, 48, 147, 0.05), rgba(147, 112, 219, 0.05));
}

.gaming-content {
  max-width: 900px;
  margin: 0 auto;
}

.gaming-resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.resource-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.resource-card h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.resource-card ul {
  padding-left: 20px;
}

.resource-card ul li {
  margin-bottom: 10px;
  list-style-type: disc;
}

.gaming-disclaimer {
  background: rgba(255, 215, 0, 0.1);
  padding: 20px;
  border-left: 4px solid var(--accent-color);
  margin-top: 40px;
  border-radius: 0 5px 5px 0;
}

/* Contact Section */
.contact-container {
  display: flex;
  gap: 50px;
}

.contact-info, .contact-form {
  flex: 1;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.info-item svg {
  margin-right: 15px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: var(--font-primary);
  font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(106, 48, 147, 0.1);
}

/* Footer */
footer {
  background: var(--primary-color-dark);
  color: white;
  padding-top: 60px;
}

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

.footer-logo h3 {
  color: white;
  margin-top: 10px;
  margin-bottom: 15px;
}

.footer-links h4, .footer-newsletter h4 {
  color: white;
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a:hover {
  color: white;
}

.footer-newsletter p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-newsletter form {
  display: flex;
}

.footer-newsletter input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 5px 0 0 5px;
  font-family: var(--font-primary);
}

.footer-newsletter button {
  border-radius: 0 5px 5px 0;
  padding: 0 20px;
}

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

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.6rem;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .about-content, .contact-container {
    flex-direction: column;
  }
  
  section {
    padding: var(--section-padding-mobile);
  }
}

@media (max-width: 768px) {
  header .container {
    padding: 15px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  nav .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
  }
  
  nav .nav-menu.active {
    left: 0;
  }
  
  nav .nav-menu li {
    margin: 15px 0;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

.slide-up {
  animation: slideUp 0.8s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
