/*
   Main stylesheet for freeaipornvideo.site
   Color scheme: Teal (#20B2AA) and Coral (#FF6347)
   Modern, responsive design with clean layout
*/

:root {
  --primary: #20B2AA;    /* Light Sea Green / Teal */
  --secondary: #FF6347;  /* Coral / Tomato */
  --dark: #333333;
  --light: #FFFFFF;
  --gray: #F5F5F5;
  --text: #333333;
  --text-light: #777777;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: #FAFAFA;
}

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

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

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

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

section {
  padding: 4rem 0;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
}

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

p {
  margin-bottom: 1.2rem;
}

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

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
}

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

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

.main-nav a {
  color: var(--dark);
  font-weight: 500;
  padding: 0.5rem 0.25rem;
  position: relative;
}

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

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

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

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

.nav-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--dark);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

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

.nav-toggle span:nth-child(2) {
  top: 10px;
}

.nav-toggle span:nth-child(3) {
  top: 20px;
}

.nav-toggle.active span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.nav-toggle.active span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

/* Hero Section */
.hero {
  background-color: var(--gray);
  padding: 3rem 0;
}

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

.hero-text {
  max-width: 600px;
}

.hero-text h2 {
  margin-bottom: 1rem;
}

.hero-text h2::after {
  display: none;
}

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

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.button.primary {
  background-color: var(--primary);
  color: var(--light);
  box-shadow: 0 4px 10px rgba(32, 178, 170, 0.3);
}

.button.primary:hover {
  background-color: #1b9e97;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(32, 178, 170, 0.4);
  color: var(--light);
}

.button.secondary {
  background-color: var(--secondary);
  color: var(--light);
  box-shadow: 0 4px 10px rgba(255, 99, 71, 0.3);
}

.button.secondary:hover {
  background-color: #ff513d;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 99, 71, 0.4);
  color: var(--light);
}

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

.button.outline:hover {
  background-color: var(--primary);
  color: var(--light);
}

.button.large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

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

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

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

/* Video Section */
.video-section {
  background-color: var(--gray);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

.video-card {
  background: var(--light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

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

.video-thumbnail {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.video-card h3 {
  padding: 1rem 1rem 0.5rem;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  padding: 0 1rem 0.75rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.video-meta span {
  padding: 0.2rem 0.5rem;
  background-color: var(--gray);
  border-radius: 4px;
}

.video-link {
  display: block;
  text-align: center;
  padding: 0.75rem;
  background-color: var(--primary);
  color: var(--light);
  font-weight: 600;
}

.video-link:hover {
  background-color: var(--secondary);
  color: var(--light);
}

.section-footer {
  margin-top: 2.5rem;
  text-align: center;
}

/* Categories Section */
.categories {
  background-color: var(--light);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--gray);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.category-item:hover {
  transform: translateY(-5px);
  background-color: var(--primary);
  color: var(--light);
}

.category-item span {
  margin-top: 0.75rem;
  font-weight: 500;
}

/* Info Section */
.info-section {
  background-color: var(--gray);
}

.info-section .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-content {
  max-width: 700px;
}

.info-content h2 {
  text-align: left;
}

.info-content h2::after {
  left: 0;
  transform: none;
}

.feature-list {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.feature-list li {
  margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary), #1a8d87);
  color: var(--light);
  text-align: center;
}

.cta-section h2 {
  color: var(--light);
}

.cta-section h2::after {
  background-color: var(--light);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
footer {
  background-color: #222;
  color: #ddd;
  padding: 4rem 0 1rem;
}

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

.footer-brand {
  max-width: 300px;
}

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

.footer-logo span {
  color: var(--light);
  font-weight: 600;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-column h3 {
  color: var(--light);
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

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

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: #bbb;
}

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

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #999;
}

.copyright p:last-child {
  margin-bottom: 0;
}

/* Media Queries */
@media (min-width: 576px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }
  
  .hero .container {
    flex-direction: row;
    text-align: left;
  }
  
  .hero-buttons {
    justify-content: flex-start;
  }
  
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .info-section .container {
    flex-direction: row;
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .footer-brand {
    flex: 1;
  }
  
  .footer-links {
    flex: 2;
  }
}

@media (min-width: 992px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile Menu */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--light);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 99;
  }
  
  .main-nav {
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    height: 100%;
  }
  
  .main-nav li {
    width: 100%;
  }
  
  .main-nav a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
  }
  
  .main-nav.active {
    right: 0;
  }
}
