/* Base Styles */
:root {
    --primary-color: #d4af37;
    --secondary-color: #8b7355;
    --bg-dark: #1a1f2e;
    --bg-darker: #0f1419;
    --sidebar-bg: linear-gradient(180deg, #3d4a2c 0%, #d4af37 100%);
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --border-color: #2a2f3e;
    --error-color: #ff4444;
    --success-color: #4caf50;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-dark);
    display: flex;
    min-height: 100vh;
}

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

/* Sidebar Navigation */
.sidebar {
    width: 250px;
    background: var(--sidebar-bg);
    padding: 2rem 0;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.profile-header {
    text-align: center;
    padding: 0 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-color);
}

.profile-header h2 {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 600;
}

.sidebar-nav {
    flex: 1;
    padding: 2rem 0;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-item i {
    margin-right: 1rem;
    font-size: 1.1rem;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--primary-color);
}

.sidebar-footer {
    padding: 1.5rem;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Main Content */
.main-content {
    margin-left: 250px;
    flex: 1;
    padding: 0;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 3rem;
    background-color: var(--bg-dark);
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-image {
    flex: 0 0 400px;
}

.image-frame {
    position: relative;
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
}

.image-frame:hover {
    transform: rotate(0deg);
}

.image-frame img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 8px solid var(--primary-color);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.2;
}

.hero-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--bg-darker);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #f0c14b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.2s;
}

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

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #3a5bd9;
}

/* About Section */
.about-section-main {
    padding: 4rem 3rem;
    background-color: var(--bg-darker);
}

.about-section {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.about-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.about-content {
    line-height: 1.8;
}

.about-content .intro {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.about-content .nickname {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.about-content .nickname span {
    color: var(--primary-color);
    font-weight: 600;
}

.about-content .tagline {
    font-style: italic;
    color: var(--text-gray);
    font-size: 1.05rem;
}

/* Classes Section */
.classes-section-main {
    padding: 4rem 3rem;
    background-color: var(--bg-dark);
}

.classes-section {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.classes-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

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

.class-card {
    background: rgba(212, 175, 55, 0.1);
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.class-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.15);
}

.class-code {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.class-name {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Movies Section */
.movies-section-main {
    padding: 4rem 3rem;
    background-color: var(--bg-darker);
}

.movies-section {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.movies-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.movies-intro {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.movie-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    color: white;
    transition: transform 0.3s, box-shadow 0.3s;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(245, 87, 108, 0.4);
}

.movie-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.movie-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Moods Section */
.moods-section-main {
    padding: 4rem 3rem;
    background-color: var(--bg-dark);
}

.moods-section {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.moods-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.moods-container {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.mood-item {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #2d3436;
    transition: transform 0.3s, box-shadow 0.3s;
}

.mood-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(253, 203, 110, 0.5);
}

.mood-item i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

/* Products Section */
.products-section {
    padding: 4rem 3rem;
    background-color: var(--bg-darker);
}

.products-section .container {
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.products-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.product-filters {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-light);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-darker);
    border-color: var(--primary-color);
}

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

.product-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* Mobile App Section */
.mobile-app-section {
    padding: 4rem 3rem;
    background-color: var(--bg-dark);
}

.mobile-app-section .container {
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.mobile-app-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.app-showcase {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.app-info {
    flex: 1;
}

.app-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    color: var(--text-light);
    padding: 0.75rem 0;
    font-size: 1.1rem;
}

.feature-list i {
    color: var(--success-color);
    margin-right: 1rem;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-buttons .btn {
    flex: 1;
    min-width: 200px;
}

.app-preview {
    flex: 0 0 350px;
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #2a2f3e, #1a1f2e);
    border-radius: 30px;
    padding: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #444;
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    background: var(--bg-dark);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 2rem;
    max-width: 90%;
    max-height: 90vh;
    position: relative;
}

.video-modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.close-video {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1;
}

.close-video:hover {
    color: var(--primary-color);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-container video {
    border-radius: 8px;
}

/* Contact Section */
.contact-section {
    padding: 4rem 3rem;
    background-color: var(--bg-darker);
    text-align: center;
}

.contact-section .container {
    max-width: 800px;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-section p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--bg-darker);
    transform: translateY(-3px);
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 2rem;
    background-color: var(--success-color);
    color: white;
    border-radius: 4px;
    box-shadow: var(--box-shadow);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
    z-index: 1000;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Shopping Cart Styles */
.cart-summary {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-button {
    width: 100%;
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--primary-color);
    padding: 0.75rem;
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.cart-button:hover {
    background: var(--primary-color);
    color: var(--bg-darker);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--error-color);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    gap: 1rem;
}

.btn-add-cart {
    background: var(--primary-color);
    color: var(--bg-darker);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-add-cart:hover {
    background: #f0c14b;
    transform: translateY(-2px);
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.cart-modal-content {
    background: var(--bg-dark);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.cart-header h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-cart:hover {
    color: var(--primary-color);
}

.cart-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.empty-cart {
    text-align: center;
    color: var(--text-gray);
    padding: 2rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: bold;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: var(--bg-darker);
}

.qty-display {
    color: var(--text-light);
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.remove-btn {
    background: rgba(255, 68, 68, 0.2);
    border: 1px solid var(--error-color);
    color: var(--error-color);
    width: 35px;
    height: 35px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.remove-btn:hover {
    background: var(--error-color);
    color: white;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--text-light);
}

.cart-total span {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.btn-checkout {
    width: 100%;
    background: var(--primary-color);
    color: var(--bg-darker);
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.btn-checkout:hover {
    background: #f0c14b;
}

/* Checkout Form */
.checkout-summary {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.checkout-summary h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: var(--text-gray);
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    font-size: 1.25rem;
    color: var(--text-light);
}

.checkout-total span {
    color: var(--primary-color);
    font-weight: bold;
}

.btn-block {
    width: 100%;
}

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

.form-group label {
    display: block;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    color: var(--text-light);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        width: 200px;
    }
    
    .main-content {
        margin-left: 200px;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-image {
        flex: 0 0 300px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .sidebar-nav {
        display: flex;
        flex-wrap: wrap;
        padding: 1rem 0;
    }
    
    .nav-item {
        flex: 1 1 50%;
        padding: 0.75rem 1rem;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .hero-section,
    .about-section-main,
    .classes-section-main,
    .movies-section-main,
    .moods-section-main,
    .products-section,
    .contact-section {
        padding: 2rem 1.5rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-intro {
        font-size: 1rem;
    }
    
    .product-grid,
    .classes-grid {
        grid-template-columns: 1fr;
    }
    
    .movies-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}
