/* Reset & Basis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

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

/* Header */
.site-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 0,5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 100px;
}

/* Horizontaal Menu */
.horizontal-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.horizontal-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.horizontal-menu a:hover,
.horizontal-menu a.active {
    background-color: #e94560;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #ff6b6b;
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 60px 0;
}

.intro {
    background-color: white;
}

.intro h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1a1a2e;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

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

.btn-submit {
    width: 100%;
    background-color: #e94560;
    color: white;
    border: none;
    cursor: pointer;
}

.btn-submit:hover {
    background-color: #ff6b6b;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #1a1a2e;
    color: white;
}

tr:hover {
    background-color: #f5f5f5;
}

/* Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}

.photo-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.photo-gallery img:hover {
    transform: scale(1.05);
}

.video-gallery iframe {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: block;
}

/* Footer */
.site-footer {
    background-color: #1a1a2e;
    color: white;
    padding: 40px 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #e94560;
}

.social-links a {
    color: white;
    margin-right: 15px;
    text-decoration: none;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* Responsive */
@media (max-width: 768px) {
    .horizontal-menu ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .site-header .container {
        flex-direction: column;
        gap: 1rem;
    }
}

.video-overview {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 2.5rem;
  color: var(--text-primary, #1a1a2e);
  margin-bottom: 0.5rem;
}

.subtitle {
  color: var(--text-secondary, #666);
  font-size: 1.1rem;
}

.video-search {
  max-width: 500px;
  margin: 0 auto 3rem;
}

#videoSearch {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid var(--border-color, #eee);
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

#videoSearch:focus {
  outline: none;
  border-color: #6d4aff;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.video-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(109, 74, 255, 0.15);
}

.video-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.video-thumb-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}

.video-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(109, 74, 255, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-card:hover .play-overlay {
  opacity: 1;
}

.play-icon {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #6d4aff;
}

.duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.video-info {
  padding: 1.5rem;
}

.video-info h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.video-info h2 a {
  color: var(--text-primary, #1a1a2e);
  text-decoration: none;
  transition: color 0.2s;
}

.video-info h2 a:hover {
  color: #6d4aff;
}

.video-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary, #888);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.btn-play {
  display: inline-block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: #6d4aff;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-play:hover {
  background: #5b3adb;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-secondary, #888);
}

.empty-state code {
  display: block;
  margin-top: 1rem;
  padding: 1rem;
  background: #f5f5f5;
  border-radius: 8px;
  font-family: monospace;
}

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

  .page-header h1 {
    font-size: 1.75rem;
  }
}
