/* 
 * Modern, SEO-optimized CSS for aisexrobotporn.site
 * Completely different design from previous websites
 * Mobile-first responsive design approach
 */

:root {
  --primary-color: #1E88E5;
  --secondary-color: #00BCD4;
  --primary-gradient: linear-gradient(135deg, #1E88E5 0%, #00BCD4 100%);
  --text-color: #333333;
  --text-light: #666666;
  --background: #f5fafd;
  --white: #ffffff;
  --card-shadow: 0 10px 30px rgba(30, 136, 229, 0.1);
  --border-radius: 10px;
}

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

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

body {
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-color);
  background-color: var(--background);
  line-height: 1.6;
}

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

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

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

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

h1, h2, h3, h4 {
  margin-bottom: 0.5rem;
  line-height: 1.2;
  font-weight: 700;
}

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

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

p {
  margin-bottom: 1rem;
}

ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

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

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

.logo h1 {
  font-size: 1.2rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

nav ul {
  display: none;
  list-style: none;
  margin: 0;
}

nav li {
  margin: 0 0 0 1.5rem;
}

nav a {
  color: var(--text-color);
  font-weight: 500;
}

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

.menu-toggle {
  display: block;
  background: none;
  border: none;
  width: 2rem;
  height: 1.5rem;
  position: relative;
  cursor: pointer;
}

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

/* Hero Section */
.hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.05) 0%, rgba(0, 188, 212, 0.05) 100%);
  overflow: hidden;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-text {
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.hero-image {
  width: 100%;
  max-width: 400px;
}

.cta-button {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--primary-gradient);
  color: white;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(30, 136, 229, 0.3);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 136, 229, 0.4);
  color: white;
}

.cta-button.outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  box-shadow: none;
}

.cta-button.outline:hover {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 5px 15px rgba(30, 136, 229, 0.3);
}

/* Experience Section */
.experience {
  padding: 5rem 0;
  background-color: var(--white);
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(30, 136, 229, 0.15);
}

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

/* Technology Section */
.technology {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.05) 0%, rgba(0, 188, 212, 0.05) 100%);
}

.technology .content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
}

.technology .text {
  flex: 1;
}

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

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: var(--white);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
}

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

.feature svg {
  flex-shrink: 0;
}

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

.features .cta {
  margin-top: 3rem;
  text-align: center;
}

/* About Section */
.about {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.05) 0%, rgba(0, 188, 212, 0.05) 100%);
  text-align: center;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
}

/* Footer */
footer {
  background-color: #212121;
  color: white;
  padding: 4rem 0 1.5rem;
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-text .site-name {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.footer-text p {
  margin-bottom: 0;
  opacity: 0.8;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.footer-nav a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Media Queries for Responsiveness */
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
  
  nav ul {
    display: flex;
  }
  
  .hero .container {
    flex-direction: row;
    text-align: left;
  }
  
  .hero-text {
    margin-bottom: 0;
    margin-right: 2rem;
  }
  
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .technology .content {
    flex-direction: row;
    align-items: center;
  }
  
  .feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .footer-nav {
    flex-direction: row;
    gap: 2rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text, .cards, .content, .feature-list {
  animation: fadeIn 0.8s ease-out forwards;
}
