/*
 * pornhaven.love - Main Stylesheet
 * Blue-Orange color scheme for unique visual identity
 * Mobile responsive & SEO optimized
 */

:root {
  /* Primary colors - Blue/Orange scheme different from previous sites */
  --primary-color: #1E88E5;      /* Blue */
  --secondary-color: #FF9800;    /* Orange */
  --accent-color: #00BCD4;       /* Cyan accent */
  --dark-color: #263238;         /* Dark background */
  --light-color: #FAFAFA;        /* Light background */
  --text-color: #37474F;         /* Text color */
  --text-light: #FFFFFF;         /* Light text */
  --text-muted: #78909C;         /* Muted text */
  
  /* Gradients */
  --primary-gradient: linear-gradient(135deg, #1E88E5, #FF9800);
  --secondary-gradient: linear-gradient(135deg, #FF9800, #1E88E5);
  --dark-gradient: linear-gradient(to bottom, #263238, #1a2327);
  
  /* Font families */
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Open Sans', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--body-font);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
}

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

h2 span {
  color: var(--secondary-color);
  position: relative;
}

h2 span::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: var(--radius-sm);
}

h3 {
  font-size: 1.5rem;
}

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

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

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

ul {
  list-style: none;
}

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

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

/* Button styles */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(30, 136, 229, 0.4);
}

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

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* Header styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

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

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

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

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

nav a:hover::after, nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

/* Hero section */
.hero {
  padding: calc(70px + var(--spacing-xl)) 0 var(--spacing-xl);
  background-color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--spacing-lg);
}

.hero-content h2 {
  font-size: 3.5rem;
  text-align: left;
  margin-bottom: var(--spacing-sm);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
  max-width: 90%;
}

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

.hero-svg {
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* Features section */
.features {
  padding: var(--spacing-xl) 0;
  background-color: var(--dark-gradient);
  color: var(--text-light);
  position: relative;
}

.features h2, .features h3 {
  color: var(--text-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
}

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

.feature-card p {
  color: rgba(255, 255, 255, 0.7);
}

/* Gallery section */
.gallery {
  padding: var(--spacing-xl) 0;
  background-color: var(--light-color);
}

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

.gallery-item {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item svg {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-item h3 {
  padding: var(--spacing-sm);
  text-align: center;
  font-size: 1.2rem;
}

.gallery-cta {
  text-align: center;
  margin-top: var(--spacing-lg);
}

/* CTA section */
.cta {
  padding: var(--spacing-xl) 0;
  background: var(--primary-gradient);
  color: var(--text-light);
  text-align: center;
}

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

.cta p {
  max-width: 600px;
  margin: 0 auto var(--spacing-md);
}

.cta .btn-primary {
  background: var(--text-light);
  color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

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

.footer-logo h3 {
  color: var(--text-light);
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.footer-col h4 {
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
  font-size: 1.1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

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

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

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

/* Responsive styles */
@media (max-width: 992px) {
  html {
    font-size: 14px;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 2.8rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .footer-links {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: var(--spacing-md) 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100vh);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
  }
  
  nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    order: 2;
  }
  
  .hero-visual {
    order: 1;
    margin-bottom: var(--spacing-md);
  }
  
  .hero-content h2, .hero-content p {
    text-align: center;
    max-width: 100%;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

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

.animate-fade-in {
  animation: fadeInUp 0.5s ease forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
