/* Pickd - Main Stylesheet */
/* Neon pink, clean white, and a bit of fun! */

:root {
  --pink-primary: #FF1493;
  --pink-hover: #E91280;
  --pink-light: #FFF0F5;
  --pink-gradient: linear-gradient(135deg, #FF1493 0%, #FF69B4 100%);
  --white: #FFFFFF;
  --black: #1A1A1A;
  --gray-light: #F5F5F5;
  --gray-medium: #888888;
  --gray-dark: #333333;
  --shadow: 0 4px 20px rgba(255, 20, 147, 0.2);
  --shadow-hover: 0 8px 30px rgba(255, 20, 147, 0.3);
  --transition: all 0.3s ease;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
}

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

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-logo {
  height: 40px;
}

.navbar-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.navbar-links a {
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: var(--transition);
}

.navbar-links a:hover {
  color: var(--pink-primary);
}

.navbar-links .btn-picker {
  background: var(--pink-primary);
  color: var(--white) !important;
  font-weight: 600;
}

.navbar-links .btn-picker:hover {
  background: var(--pink-hover);
  transform: scale(1.05);
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--pink-primary);
}

@media (max-width: 900px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  .navbar-links.active {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn:hover {
  transform: scale(1.05);
}

.btn-primary {
  background: var(--pink-primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--pink-hover);
  box-shadow: var(--shadow-hover);
}

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

.btn-secondary:hover {
  background: var(--pink-light);
}

.btn-white {
  background: var(--white);
  color: var(--pink-primary);
}

.btn-white:hover {
  background: var(--gray-light);
}

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

.btn-white-outline:hover {
  background: rgba(255,255,255,0.1);
}

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.3rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: var(--pink-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 2rem;
}

.hero-logo {
  width: 400px;
  max-width: 80%;
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 3rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .hero-tagline {
    font-size: 1.75rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Page Container */
.page-container {
  padding-top: 80px;
  min-height: 100vh;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h1 {
  color: var(--pink-primary);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--gray-medium);
  font-size: 1.2rem;
}

/* Film Grid */
.film-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}

.film-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: var(--transition);
  cursor: pointer;
}

.film-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.film-card-image {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}

.film-card-info {
  padding: 1rem;
}

.film-card-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.film-card-price {
  color: var(--pink-primary);
  font-weight: 600;
}

.film-card-tag {
  display: inline-block;
  background: var(--pink-light);
  color: var(--pink-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* Tabs */
.tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab {
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  background: var(--gray-light);
  color: var(--gray-dark);
  border: none;
}

.tab:hover, .tab.active {
  background: var(--pink-primary);
  color: var(--white);
}

/* Browse Sections */
.browse-section {
  margin-bottom: 4rem;
}

.browse-section-title {
  color: var(--pink-primary);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.browse-section-subtitle {
  color: var(--gray-medium);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Browse CTA */
.browse-cta {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--pink-light);
  border-radius: 20px;
  margin-top: 2rem;
}

.browse-cta h2 {
  color: var(--pink-primary);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.browse-cta p {
  color: var(--gray-dark);
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

/* Film Detail Page */
.film-detail {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding: 2rem 0;
}

@media (max-width: 768px) {
  .film-detail {
    grid-template-columns: 1fr;
  }
}

.film-detail-poster {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.film-detail-info h1 {
  color: var(--black);
  margin-bottom: 1.5rem;
}

.film-detail-message {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--gray-dark);
  margin-bottom: 2rem;
}

.film-detail-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.not-on-services {
  background: var(--pink-light);
  border: 2px solid var(--pink-primary);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
}

.not-on-services p {
  color: var(--pink-primary);
  font-weight: 600;
  margin: 0;
}

/* Reviews Section */
.reviews-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-light);
}

.reviews-section h3 {
  margin-bottom: 1.5rem;
}

.review-card {
  background: var(--gray-light);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.review-author {
  font-weight: 600;
}

.review-stars {
  color: #FFD700;
}

.review-text {
  color: var(--gray-dark);
}

.review-form {
  margin-top: 2rem;
}

.review-form h4 {
  margin-bottom: 1rem;
}

.review-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--gray-light);
  border-radius: 12px;
  font-size: 1rem;
  resize: vertical;
  min-height: 100px;
  margin-bottom: 1rem;
}

.review-form textarea:focus {
  outline: none;
  border-color: var(--pink-primary);
}

.star-rating {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.star-rating span {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-light);
  transition: var(--transition);
}

.star-rating span:hover,
.star-rating span.active {
  color: #FFD700;
}

/* Film of the Week */
.fotw-hero {
  background: var(--pink-gradient);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--white);
}

.fotw-hero h1 {
  margin-bottom: 1rem;
}

.fotw-content {
  padding: 3rem 2rem;
}

/* Kids Section */
.kids-hero {
  background: linear-gradient(135deg, #FF69B4 0%, #FFB6C1 100%);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--white);
}

.kids-hero h1 {
  font-size: 3rem;
}

/* About & FAQ Pages */
.text-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.text-page h1 {
  color: var(--pink-primary);
  text-align: center;
  margin-bottom: 2rem;
}

.text-page p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--gray-dark);
}

.text-page .highlight {
  color: var(--pink-primary);
  font-weight: 600;
}

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-light);
}

.faq-item h3 {
  color: var(--black);
  margin-bottom: 1rem;
}

.faq-item p {
  margin-bottom: 0;
}

/* Film Picker Styles */
.picker-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.picker-question {
  font-size: 2.5rem;
  color: var(--black);
  margin-bottom: 3rem;
  max-width: 600px;
}

@media (max-width: 768px) {
  .picker-question {
    font-size: 1.75rem;
  }
}

.picker-options {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.picker-confirmation {
  font-size: 4rem;
  color: var(--pink-primary);
  font-weight: 700;
  animation: fadeInOut 1.2s ease-in-out;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: scale(0.95); }
  20% { opacity: 1; transform: scale(1); }
  80% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.95); }
}

.picker-summary {
  background: var(--pink-primary);
  color: var(--white);
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  text-align: left;
}

.picker-summary p {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.picker-summary span {
  opacity: 0.75;
}

/* Footer */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--pink-primary);
}

.footer-copy {
  opacity: 0.6;
  font-size: 0.9rem;
}

/* Loading Spinner */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--gray-light);
  border-top-color: var(--pink-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  float: right;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-medium);
}

/* Utilities */
.text-center { text-align: center; }
.text-pink { color: var(--pink-primary); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* Hide/Show */
.hidden { display: none !important; }
