/* Ad-Venture - Basic Video Site Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

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

/* Header */
.site-header {
    background: #000;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.site-header .container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b00;
    text-decoration: none;
}

.main-nav {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.3s;
}

.main-nav a:hover {
    background: #333;
}

.search-box {
    margin-left: auto;
}

.search-box input {
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    width: 250px;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 30px 0;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 10px;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

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

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.video-thumbnail {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.video-info h3 a {
    color: #333;
    text-decoration: none;
}

.video-info h3 a:hover {
    color: #ff6b00;
}

.video-meta {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.video-stats {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
}

/* Studio/Performer Grids */
.studio-grid, .performer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.studio-card, .performer-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.studio-card:hover, .performer-card:hover {
    transform: translateY(-5px);
}

.studio-card img, .performer-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.studio-card a, .performer-card a {
    text-decoration: none;
    color: #333;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 15px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumbs a {
    color: #ff6b00;
    text-decoration: none;
}

/* Footer */
.site-footer {
    background: #222;
    color: #ccc;
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer-column h4 {
    color: #fff;
    margin-bottom: 15px;
}

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

.footer-column a {
    color: #ccc;
    text-decoration: none;
    line-height: 2;
}

.footer-column a:hover {
    color: #ff6b00;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
}

/* Film Trailer Section */
.film-trailer {
    margin: 30px 0;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.film-trailer h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.video-player {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 20px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-player video {
    width: 100%;
    height: auto;
    display: block;
}

.film-trailer .watch-button {
    text-align: center;
}

/* Gallery Preview Section */
.gallery-preview {
    margin: 30px 0;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 24px;
    margin: 0;
}

.section-header .view-all {
    color: #ff6b00;
    text-decoration: none;
    font-weight: 500;
}

.section-header .view-all:hover {
    text-decoration: underline;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
    aspect-ratio: 16/9;
}

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

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

.gallery-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    padding: 10px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover figcaption {
    opacity: 1;
}

.gallery-cta {
    text-align: center;
    margin-top: 20px;
}

/* Release Date Badges */
.release-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b00, #ff8c00);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
}

.release-badge .badge-label {
    margin-right: 8px;
}

.release-badge .badge-date {
    opacity: 0.9;
}

.movie-meta .separator {
    margin: 0 8px;
    color: #999;
}

.new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b00;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.section-header .update-notice {
    font-size: 14px;
    color: #666;
    margin: 5px 0 0 0;
    font-weight: normal;
}

/* Card Type Badges */
.card-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 10;
}

.film-badge {
    background: linear-gradient(135deg, #ff6b00, #ff8c00);
    color: #fff;
}

.performer-badge {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: #fff;
}

.studio-badge {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
}

.theme-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
}

.view-more {
    margin-top: 8px;
    font-size: 13px;
}

.view-more a {
    color: #ff6b00;
    text-decoration: none;
    font-weight: 500;
}

.view-more a:hover {
    text-decoration: underline;
}
