/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    width: 100%;
    overflow-x: hidden;
    background: 
        linear-gradient(rgba(42, 42, 42, 0.85), rgba(42, 42, 42, 0.85)),
        url('../images/theatre-mask.png') fixed center/cover;
    min-height: 100vh;
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

/* ===== CONTAINERS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

#header-container {
    position: relative;
    z-index: 1000;
}

#footer-container {
    position: relative;
    z-index: 1;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #D4AF37;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #D4AF37;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #E8C95A;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #D4AF37, #B8941F);
    color: #2a2a2a;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E8C95A, #D4AF37);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #D4AF37;
    color: #D4AF37;
}

.btn-secondary:hover {
    background: #D4AF37;
    color: #2a2a2a;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* ===== HEADER STYLES ===== */
.main-header {
    background: #1a1a1a;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #3a3a3a;
    overflow: visible;
}

#main-content {
    position: relative;
    z-index: 1;
    margin-top: 70px;
}

.navbar {
    padding: 1rem 0;
    overflow: visible;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo i {
    color: #D4AF37;
    font-size: 1.8rem;
}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-weight: 500;
    padding: 8px 12px;
    position: relative;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #D4AF37;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #D4AF37;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdowns */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a1a;
    min-width: 200px;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    overflow: visible;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 16px;
    color: #ffffff;
    border-bottom: 1px solid #3a3a3a;
}

.dropdown-item:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #D4AF37;
}

.dropdown-divider {
    height: 1px;
    background: #3a3a3a;
    margin: 8px 0;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 70px);
    background: #1a1a1a;
    backdrop-filter: blur(10px);
    padding: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow: hidden;
    z-index: 999;
    border-left: 1px solid #3a3a3a;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-content {
    position: relative;
    z-index: 1001;
    padding: 15px 0;
    overflow-y: auto;
    max-height: calc(100vh - 70px);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 15px 16px;
    color: #ffffff;
    border-bottom: 1px solid #3a3a3a;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
    padding-left: 24px;
}

.mobile-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 16px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    border-bottom: 1px solid #3a3a3a;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-dropdown-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
    padding-left: 24px;
}

.mobile-dropdown-btn .fa-chevron-down {
    transition: transform 0.3s ease;
}

.mobile-dropdown-btn .fa-chevron-down.rotate {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    display: none;
    padding-left: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-left: 2px solid #D4AF37;
    margin-left: 16px;
}

.mobile-dropdown-content.show {
    display: block;
}

.mobile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 16px;
    color: #b0b0b0;
    border-bottom: 1px solid #3a3a3a;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-dropdown-item:hover {
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.1);
    padding-left: 24px;
}

.mobile-user-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #3a3a3a;
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 12px 16px;
    margin-bottom: 10px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 4px;
}

.mobile-user-info i {
    font-size: 2rem;
    color: #D4AF37;
}

.mobile-user-info div {
    flex: 1;
}

.mobile-user-info strong {
    display: block;
    color: #ffffff;
}

.mobile-user-info small {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* ===== FOOTER STYLES ===== */
.main-footer {
    background: #1a1a1a;
    padding: 60px 0 30px;
    margin-top: 60px;
    border-top: 1px solid #3a3a3a;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #D4AF37;
    padding-left: 5px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-logo i {
    color: #D4AF37;
    font-size: 2rem;
}

.footer-tagline {
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #D4AF37;
    color: #1a1a1a;
    transform: translateY(-3px);
}

.newsletter-form .form-group {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #3a3a3a;
    text-align: center;
    color: #b0b0b0;
}

.payment-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.payment-methods i {
    font-size: 1.8rem;
    color: #b0b0b0;
}

.copyright {
    margin-bottom: 10px;
}

.developed-by {
    font-size: 0.9rem;
}

.developed-by i {
    color: #ff4d4d;
    margin: 0 5px;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .container {
        overflow-x: hidden;
        max-width: 100%;
        padding: 0 15px;
    }
    
    main {
        overflow-x: hidden;
        width: 100%;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        display: none;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    body, html {
        overflow-x: hidden;
        width: 100vw;
    }
    
    .container {
        padding: 0 12px;
        overflow-x: hidden;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}