/* Main styles for emmawatsonaiporn.love */
:root {
  --primary: #00c6fb;
  --secondary: #005bea;
  --accent: #ff4757;
  --background: #121212;
  --text-light: #f8f9fa;
  --text-dark: #212529;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --font-main: 'Poppins', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
}

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

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  background: var(--gradient);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(0, 198, 251, 0.3);
  position: relative;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-radius: 50px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 198, 251, 0.4);
}

.btn:hover::before {
  opacity: 1;
}

/* Header */
.header {
  padding: 20px 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background 0.3s ease;
}

.header.scrolled {
  position: fixed;
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  padding: 10px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
}

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

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

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

.nav-item {
  margin-left: 30px;
}

.nav-link {
  color: var(--text-light);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s;
  position: relative;
  padding-bottom: 5px;
}

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

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

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

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(0, 91, 234, 0.1), rgba(0, 198, 251, 0.1));
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(rgba(0, 198, 251, 0.2), rgba(0, 91, 234, 0.1));
  top: -400px;
  right: -400px;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(rgba(255, 71, 87, 0.15), transparent);
  bottom: -300px;
  left: -300px;
  z-index: 0;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero-pretitle {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-title span {
  display: block;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 600px;
  z-index: 1;
}

/* Features */
.features {
  background-color: #0d0d0d;
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(rgba(0, 198, 251, 0.1), transparent);
  top: -150px;
  left: -150px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  z-index: 1;
  height: 100%;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  z-index: 0;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 198, 251, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

/* Gallery */
.gallery {
  background-color: #0a0a0a;
  position: relative;
  overflow: hidden;
}

.gallery::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(rgba(255, 71, 87, 0.1), transparent);
  bottom: -200px;
  right: -200px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1/1;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, rgba(0, 91, 234, 0.9), rgba(0, 198, 251, 0.9)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23000" opacity="0.2"/></svg>') repeat;
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.cta-description {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-btn {
  background: white;
  color: var(--secondary);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
  background-color: #0a0a0a;
  padding: 70px 0 30px;
  position: relative;
}

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

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-brand svg {
  height: 30px;
  width: 30px;
  margin-right: 10px;
}

.footer-brand-name {
  font-size: 1.2rem;
  font-weight: 600;
}

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

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

.footer-link {
  margin-bottom: 10px;
}

.footer-link a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-image {
    width: 40%;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-desktop {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #121212;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px;
    transition: all 0.4s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  
  .nav-desktop.open {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    margin-right: 0;
    margin-bottom: 30px;
    width: 100%;
  }
  
  .nav-item {
    margin-left: 0;
    margin-bottom: 15px;
    width: 100%;
  }
  
  .nav-link {
    display: block;
    width: 100%;
    padding: 10px 0;
  }
  
  .hero {
    padding: 100px 0 50px;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    position: relative;
    transform: none;
    width: 80%;
    max-width: 400px;
    margin: 50px auto 0;
    top: auto;
    right: auto;
  }
  
  .features-grid,
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 576px) {
  .hero-pretitle {
    font-size: 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .feature-card {
    padding: 25px;
  }
  
  .features-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn {
    width: 100%;
  }
}
