/* 
 * styles.css for pornjoy.love 
 * Featuring a unique red-dark theme with responsive design
 */

:root {
  --primary: #e74c3c;
  --secondary: #2c3e50;
  --dark: #1a1a1a;
  --light: #ffffff;
  --gray: #f5f5f5;
  --text: #333333;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: #0a0a0a;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* Header Styles */
header {
  background-color: var(--dark);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

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

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

h1 {
  color: var(--light);
  font-size: 1.8rem;
  font-weight: 700;
}

h1 span {
  color: var(--primary);
  font-weight: 400;
}

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

.menu {
  display: flex;
  gap: 20px;
}

.menu li a {
  color: var(--light);
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.3s;
}

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

.menu li a.premium {
  background-color: var(--primary);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
}

.menu li a.premium:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--light);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: var(--gradient);
  text-align: center;
  padding: 100px 0;
  color: var(--light);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background: var(--light);
  color: var(--primary);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
section {
  padding: 60px 0;
  background-color: #0f0f0f;
  color: var(--light);
}

section:nth-child(even) {
  background-color: #151515;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
  color: var(--light);
  position: relative;
}

section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gradient);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Video Grid Styles */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

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

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

.thumbnail {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background: var(--gradient);
  position: relative;
}

.thumbnail::after {
  content: '▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: white;
  opacity: 0.8;
}

.video-card h3 {
  font-size: 1rem;
  padding: 15px 15px 5px;
  color: var(--light);
}

.video-card p {
  font-size: 0.9rem;
  padding: 0 15px 15px;
  color: #aaa;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.category {
  background: var(--gradient);
  color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.category:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* CTA Section */
.cta-section {
  background: var(--gradient);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  font-size: 2.2rem;
}

.cta-section h2::after {
  background: white;
  opacity: 0.5;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: #aaa;
  padding: 50px 0 20px;
}

footer .container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo p {
  color: var(--light);
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 15px;
}

.footer-logo span {
  color: var(--primary);
  font-weight: 400;
}

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

.footer-links h3 {
  color: var(--light);
  margin-bottom: 15px;
  font-size: 1.2rem;
  position: relative;
}

.footer-links h3::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: var(--primary);
  margin-top: 8px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #aaa;
}

.footer-links ul li a:hover {
  color: var(--light);
}

.copyright {
  margin-top: 40px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  header .container {
    position: relative;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--dark);
    padding: 20px;
    gap: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  footer .container {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.5rem;
  }
  
  section h2 {
    font-size: 1.8rem;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .cta-button {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  .video-grid, .category-grid {
    grid-template-columns: 1fr;
  }
}
