/* Reset and Base 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: #1a1a1a;
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 50%, #9fa8da 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

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

/* Glass Morphism Header */
.main-header {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo a {
    color: #2c3e50;
    text-decoration: none;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    color: #34495e;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #2c3e50;
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
    color: #1a252f;
}

/* Hero Section */
.hero {
    padding: 8rem 0;
    text-align: center;
    color: #2c3e50;
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.5);
    line-height: 1.2;
    color: #1a252f;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.85;
    font-weight: 400;
    color: #34495e;
}

/* Hero Banner with Image */
.hero-banner {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-banner-overlay .container {
    position: relative;
    z-index: 2;
}

.hero-banner-overlay h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    color: #fff;
}

.hero-banner-overlay p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Glass Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.25);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #2c3e50;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(31, 38, 135, 0.25);
    color: #1a252f;
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.3);
}

.btn-small {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.btn-danger {
    background: rgba(220, 53, 69, 0.3);
    border-color: rgba(220, 53, 69, 0.5);
}

.btn-danger:hover {
    background: rgba(220, 53, 69, 0.5);
}

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

.intro,
.about-content,
.contact-section,
.gallery-section,
.featured-trailers {
    color: #2c3e50;
}

.intro h2,
.about-content h2,
.featured-trailers h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(255, 255, 255, 0.5);
    color: #1a252f;
}

.intro p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    opacity: 0.9;
    color: #34495e;
}

/* Trailer Grid */
.trailer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.trailer-card {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.trailer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.25);
}

.trailer-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.trailer-card .no-image {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(44, 62, 80, 0.5);
    font-size: 1.1rem;
}

.trailer-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.4rem;
    color: #1a252f;
}

.trailer-card p {
    padding: 0 1.5rem 1.5rem;
    color: #34495e;
}

.trailer-info {
    padding: 1.5rem;
}

.trailer-info .specs {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 0.5rem;
}

.text-center {
    text-align: center;
    margin-top: 3rem;
}

/* Page Header */
.page-header {
    padding: 5rem 0 3rem;
    text-align: center;
    color: #2c3e50;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
    color: #1a252f;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    color: #34495e;
}

/* About Page */
.about-text {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #2c3e50;
}

.about-text h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #1a252f;
}

.about-text ul {
    margin-left: 2rem;
    margin-top: 1rem;
}

.about-text li {
    margin-bottom: 0.8rem;
    opacity: 0.9;
    color: #34495e;
}

/* Contact Page */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem 0;
}

.contact-info {
    color: #2c3e50;
}

.contact-info h2,
.contact-info h3 {
    margin-bottom: 1rem;
    color: #1a252f;
}

.contact-details {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

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

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #2c3e50;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(44, 62, 80, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.5);
}

.contact-form textarea {
    resize: vertical;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.alert-success {
    background: rgba(76, 175, 80, 0.4);
    color: #1a252f;
}

.alert-error {
    background: rgba(244, 67, 54, 0.4);
    color: #1a252f;
}

/* CTA Section */
.cta {
    text-align: center;
    color: #2c3e50;
    padding: 6rem 0;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(255, 255, 255, 0.5);
    color: #1a252f;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    color: #34495e;
}

/* Footer */
.main-footer {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #2c3e50;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}

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

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

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

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

.footer-section a {
    color: #34495e;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    color: #34495e;
}

.footer-bottom a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
}

/* Gallery */
.no-trailers {
    text-align: center;
    padding: 4rem;
    font-size: 1.3rem;
    color: #34495e;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.trailer-image {
    position: relative;
    overflow: hidden;
}

.trailer-image img {
    transition: transform 0.3s ease;
}

.trailer-card:hover .trailer-image img {
    transform: scale(1.05);
}

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

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

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

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

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

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

    section {
        padding: 3rem 0;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}
