/* Custom CSS for arianagrandeaiporn.pw */
/* Music-inspired theme with pink/red gradients */

:root {
  --primary: #FF6B6B;
  --primary-dark: #E91E63;
  --accent: #FFC107;
  --text-light: #FFFFFF;
  --text-dark: #333333;
  --text-muted: rgba(255, 255, 255, 0.7);
  --background: #0F0F0F;
  --card-bg: rgba(255, 255, 255, 0.05);
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --box-shadow: 0 10px 30px rgba(233, 30, 99, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

.page-container {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

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

/* Music Notes Animation */
.music-notes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.note {
  position: absolute;
  width: 40px;
  height: 80px;
  fill: var(--primary);
  opacity: 0.05;
}

.note-1 {
  top: 20%;
  left: 10%;
  animation: float 15s infinite ease-in-out;
}

.note-2 {
  top: 60%;
  left: 85%;
  animation: float 18s infinite ease-in-out reverse;
}

.note-3 {
  top: 80%;
  left: 30%;
  animation: float 20s infinite ease-in-out 5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-100px) rotate(10deg);
  }
}

/* Header Styles */
header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
}

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

.logo-text h1 span {
  color: var(--primary);
}

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

.main-nav ul {
  display: flex;
  gap: 30px;
  align-items: center;
}

.main-nav a {
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

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

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

.cta-button-sm {
  background: var(--primary);
  color: var(--text-light);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
  transition: var(--transition);
}

.cta-button-sm:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(233, 30, 99, 0.4);
}

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

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-light);
  margin: 5px 0;
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-content {
  flex: 1;
  position: relative;
  z-index: 2;
}

.sound-wave {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 20px;
}

.sound-wave span {
  display: inline-block;
  width: 3px;
  height: 30px;
  background: var(--primary);
  border-radius: 3px;
  animation: soundwave 1.5s infinite ease-in-out;
}

.sound-wave span:nth-child(1) {
  animation-delay: 0s;
  height: 15px;
}

.sound-wave span:nth-child(2) {
  animation-delay: 0.2s;
  height: 25px;
}

.sound-wave span:nth-child(3) {
  animation-delay: 0.4s;
  height: 35px;
}

.sound-wave span:nth-child(4) {
  animation-delay: 0.6s;
  height: 20px;
}

.sound-wave span:nth-child(5) {
  animation-delay: 0.8s;
  height: 30px;
}

.sound-wave span:nth-child(6) {
  animation-delay: 1s;
  height: 10px;
}

@keyframes soundwave {
  0%, 100% {
    height: 10px;
  }
  50% {
    height: 30px;
  }
}

.hero-content h2 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
}

.highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 5px;
  left: 0;
  background: var(--primary-dark);
  opacity: 0.2;
  z-index: -1;
  transform: skewX(-5deg);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-muted);
  max-width: 500px;
}

.button-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-button {
  background: var(--gradient);
  color: var(--text-light);
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  display: inline-block;
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(233, 30, 99, 0.3);
}

.cta-button.large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.ghost-button {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
}

.ghost-button:hover {
  background: rgba(255, 107, 107, 0.1);
  transform: translateY(-5px);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.microphone-svg {
  width: 100%;
  max-width: 400px;
  filter: drop-shadow(0 10px 20px rgba(233, 30, 99, 0.3));
}

/* Gallery Section */
.gallery-section {
  padding: 80px 0;
  background: radial-gradient(circle at center, rgba(233, 30, 99, 0.1), transparent 70%);
}

.gallery-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

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

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(233, 30, 99, 0.3);
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
  opacity: 1;
}

.gallery-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.gallery-overlay p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.gallery-cta {
  text-align: center;
  margin-top: 30px;
}

/* Features Section */
.features-section {
  padding: 80px 0;
  position: relative;
}

.features-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: var(--box-shadow);
}

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

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.wave-divider path {
  fill: rgba(233, 30, 99, 0.05);
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: rgba(233, 30, 99, 0.03);
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  position: relative;
  border-left: 3px solid var(--primary);
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-icon:before,
.faq-icon:after {
  content: '';
  position: absolute;
  background-color: var(--primary);
  transition: var(--transition);
}

.faq-icon:before {
  top: 9px;
  left: 0;
  width: 100%;
  height: 2px;
}

.faq-icon:after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 100%;
}

.faq-item.active .faq-icon:after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 30px 20px;
  max-height: 1000px;
}

.faq-answer p {
  color: var(--text-muted);
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(233, 30, 99, 0.2) 100%);
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 30px;
}

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

.footer-text h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.footer-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-keywords {
  color: var(--text-muted);
  font-size: 0.9rem;
  opacity: 0.7;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright p {
  color: var(--text-muted);
  font-size: 0.9rem;
  opacity: 0.6;
}

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

/* JavaScript for FAQs */
document.addEventListener('DOMContentLoaded', function() {
  // FAQ toggles
  const faqItems = document.querySelectorAll('.faq-item');
  faqItems.forEach(item => {
    const question = item.querySelector('.faq-question');
    question.addEventListener('click', () => {
      const isActive = item.classList.contains('active');
      
      // Close all items
      faqItems.forEach(faq => {
        faq.classList.remove('active');
      });
      
      // Open clicked item if it wasn't already open
      if (!isActive) {
        item.classList.add('active');
      }
    });
  });
  
  // Mobile menu toggle
  const menuToggle = document.querySelector('.menu-toggle');
  const mainNav = document.querySelector('.main-nav ul');
  
  if (menuToggle && mainNav) {
    menuToggle.addEventListener('click', () => {
      mainNav.classList.toggle('active');
      menuToggle.classList.toggle('active');
    });
  }
});

/* Media Queries */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column-reverse;
    text-align: center;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .sound-wave {
    justify-content: center;
  }
  
  .button-group {
    justify-content: center;
  }
  
  .feature-card {
    padding: 25px 20px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-keywords {
    text-align: center;
  }
}

@media (max-width: 768px) {
  :root {
    --border-radius: 8px;
  }
  
  header .container {
    flex-direction: column;
  }
  
  .logo-wrap {
    margin-bottom: 15px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .main-nav {
    width: 100%;
  }
  
  .main-nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 20px 0;
    gap: 15px;
  }
  
  .main-nav ul.active {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-section {
    padding: 60px 0;
  }
  
  .cta-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .button-group {
    flex-direction: column;
    gap: 15px;
  }
  
  .ghost-button, 
  .cta-button {
    width: 100%;
    text-align: center;
  }
  
  .footer-brand {
    flex-direction: column;
  }
}
