/* 
** Mimetto - Premium Filipino Entertainment Hub
** Main Stylesheet
** Created: 2025
*/

/* Base Styles & CSS Reset */
:root {
  --primary-color: #9c27b0;
  --secondary-color: #673ab7; 
  --accent-color: #ff9800;
  --dark-color: #2a2a2a;
  --light-color: #f5f5f5;
  --text-color: #333333;
  --text-light: #ffffff;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1.5rem;
}

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

a:hover {
  color: var(--secondary-color);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

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

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--text-color);
  opacity: 0.8;
}

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

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

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

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

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

/* Navigation */
.main-nav .nav-links {
  display: flex;
  list-style: none;
}

.main-nav .nav-links li {
  margin-left: 2rem;
}

.main-nav .nav-links a {
  color: var(--text-light);
  font-weight: 600;
  position: relative;
}

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

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 20px;
  position: relative;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-light);
  position: absolute;
  left: 0;
  transition: var(--transition);
}

.mobile-menu-toggle span:nth-child(1) {
  top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 8px;
}

.mobile-menu-toggle span:nth-child(3) {
  top: 16px;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  padding: 10rem 0 6rem;
  text-align: center;
}

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

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: #e68a00;
  color: var(--text-light);
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background-color: white;
}

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

.about-text {
  flex: 1;
}

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

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

/* Services Section */
.services-section {
  padding: 5rem 0;
  background-color: #f8f5ff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.service-icon {
  margin-bottom: 1.5rem;
}

.service-icon img {
  width: 60px;
  height: 60px;
}

.service-card h3 {
  margin-bottom: 1rem;
}

/* Games Section */
.games-section {
  padding: 5rem 0;
  background-color: white;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: center;
}

.game-card {
  padding: 2rem;
  background-color: #f8f5ff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.game-links {
  list-style: none;
  margin: 1.5rem 0;
}

.game-links li {
  margin-bottom: 0.8rem;
}

.game-links a {
  display: inline-block;
  padding: 0.4rem 0;
  font-weight: 500;
}

.game-image img {
  max-width: 100%;
  height: auto;
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  background-color: #f8f5ff;
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.testimonial-content {
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 0;
}

.testimonial-content::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  top: -20px;
  left: -10px;
}

.testimonial-author p {
  margin-bottom: 0;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background-color: white;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

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

.contact-info .info-item {
  margin-bottom: 2rem;
}

.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

/* Footer */
.site-footer {
  background-color: var(--dark-color);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo img {
  width: 60px;
  height: 60px;
  margin-right: 1rem;
}

.footer-logo h2 {
  color: var(--text-light);
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-column h3 {
  color: var(--text-light);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 3px;
  background-color: var(--accent-color);
  bottom: 0;
  left: 0;
}

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

.footer-column ul li {
  margin-bottom: 0.8rem;
}

.footer-column a {
  color: #ccc;
}

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

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

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

.social-links a:hover {
  background-color: var(--accent-color);
  color: var(--text-light);
}

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

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: #ccc;
}

/* Media Queries for Responsive Design */
@media (max-width: 991px) {
  .about-content {
    flex-direction: column;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-links {
    margin-top: 2rem;
    width: 100%;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-nav .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    flex-direction: column;
    padding: 1rem 0;
    display: none;
  }
  
  .main-nav .nav-links.active {
    display: flex;
  }
  
  .main-nav .nav-links li {
    margin: 0;
  }
  
  .main-nav .nav-links a {
    display: block;
    padding: 0.8rem 1.5rem;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .services-grid,
  .games-grid,
  .testimonials-slider {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
}

/* CSS for icons */
.icon-facebook:before {
  content: "\f09a";
  font-family: "Font Awesome 5 Brands";
}

.icon-twitter:before {
  content: "\f099";
  font-family: "Font Awesome 5 Brands";
}

.icon-instagram:before {
  content: "\f16d";
  font-family: "Font Awesome 5 Brands";
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }
