/* 
 * Main stylesheet for aiporn.site
 * Red/Gray color scheme with modern design elements
 */

/* Variables */
:root {
  /* Main Colors - Red/Gray Theme (Different from previous sites) */
  --primary-color: #FF6B6B;
  --secondary-color: #556270;
  --accent-color: #4ECDC4;
  --text-color: #f8f9fa;
  --dark-bg: #1a1a1a;
  --light-bg: #333333;
  
  /* Gradients */
  --main-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --accent-gradient: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  
  /* Typography */
  --heading-font: 'Poppins', sans-serif;
  --body-font: 'Roboto', sans-serif;
  
  /* Spacing */
  --section-padding: 5rem 0;
  --element-spacing: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--dark-bg);
  overflow-x: hidden;
}

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

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

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

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

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

/* Button Styles */
.btn {
  display: inline-block;
  background: var(--main-gradient);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-size: 1.1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  z-index: -1;
  transition: height 0.3s ease;
}

.btn:hover::after {
  height: 100%;
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
}

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

.animate {
  opacity: 0;
}

.animate-active {
  animation: fadeInUp 0.8s forwards;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

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

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--main-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  font-size: 1.1rem;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::before {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-bg);
  background-image: radial-gradient(circle at top right, rgba(255, 107, 107, 0.2), transparent 40%),
                    radial-gradient(circle at bottom left, rgba(85, 98, 112, 0.2), transparent 40%);
  z-index: -1;
}

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

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

.hero-subtitle {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.hero-title {
  margin-bottom: 2rem;
  line-height: 1.1;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Features Section */
.features {
  padding: var(--section-padding);
  background-color: var(--light-bg);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  z-index: 1;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  z-index: -1;
}

.section-subtitle {
  font-size: 1.2rem;
  opacity: 0.8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  background: rgba(26, 26, 26, 0.7);
  border-radius: 15px;
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 4px solid var(--primary-color);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* CTA Section */
.cta {
  padding: var(--section-padding);
  background: var(--main-gradient);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, rgba(255,255,255,0.1) 25%, transparent 25%, 
                    transparent 50%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.1) 75%, 
                    transparent 75%, transparent);
  background-size: 100px 100px;
  opacity: 0.1;
}

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

.cta-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.cta-text {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.cta-btn {
  background: var(--dark-bg);
  color: var(--text-color);
  padding: 1.25rem 3rem;
  border-radius: 50px;
}

/* Footer */
.footer {
  background-color: var(--dark-bg);
  padding: 5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}

.footer-info {
  grid-column: 1;
}

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

.footer-description {
  margin-bottom: 2rem;
  opacity: 0.7;
}

.footer-links {
  grid-column: auto;
}

.footer-heading {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  color: var(--primary-color);
}

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

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

.footer-links a:hover {
  padding-left: 5px;
}

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

/* Media Queries */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-text {
    align-items: center;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-info {
    grid-column: span 2;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--light-bg);
    flex-direction: column;
    gap: 0;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 100;
  }
  
  .nav-list.active {
    right: 0;
  }
  
  .nav-list li {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-info {
    grid-column: 1;
  }
}
