/*
* createaiporn.lifestyle - Main Stylesheet
* Modern, responsive design with teal/turquoise color scheme
*/

:root {
  /* Primary color palette - teal/turquoise theme */
  --primary: #00C8B4;
  --primary-dark: #009688;
  --primary-light: #4DE0D0;
  --accent: #FF6B00;
  --dark: #222222;
  --gray-dark: #444444;
  --gray-medium: #777777;
  --gray-light: #DDDDDD;
  --light: #F9F9F9;
  --white: #FFFFFF;
  
  /* Typography */
  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Helvetica Neue', Arial, sans-serif;
  
  /* Layout */
  --container-width: 1140px;
  --container-padding: 1.5rem;
  --grid-gap: 2rem;
  --border-radius: 0.75rem;
  --transition: all 0.3s ease;
}

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

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

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
}

/* Layout & Containers */
.page-wrapper {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

section {
  padding: 5rem 0;
}

main {
  flex: 1 0 auto;
}

/* Header & Navigation */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  display: block;
}

.site-title {
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--dark);
}

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

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-menu a {
  color: var(--gray-dark);
  font-weight: 500;
  position: relative;
}

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

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

.nav-menu 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;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--dark);
  transition: var(--transition);
}

.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;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white) !important;
  box-shadow: 0 4px 12px rgba(0, 200, 180, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 200, 180, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: rgba(0, 200, 180, 0.1);
  transform: translateY(-3px);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.cta-nav .btn {
  padding: 0.6rem 1.2rem;
}

/* Hero Section */
.hero {
  padding: 6rem 0 5rem;
  background-color: var(--light);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: var(--grid-gap);
}

.hero-content {
  flex: 1;
}

.hero-visual {
  flex: 1;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-image {
  max-width: 100%;
  height: auto;
}

/* About Section */
.about {
  background-color: var(--white);
}

.about-grid {
  display: flex;
  align-items: center;
  gap: var(--grid-gap);
}

.about-content {
  flex: 3;
}

.about-visual {
  flex: 2;
}

.about-image {
  max-width: 100%;
}

/* Benefits Section */
.benefits {
  background-color: var(--light);
}

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

.benefit-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

/* Process Section */
.process {
  background-color: var(--white);
}

.process-flow {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  background: var(--primary);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  padding-top: 0.5rem;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  text-align: center;
}

.cta h2, .cta p {
  color: var(--white);
}

.cta h2 {
  margin-bottom: 1rem;
}

.cta p {
  margin: 0 auto 2rem;
  max-width: 600px;
  opacity: 0.9;
}

.cta .btn-primary {
  background-color: var(--white);
  color: var(--primary) !important;
}

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

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 4rem 0 1.5rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 2rem;
}

.footer-logo {
  text-align: center;
}

.footer-icon {
  margin: 0 auto 1rem;
}

.footer-nav {
  display: flex;
  gap: 5rem;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: var(--gray-light);
}

.footer-col a:hover {
  color: var(--white);
}

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

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero .container {
    flex-direction: column-reverse;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .about-grid {
    flex-direction: column-reverse;
  }
  
  .about-visual {
    max-width: 400px;
    margin: 0 auto 2rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .menu-toggle {
    display: block;
    z-index: 101;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background-color: var(--white);
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    padding: 2rem;
    transition: right 0.3s ease;
    gap: 2rem;
    z-index: 100;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-menu a {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
  }
  
  .cta-nav {
    margin-top: 1rem;
    width: 100%;
  }
  
  .cta-nav .btn {
    display: block;
    width: 100%;
    text-align: center;
  }
  
  .footer-top {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
  }
  
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .benefit-card {
    padding: 1.5rem;
  }
  
  section {
    padding: 3.5rem 0;
  }
}

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
