/* 
 * Main stylesheet for aliceaiporn.love
 * Modern, responsive design with purple/pink gradient theme
 */

/* Base styles and CSS reset */
:root {
  --primary-color: #FF80B5;
  --secondary-color: #9089FC;
  --accent-color: #d8b4fe;
  --light-accent: #f9f7ff;
  --dark-bg: #14162b;
  --darker-bg: #0a0b19;
  --light-bg: #242645;
  --light-text: #f8f9fa;
  --dark-text: #212529;
  --gradient: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

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

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

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

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex-grow: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.75rem;
  color: var(--light-text);
  position: relative;
  margin-bottom: 3rem;
}

h2:after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient);
  border-radius: 4px;
}

h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
}

h4 {
  font-size: 1.4rem;
  color: var(--light-text);
}

p {
  margin-bottom: 1.5rem;
  color: var(--light-text);
  font-size: 1.1rem;
}

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

a:hover {
  color: var(--light-accent);
}

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

section {
  padding: 5rem 0;
}

/* Header */
header {
  background-color: rgba(20, 22, 43, 0.95);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

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

.logo {
  max-width: 200px;
}

.logo-svg {
  width: 100%;
  height: auto;
}

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

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

.main-nav ul li a {
  color: var(--light-text);
  font-weight: 500;
  padding: 0.5rem 1rem;
  position: relative;
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: var(--gradient);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main-nav ul li a:hover::after {
  width: 70%;
}

.premium-link {
  background: var(--gradient);
  color: var(--light-text) !important;
  padding: 0.5rem 1.5rem !important;
  border-radius: 50px;
  box-shadow: var(--box-shadow);
}

.premium-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.premium-link::after {
  display: none !important;
}

/* Hero Section */
.hero {
  padding: 8rem 0 6rem;
  background: linear-gradient(to right, var(--darker-bg), var(--dark-bg));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(144, 137, 252, 0.1), transparent 60%),
              radial-gradient(circle at 70% 50%, rgba(255, 128, 181, 0.1), transparent 60%);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.35rem;
  margin-bottom: 2.5rem;
  color: var(--accent-color);
}

.cta-button {
  display: inline-block;
  background: var(--gradient);
  color: var(--light-text);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 1px;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  color: var(--light-text);
}

/* Featured Section */
.featured {
  background-color: var(--dark-bg);
  text-align: center;
}

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

.featured-item {
  background-color: var(--darker-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.featured-item:hover {
  transform: translateY(-10px);
}

.featured-item svg {
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
  margin-top: 1rem;
}

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

/* Gallery Section */
.gallery {
  background-color: var(--darker-bg);
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item {
  background-color: var(--dark-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

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

.gallery-item h4 {
  padding: 1rem;
  font-weight: 500;
  color: var(--accent-color);
}

.gallery-cta {
  margin-top: 3.5rem;
}

/* About Section */
.about {
  background: linear-gradient(45deg, var(--dark-bg), var(--darker-bg));
}

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

.about-text h2 {
  text-align: left;
}

.about-text h2:after {
  left: 0;
  transform: none;
}

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

.about-visual svg {
  max-width: 100%;
  height: auto;
}

/* Premium Section */
.premium {
  background-color: var(--dark-bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.premium::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--primary-color);
  opacity: 0.1;
}

.premium::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--secondary-color);
  opacity: 0.1;
}

.premium > .container {
  position: relative;
  z-index: 1;
}

.premium p {
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.2rem;
}

.premium-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.feature {
  padding: 2rem;
  background-color: var(--darker-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-5px);
}

.feature svg {
  margin-bottom: 1.5rem;
}

.feature h3 {
  margin-bottom: 1rem;
}

.feature p {
  margin-bottom: 0;
  font-size: 1rem;
}

.premium-cta {
  font-size: 1.2rem;
  padding: 1.2rem 3rem;
}

/* Footer */
footer {
  background-color: var(--darker-bg);
  padding: 5rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo .footer-favicon {
  width: 70px;
  height: 70px;
  margin-bottom: 1rem;
}

.footer-logo p {
  font-weight: 500;
  color: var(--primary-color);
}

.footer-links h4 {
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 40px;
  height: 3px;
  background: var(--gradient);
}

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

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--light-text);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary-color);
}

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

/* Media Queries */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-visual {
    grid-row: 1;
    margin-bottom: 2rem;
  }
  
  .about-text h2 {
    text-align: center;
  }
  
  .about-text h2:after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  header .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 1.5rem;
  }
  
  .main-nav ul li {
    margin: 0 0.8rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo {
    align-items: center;
    margin-bottom: 1.5rem;
  }
  
  .footer-links h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 576px) {
  .featured-grid,
  .gallery-grid,
  .premium-features {
    grid-template-columns: 1fr;
  }
  
  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .main-nav ul li {
    margin: 0.5rem 0.8rem;
  }
  
  .premium-link {
    margin-top: 0.5rem;
  }
  
  .cta-button {
    padding: 0.8rem 1.8rem;
  }
}
