/* ============================================
   ATRIUM CINEMA - MAIN STYLESHEET
   Modern Cinema Website Design 2026
   ============================================ */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --primary-black: #000000;
    --secondary-black: #1a1a1a;
    --accent-red: #e01020;
    --accent-dark-red: #b30d1a;
    --jazz-gold: #ffd700;
    
    /* Neutral Colors */
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --text-light-gray: #999999;
    --border-gray: #333333;
    
    /* Spacing */
    --header-height: 80px;
    --container-width: 1200px;
    --mobile-breakpoint: 768px;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: var(--primary-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    color: var(--accent-red);
}

/* === CONTAINER === */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* === HEADER === */
.main-header {
    background-color: var(--primary-black);
    border-bottom: 3px solid var(--accent-red);
    box-shadow: 0 4px 15px rgba(224, 16, 32, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--secondary-black);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-gray);
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    font-size: 0.9rem;
}

.contact-info {
    color: var(--text-gray);
}

.contact-info a {
    color: var(--jazz-gold);
    font-weight: bold;
}

.social-links a {
    margin-left: 15px;
    font-size: 1.2rem;
    color: var(--text-gray);
}

.social-links a:hover {
    color: var(--accent-red);
}

.header-main {
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo img {
    height: 50px;
    width: auto;
}

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

/* === NAVIGATION === */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    padding: 10px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    background-color: var(--accent-red);
    color: var(--text-white);
}

/* Mobile Menu Toggle */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--text-white);
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu {
    display: none;
    background-color: var(--secondary-black);
    border-top: 2px solid var(--accent-red);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 20px;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu a {
    display: block;
    padding: 12px 15px;
    font-size: 1.1rem;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    border-left-color: var(--accent-red);
    background-color: rgba(224, 16, 32, 0.1);
}

/* === MAIN CONTENT === */
.main-content {
    min-height: 60vh;
    padding: 40px 0;
}

/* === HERO CAROUSEL === */
.hero-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 8px 30px rgba(224, 16, 32, 0.4);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.carousel-slide.active {
    display: block;
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--accent-red);
    width: 35px;
    border-radius: 6px;
}

/* === SECTIONS === */
.section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2rem;
    color: var(--text-white);
    border-left: 5px solid var(--accent-red);
    padding-left: 20px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* === MOVIE GRID === */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.movie-card {
    background-color: var(--secondary-black);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(224, 16, 32, 0.5);
    border-color: var(--accent-red);
}

.movie-poster {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.movie-info {
    padding: 20px;
}

.movie-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-white);
}

.movie-meta {
    font-size: 0.9rem;
    color: var(--text-light-gray);
    margin-bottom: 15px;
}

.movie-rating {
    display: inline-block;
    background-color: var(--accent-red);
    color: var(--text-white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-red);
    color: var(--text-white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: var(--accent-dark-red);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(224, 16, 32, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent-red);
}

.btn-outline:hover {
    background-color: var(--accent-red);
}

/* === SCHEDULE TABLE === */
.schedule-section {
    background-color: var(--secondary-black);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-gray);
}

.schedule-table th {
    background-color: var(--accent-red);
    color: var(--text-white);
    font-weight: bold;
    text-transform: uppercase;
}

.schedule-table tr:hover {
    background-color: rgba(224, 16, 32, 0.1);
}

/* === FOOTER === */
.main-footer {
    background: linear-gradient(to bottom, var(--secondary-black), var(--primary-black));
    border-top: 3px solid var(--accent-red);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--accent-red);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

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

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-gray);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-gray);
    color: var(--text-light-gray);
    font-size: 0.9rem;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .header-top-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .carousel-container {
        height: 300px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* === UTILITIES === */
.text-center {
    text-align: center;
}

.text-red {
    color: var(--accent-red);
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}
