/*
Theme Name: Kelowna Scripts
Theme URI: https://kelownafilmstudios.com
Author: Kelowna Film Studios
Author URI: https://kelownafilmstudios.com
Description: Custom theme for script review service
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kelowna-scripts
Domain Path: /languages
*/

/* ============================================================================
   RESET & BASE STYLES
   ============================================================================ */

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
  background-color: #0a0a0a;
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

a {
  color: #d97706;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #b45309;
}

/* ============================================================================
   HEADER & NAVIGATION
   ============================================================================ */

/* Header styling moved to styles-sections.css */
.site-header {
  /* Styles defined in styles-sections.css */
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
}

.site-title a {
  color: #1a1a1a;
}

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

.main-navigation a {
  font-weight: 500;
  font-size: 0.95rem;
  color: #2a2a2a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.main-navigation a:hover {
  color: #d97706;
}

/* Dropdown Menu Styles */
.nav-dropdown {
  position: relative;
}

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

.dropdown-chevron {
  color: #FF6B35;
  font-size: 1.25rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s ease;
  line-height: 1;
}

.nav-dropdown:hover .dropdown-chevron {
  transform: rotate(90deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 0;
  padding: 0;
  min-width: 240px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  margin-top: 0;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #ffffff;
  text-transform: none;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: normal;
  transition: all 0.2s ease;
  text-align: left;
  border-bottom: 1px solid #333;
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: transparent;
  color: #FF6B35;
}

/* ============================================================================
   CONTAINER & LAYOUT
   ============================================================================ */

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

.site-content {
  min-height: calc(100vh - 200px);
}

/* ============================================================================
   HOMEPAGE HERO
   ============================================================================ */

.hero-section {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
}

.hero-section h1 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
}

.hero-section p {
  color: #e5e7eb;
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

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

/* ============================================================================
   BUTTONS
   ============================================================================ */

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background-color: #d97706;
  color: white;
}

.btn-primary:hover {
  background-color: #b45309;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(217, 119, 6, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border-color: white;
}

.btn-secondary:hover {
  background-color: white;
  color: #1f2937;
}

/* ============================================================================
   PRODUCTS SECTION
   ============================================================================ */

.products-section {
  padding: 4rem 2rem;
  background-color: #f9fafb;
}

.products-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.product-header {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: white;
  padding: 2rem;
  text-align: center;
}

.product-header h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.product-features {
  list-style: none;
  margin: 1.5rem 0;
  flex-grow: 1;
}

.product-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.product-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #d97706;
  font-weight: bold;
  font-size: 1.2rem;
}

.product-footer {
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.woocommerce-loop-product__title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.woocommerce-loop-product__link {
  text-decoration: none;
  color: #1a1a1a;
}

.product-footer .btn {
  width: 100%;
  text-align: center;
  display: block;
}

/* ============================================================================
   PAGES
   ============================================================================ */

.page-header {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: white;
  padding: 4rem 2rem;
  margin-bottom: 3rem;
}

.page-header h1 {
  color: white;
  margin: 0;
}

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

.page-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e5e7eb;
}

.page-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-content ol,
.page-content ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.page-content li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

/* FAQ Styling */
.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.faq-answer {
  color: #2a2a2a;
  line-height: 1.8;
}

/* ============================================================================
   FOOTER
   ============================================================================ */

.site-footer {
  background-color: #1f2937;
  color: #d1d5db;
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #374151;
}

.footer-section h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

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

.footer-section a {
  color: #d1d5db;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #d97706;
}

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

.footer-bottom {
  text-align: center;
  padding: 2rem 0;
  color: #9ca3af;
  font-size: 0.9rem;
}

/* ============================================================================
   CONTACT INFO IN FOOTER
   ============================================================================ */

.contact-info {
  font-size: 0.95rem;
  line-height: 1.8;
}

.contact-info p {
  margin-bottom: 0.75rem;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    gap: 1rem;
  }

  .main-navigation ul {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .main-navigation a {
    font-size: 0.85rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-section {
    padding: 3rem 1rem;
  }

  .hero-section h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .page-content {
    padding: 1rem;
  }

  .page-header {
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  .site-title {
    font-size: 1.2rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .hero-section h1 {
    font-size: 1.8rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }

  .product-price {
    font-size: 2rem;
  }

  .main-navigation ul {
    gap: 0.75rem;
  }
}

/* ============================================================================
   WOOCOMMERCE STYLES
   ============================================================================ */

.woocommerce-message,
.woocommerce-error {
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 6px;
}

.woocommerce-message {
  background-color: #d1fae5;
  color: #047857;
  border-left: 4px solid #047857;
}

.woocommerce-error {
  background-color: #fee2e2;
  color: #dc2626;
  border-left: 4px solid #dc2626;
}

.woocommerce-cart-form,
.woocommerce-checkout {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
