/* Modern CSS with responsive design - Unique for Cassia Lane */
:root {
  --primary-color: #9b59b6;
  --secondary-color: #8e44ad;
  --accent-color: #3498db;
  --text-color: #333333;
  --light-color: #f8f9fa;
  --dark-color: #2c3e50;
  --font-main: 'Montserrat', 'Helvetica Neue', sans-serif;
}

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

html, body {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f8f9fa;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Unique Wave Shapes */
.wave-top {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 50px;
  fill: var(--light-color);
}

.wave-bottom {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 50px;
  fill: var(--light-color);
  transform: rotate(180deg);
}

/* Header */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.8rem;
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
}

.nav {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-link {
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 120px 0 100px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.hero-image {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image svg {
  width: 100%;
  max-width: 500px;
}

.hero-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
}

/* Services Section */
.services {
  padding: 100px 0;
  position: relative;
  background-color: var(--light-color);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark-color);
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-title p {
  color: #666;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.service-icon {
  background-color: rgba(155, 89, 182, 0.1);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.service-icon svg {
  width: 50px;
  height: 50px;
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.service-content p {
  color: #666;
  font-size: 0.95rem;
}

/* Games Section */
.games {
  padding: 100px 0;
  background-color: white;
  position: relative;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.game-card {
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.game-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.game-header {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  padding: 15px 20px;
  color: white;
}

.game-title {
  margin: 0;
  font-size: 1.3rem;
}

.game-content {
  padding: 20px;
}

.game-description {
  margin-bottom: 15px;
  color: #666;
}

.game-links a {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.game-links a:hover {
  border-bottom-color: var(--primary-color);
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: var(--light-color);
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.about-text p {
  color: #666;
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.7;
}

.about-image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-image svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Footer */
.footer {
  padding: 80px 0 30px;
  background-color: var(--dark-color);
  color: white;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about .footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-about .footer-logo svg {
  height: 30px;
  margin-right: 10px;
}

.footer-about p {
  color: #bbb;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

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

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

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

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: white;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #bbb;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-image {
    order: -1;
    margin-bottom: 30px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 30px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav {
    position: absolute;
    flex-direction: column;
    background-color: white;
    width: 100%;
    left: 0;
    top: 70px;
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    gap: 0;
    display: none;
  }
  
  .nav.show {
    display: flex;
  }
  
  .nav li {
    text-align: center;
    padding: 10px 0;
  }
  
  .hero-text h1 {
    font-size: 2.2rem;
  }
  
  .services-grid,
  .games-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .section-title h2 {
    font-size: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
