/* Gorilla Army LMS - Custom Styles */

/* Color Variables based on logo */
:root {
    --primary-dark: #1a1f3a;
    --primary-blue: #2d4a7a;
    --secondary-blue: #4a6fa5;
    --accent-neon: #ff3d71;
    --accent-pink: #ff6b9d;
    --text-light: #ffffff;
    --text-muted: #b8c5d6;
    --background-dark: #0f1419;
    --card-bg: rgba(45, 74, 122, 0.1);
    --border-color: rgba(255, 61, 113, 0.2);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.text-neon {
    color: var(--accent-neon);
    text-shadow: 0 0 10px rgba(255, 61, 113, 0.5);
}

/* Navigation */
.navbar {
    background: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-light) !important;
    text-decoration: none;
}

.brand-text {
    background: linear-gradient(45deg, var(--accent-neon), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-neon) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-neon);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Buttons */
.btn-neon {
    background: linear-gradient(45deg, var(--accent-neon), var(--accent-pink));
    border: none;
    color: var(--text-light);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-neon:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 61, 113, 0.4);
    color: var(--text-light);
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-neon:hover::before {
    left: 100%;
}

.btn-outline-light {
    border: 2px solid var(--text-light);
    color: var(--text-light);
    background: transparent;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25d366;
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--primary-dark) 50%, var(--primary-blue) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,61,113,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    margin-bottom: 3rem;
}

.hero-stats {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-neon);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    background: rgba(255, 61, 113, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 4rem;
    color: var(--accent-neon);
    margin-bottom: 1rem;
}

.floating-card span {
    display: block;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Features Section */
.features-section {
    background: var(--primary-dark);
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 61, 113, 0.2);
    border-color: var(--accent-neon);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--accent-neon), var(--accent-pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 61, 113, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--background-dark);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-brand img {
    filter: brightness(1.2);
}

.footer-title {
    color: var(--accent-neon);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-neon);
}

.footer-divider {
    border-color: var(--border-color);
    margin: 2rem 0 1rem;
}

.footer-copyright {
    color: var(--text-muted);
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
}

/* Form Styles */
.form-control {
    background: rgba(45, 74, 122, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-light);
    padding: 0.75rem 1rem;
}

.form-control:focus {
    background: rgba(45, 74, 122, 0.2);
    border-color: var(--accent-neon);
    box-shadow: 0 0 0 0.2rem rgba(255, 61, 113, 0.25);
    color: var(--text-light);
}

.form-control::placeholder {
    color: var(--text-muted);
}

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

/* Card Styles */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-light);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
}

.card-body {
    padding: 2rem;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 61, 113, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-neon);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Utility Classes */
.bg-gradient {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
}

.text-gradient {
    background: linear-gradient(45deg, var(--accent-neon), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-neon {
    border-color: var(--accent-neon) !important;
}

.shadow-neon {
    box-shadow: 0 0 20px rgba(255, 61, 113, 0.3);
}



/* Course Detail Page Styles */
.course-detail-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 120px 0 80px;
    min-height: 70vh;
}

.course-preview-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.video-preview {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: #ff6b9d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.course-meta .badge {
    font-size: 0.9rem;
    padding: 8px 12px;
}

.course-price {
    display: flex;
    align-items: center;
}

.section-title {
    color: #1a1a2e;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, #ff6b9d, #4ecdc4);
    border-radius: 2px;
}

.learning-objectives {
    list-style: none;
    padding: 0;
}

.learning-objectives li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.learning-objectives li:last-child {
    border-bottom: none;
}

.curriculum-accordion .accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 10px !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.curriculum-accordion .accordion-button {
    background: #f8f9fa;
    border: none;
    padding: 20px;
    font-weight: 600;
}

.curriculum-accordion .accordion-button:not(.collapsed) {
    background: #1a1a2e;
    color: white;
}

.module-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.module-title {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.module-meta {
    font-size: 0.9rem;
    color: #666;
}

.lesson-list {
    padding: 0;
}

.lesson-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.lesson-item:last-child {
    border-bottom: none;
}

.lesson-title {
    flex: 1;
    margin-left: 10px;
}

.lesson-duration {
    color: #666;
    font-size: 0.9rem;
}

.instructor-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #e0e0e0;
}

.instructor-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.instructor-name {
    color: #1a1a2e;
    font-weight: 700;
    margin-bottom: 5px;
}

.instructor-title {
    color: #ff6b9d;
    font-weight: 600;
    margin-bottom: 15px;
}

.instructor-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item {
    color: #666;
    font-size: 0.9rem;
}

.reviews-summary {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #e0e0e0;
}

.rating-display {
    text-align: center;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a2e;
    display: block;
}

.stars {
    font-size: 1.5rem;
    margin: 10px 0;
}

.rating-breakdown {
    padding-left: 20px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.rating-bar span:first-child {
    min-width: 60px;
    font-size: 0.9rem;
}

.rating-bar .progress {
    flex: 1;
    height: 8px;
}

.rating-bar span:last-child {
    min-width: 40px;
    text-align: right;
    font-size: 0.9rem;
}

.review-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

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

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-name {
    margin: 0;
    font-weight: 600;
    color: #1a1a2e;
}

.review-rating {
    font-size: 0.9rem;
}

.review-date {
    color: #666;
    font-size: 0.9rem;
}

.review-text {
    margin: 0;
    line-height: 1.6;
}

/* Sidebar Styles */
.course-sidebar .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.enrollment-card,
.features-card,
.related-courses-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.enrollment-card .card-header,
.features-card .card-header,
.related-courses-card .card-header {
    background: #1a1a2e;
    color: white;
    padding: 20px;
    border-bottom: none;
}

.enrollment-card .card-body,
.features-card .card-body,
.related-courses-card .card-body {
    padding: 25px;
}

.price-display {
    text-align: center;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
}

.original-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

.discount-badge {
    background: #ff6b9d;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 10px;
}

.includes-list {
    list-style: none;
    padding: 0;
}

.includes-list li {
    padding: 8px 0;
    color: #666;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item i {
    font-size: 1.2rem;
    width: 20px;
}

.feature-item div {
    display: flex;
    flex-direction: column;
}

.feature-item strong {
    color: #1a1a2e;
    margin-bottom: 2px;
}

.feature-item span {
    color: #666;
    font-size: 0.9rem;
}

.related-course-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.related-course-item:last-child {
    border-bottom: none;
}

.related-course-item img {
    border-radius: 8px;
    object-fit: cover;
}

.related-course-item h6 {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    color: #1a1a2e;
}

.related-course-item .price {
    color: #ff6b9d;
    font-weight: 600;
}

/* Course Detail Responsive Design */
@media (max-width: 768px) {
    .course-detail-hero {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .course-meta {
        justify-content: center;
    }
    
    .course-meta .badge {
        margin-bottom: 10px;
    }
    
    .instructor-stats {
        justify-content: center;
    }
    
    .rating-breakdown {
        padding-left: 0;
        margin-top: 20px;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .current-price {
        font-size: 2rem;
    }
    
    .course-sidebar {
        margin-top: 40px;
    }
}

