/*
Theme Name: Canoa Filmes
Theme URI: https://canoafilmes.com.br
Description: Tema profissional para produtora de vídeo com design minimalista escuro
Version: 1.0.0
Author: Canoa Filmes
Author URI: https://canoafilmes.com.br
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: canoa-filmes
Domain Path: /languages
*/

:root {
  --primary: #009DB5;
  --primary-foreground: #FFFFFF;
  --background: #0A0A0A;
  --foreground: #F4EFE6;
  --card: #121212;
  --card-foreground: #F4EFE6;
  --secondary: #1A1A1A;
  --secondary-foreground: #F4EFE6;
  --muted: #2A2A2A;
  --muted-foreground: #8B8B8B;
  --accent: #009DB5;
  --accent-foreground: #FFFFFF;
  --border: #2A2A2A;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  line-height: 1.2;
}

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

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

a:hover {
  opacity: 0.8;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
}

.header-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo img {
  height: 40px;
  width: auto;
}

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

.main-navigation a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(244, 239, 230, 0.8);
}

.main-navigation a:hover {
  color: var(--accent);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--background);
  margin-top: 64px;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-icon {
  position: absolute;
  top: 100px;
  right: 30px;
  width: 48px;
  height: 48px;
  opacity: 0.8;
  z-index: 10;
}

/* Sections */
section {
  padding: 6rem 0;
}

.section-header {
  margin-bottom: 4rem;
}

.section-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-number::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.section-header p {
  color: rgba(244, 239, 230, 0.6);
  font-size: 1.125rem;
  max-width: 40rem;
  margin-top: 1rem;
}

/* Portfolio */
#portfolio {
  background: var(--background);
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.portfolio-filters button {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  border-radius: 0.25rem;
  background: rgba(26, 26, 26, 0.5);
  color: rgba(244, 239, 230, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
}

.portfolio-filters button:hover,
.portfolio-filters button.active {
  background: var(--accent);
  color: var(--accent-foreground);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.25rem;
  cursor: pointer;
  group: 'portfolio';
}

.portfolio-item-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--secondary);
}

.portfolio-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-item-image img {
  transform: scale(1.05);
}

.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-item-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.6);
}

.play-button {
  width: 64px;
  height: 64px;
  background: rgba(0, 157, 181, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.portfolio-item-info {
  padding: 1rem 0;
}

.portfolio-item-category {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.portfolio-item-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  transition: color 0.3s ease;
}

.portfolio-item:hover .portfolio-item-title {
  color: var(--accent);
}

/* About */
#about {
  background: var(--background);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: rgba(244, 239, 230, 0.8);
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Services */
#services {
  background: var(--background);
}

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

.service-card {
  padding: 2rem;
  background: var(--card);
  border-radius: 0.25rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--foreground);
}

.service-card p {
  color: rgba(244, 239, 230, 0.7);
  font-size: 0.95rem;
}

/* Contact */
#contact {
  background: var(--background);
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  color: var(--foreground);
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-button {
  padding: 0.75rem 2rem;
  background: var(--accent);
  color: var(--accent-foreground);
  border: none;
  border-radius: 0.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.submit-button:hover {
  opacity: 0.9;
}

/* Footer */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1rem;
  margin-top: 3rem;
}

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

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

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

.footer-section a {
  color: rgba(244, 239, 230, 0.7);
  font-size: 0.875rem;
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .main-navigation ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  section {
    padding: 3rem 0;
  }
}

/* Divider */
.divider-line {
  height: 1px;
  background: var(--border);
  margin: 3rem 0;
}

/* Utilities */
.transition-smooth {
  transition: all 0.5s ease-out;
}
