/* 
 * © 2025 Little Artistic Value
 * Created by Shon Little
 * Created: 2025-03-19
 */

/* ==========================================================================
   Base styles and resets
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fafafa;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  background: #1a1a1a;
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

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

.nav-logo {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a:hover {
  color: #ccc;
}

.nav-links a.active {
  color: #fff;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }

  .nav-content {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }
}

/* Add padding to main content to account for fixed navbar */
main {
  padding-top: 80px;
}

/* ==========================================================================
   Site Title
   ========================================================================== */
.site-title {
  background: #1a1a1a;
  color: #fff;
  padding: 2rem;
  text-align: center;
  margin-top: 3.5rem;
}

.site-title h1 {
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   About Company Section
   ========================================================================== */
.about-company {
  padding: 2rem;
  background: #fff;
  text-align: center;
  margin-top: 2rem;
}

.about-company-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #444;
}

.about-company p {
  line-height: 1.8;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 8rem 2rem 4rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  text-align: left;
  order: 2;
}

.hero-poster {
  position: relative;
  width: 100%;
  padding-top: 150%; /* 2:3 aspect ratio for movie poster */
  order: 1;
}

.movie-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.hero .tagline {
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 2rem;
}

.festival-badge {
  margin: 2rem 0;
  max-width: 300px;
}

.festival-laurels {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.festival-text {
  font-size: 1.1rem;
  color: #444;
  font-weight: 500;
  line-height: 1.4;
}

.hero p {
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #333;
}

/* ==========================================================================
   Characters Section
   ========================================================================== */
.characters {
  padding: 4rem 2rem;
  background: #fff;
}

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

.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.character-card {
  text-align: center;
  padding: 2rem;
  background: #f5f5f5;
  border-radius: 8px;
}

.character-card h3 {
  margin: 1rem 0;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
  padding: 4rem 2rem;
  background: #f5f5f5;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about h2 {
  text-align: center;
  margin-bottom: 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: #1a1a1a;
  color: #fff;
  padding: 2rem;
  text-align: center;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Videos Section
   ========================================================================== */
.videos {
  padding: 4rem 2rem;
  background: #fff;
}

.videos h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #1a1a1a;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.video-card {
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
}

.video-card h3 {
  padding: 1rem;
  margin: 0;
  text-align: center;
  background: #1a1a1a;
  color: #fff;
  font-size: 1.2rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   AI Tools Section
   ========================================================================== */
.ai-tools {
  padding: 4rem 2rem;
  background: #f5f5f5;
}

.ai-tools h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #1a1a1a;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.tool-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.tool-card:hover {
  transform: translateY(-5px);
}

.tool-card h3 {
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.tool-card p {
  color: #666;
  line-height: 1.4;
  font-size: 0.95rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
  padding: 4rem 2rem;
  background: #fff;
}

.contact h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #1a1a1a;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
}

.contact-info {
  padding: 2rem;
  background: #f5f5f5;
  border-radius: 8px;
}

.contact-info p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-details {
  margin-top: 2rem;
}

.contact-details p {
  margin-bottom: 1rem;
}

.contact-details a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-details a:hover {
  color: #666;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a1a1a;
}

.submit-button {
  background: #1a1a1a;
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-button:hover {
  background: #333;
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.projects {
  padding: 4rem 2rem;
  background: #fff;
}

.projects h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #1a1a1a;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.project-image {
  position: relative;
  padding-top: 75%; /* Changed from 56.25% to 75% for better portrait handling */
  overflow: hidden;
  background: #f5f5f5; /* Light background for image container */
}

.project-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Changed from cover to contain */
  object-position: center;
  padding: 1rem; /* Add some padding around the image */
}

/* Add specific handling for landscape images */
.project-card[data-orientation="landscape"] .project-image {
  padding-top: 56.25%; /* 16:9 aspect ratio for landscape */
}

.project-card[data-orientation="landscape"] .project-image img {
  object-fit: cover; /* Use cover for landscape images */
  padding: 0; /* Remove padding for landscape images */
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: #1a1a1a;
}

.project-type {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-description {
  color: #444;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.project-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}

.project-link:hover {
  background: #333;
}

.project-credits {
  font-style: italic;
  color: #666;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-text {
    text-align: center;
  }

  .festival-badge {
    margin: 2rem auto;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .tagline {
    font-size: 1.2rem;
  }

  .hero-poster {
    padding-top: 150%;
    max-width: 400px;
    margin: 0 auto;
  }

  .videos {
    padding: 3rem 1rem;
  }

  .videos h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .ai-tools {
    padding: 3rem 1rem;
  }

  .ai-tools h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .tools-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .tool-card {
    padding: 2rem;
  }

  .tool-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .tool-card p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .contact {
    padding: 3rem 1rem;
  }

  .contact h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info {
    padding: 1.5rem;
  }

  .projects {
    padding: 3rem 1rem;
  }

  .projects h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

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

  .project-card {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 1200px) {
  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
