/* 
* Elnigga - Main Stylesheet
* Modern Digital Solutions Website
*/

/* Variables */
:root {
  --primary: #FF6B6B;
  --secondary: #4ECDC4;
  --accent: #FFE66D;
  --dark: #1A1A1A;
  --light: #F7F7F7;
  --text: #333333;
  --text-light: #777777;
  --text-dark: #111111;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

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

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

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

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

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text);
}

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

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gradient);
}

.section-header p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 7px 25px rgba(255, 107, 107, 0.5);
  transform: translateY(-3px);
  color: white;
}

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

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

.btn-nav {
  background: var(--gradient);
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  margin-left: 1rem;
}

.btn-nav:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  padding: 1rem 0;
  transition: var(--transition);
}

header.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.98);
}

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

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

.logo svg {
  margin-right: 0.5rem;
}

.logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu li {
  margin-left: 1.5rem;
}

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

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

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

.menu-toggle {
  display: none;
  flex-direction: column;
  width: 30px;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background-color: var(--text-dark);
  margin-bottom: 5px;
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.3), rgba(78, 205, 196, 0.3));
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(78, 205, 196, 0.3), rgba(255, 107, 107, 0.3));
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  animation: fadeInUp 1s ease;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  font-size: 4rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--text);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

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

/* Services Section */
.services {
  background-color: white;
}

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

.service-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

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

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(78, 205, 196, 0.05));
  transition: var(--transition);
  z-index: -1;
}

.service-card:hover::before {
  height: 100%;
}

.icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-shape {
  width: 60px;
  height: 60px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: var(--gradient);
}

.service-card:nth-child(2) .icon-shape {
  border-radius: 70% 30% 30% 70% / 70% 30% 70% 30%;
}

.service-card:nth-child(3) .icon-shape {
  border-radius: 30% 70% 30% 70% / 70% 30% 70% 30%;
}

.service-card:nth-child(4) .icon-shape {
  border-radius: 70% 30% 70% 30% / 30% 70% 30% 70%;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

/* About Section */
.about {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(78, 205, 196, 0.05));
}

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

.about-text {
  max-width: 100%;
}

.about-text .section-header {
  text-align: left;
}

.about-text .section-header h2::after {
  left: 0;
  transform: translateX(0);
}

.stats {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-text {
  font-size: 0.875rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Entertainment Section */
.entertainment {
  background-color: white;
}

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

.resource-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.resource-card h3 {
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.resource-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient);
}

.resource-links li {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.resource-links li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.resource-links a {
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.resource-links p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(78, 205, 196, 0.05));
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  background: white;
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item h4 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.info-item p {
  margin-bottom: 0;
  color: var(--text-light);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 5rem 0 2rem;
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.company-name {
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4rem;
}

.footer-nav-column h4 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-nav-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient);
}

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

.footer-nav-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-nav-column ul li a:hover {
  color: var(--primary);
}

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

.copyright p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

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

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

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

/* Media Queries */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.75rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 73px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 73px);
    background-color: white;
    flex-direction: column;
    padding: 2rem 0;
    transition: 0.5s ease;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 1.5rem 0;
  }
  
  .about-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .footer-top,
  .footer-nav {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
  }
  
  .footer-nav-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .entertainment-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  h1, .hero-content h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
}

/* Icons (simple CSS shapes since we're avoiding extra images) */
.icon-twitter::before {
  content: 'X';
  font-style: normal;
  font-weight: bold;
}

.icon-facebook::before {
  content: 'f';
  font-style: normal;
  font-weight: bold;
}

.icon-instagram::before {
  content: 'IG';
  font-style: normal;
  font-weight: bold;
}

.icon-linkedin::before {
  content: 'in';
  font-style: normal;
  font-weight: bold;
}

/* Animation Classes */
.animate {
  animation: fadeInUp 0.6s ease forwards;
}
