/* 
 * Main stylesheet for bbwaiporn.love
 * A modern, responsive design with orange/pink gradient theme
 */

:root {
  /* Color scheme - completely different from previous sites */
  --primary: #FF9500;
  --secondary: #E8308A;
  --accent: #FF4E50;
  --light: #FFFFFF;
  --dark: #222222;
  --gray: #888888;
  --bg-light: #FFFFFF;
  --bg-dark: #222222;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
}

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
  font-weight: 800;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: var(--spacing-md);
  text-align: center;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* Highlight text */
h1 span, h2 span, h3 span {
  color: var(--secondary);
  position: relative;
}

h1 span::after, h2 span::after, h3 span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 8px;
  background-color: var(--primary);
  opacity: 0.2;
  z-index: -1;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.primary-btn {
  background: var(--gradient);
  color: var(--light);
  box-shadow: var(--shadow-md);
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-sm) 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.logo svg {
  height: 40px;
  width: 40px;
}

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
}

.main-nav a {
  color: var(--dark);
  font-weight: 600;
  padding: var(--spacing-xs) 0;
  position: relative;
}

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

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

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
  bottom: 0;
}

.menu-toggle.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Hero Section */
.hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(to bottom, rgba(255, 149, 0, 0.05), rgba(232, 48, 138, 0.05));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(rgba(255, 149, 0, 0.1), transparent);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(rgba(232, 48, 138, 0.1), transparent);
  z-index: 0;
}

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

.hero h2 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
  color: var(--gray);
}

/* Features Section */
.features {
  padding: var(--spacing-xl) 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.feature-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  margin: 0 auto var(--spacing-md);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card h3 {
  margin-bottom: var(--spacing-sm);
}

.feature-card p {
  color: var(--gray);
  margin-bottom: 0;
}

/* Gallery Section */
.gallery {
  padding: var(--spacing-xl) 0;
  background-color: rgba(255, 149, 0, 0.05);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 200px;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.gallery-item svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About Section */
.about {
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.about p {
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  padding: var(--spacing-lg) 0 var(--spacing-md);
  background-color: var(--bg-dark);
  color: var(--light);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.footer-logo svg {
  width: 60px;
  height: 60px;
}

.footer-logo p {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0;
}

.footer-links {
  margin-bottom: var(--spacing-md);
}

.footer-links ul {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--light);
}

.copyright {
  text-align: center;
}

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

/* Responsive Styles */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
  
  .main-nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    flex-direction: column;
    background-color: var(--bg-light);
    padding: 5rem var(--spacing-md) var(--spacing-md);
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    z-index: 1000;
  }
  
  .main-nav ul.active {
    right: 0;
  }
  
  .gallery-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links ul {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
  }
}

@media screen and (max-width: 480px) {
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }
}
