/* ============================================
   VORTEX ENTERTAINMENT - Custom CSS
   Color Scheme Based on Hero Image
   ============================================ */

/* === CSS VARIABLES === */
:root {
    /* Dark Colors (Backgrounds) */
    --primary-dark: #0b0819;
    --secondary-dark: #141220;
    --tertiary-dark: #191725;
    --nav-bg: rgba(11, 8, 25, 0.95);

    /* Accent Colors (Energetic & Fun!) */
    --accent-primary: #fd097b;
    --accent-secondary: #47e6e9;
    --accent-tertiary: #63818b;
    --accent-gradient: linear-gradient(135deg, #fd097b 0%, #47e6e9 100%);

    /* Light Colors (Text & Highlights) */
    --text-primary: #fefefe;
    --text-secondary: #fcfdf8;
    --text-muted: #e0e0e0;

    /* Gradients */
    --hero-gradient: linear-gradient(135deg, rgba(11, 8, 25, 0.85) 0%, rgba(253, 9, 123, 0.3) 100%);
    --card-gradient: linear-gradient(145deg, rgba(20, 18, 32, 0.9) 0%, rgba(11, 8, 25, 0.95) 100%);

    /* Spacing */
    --section-padding: 100px 0;
}

/* === GLOBAL STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* === UTILITY CLASSES === */
.accent-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.title-divider {
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    margin: 1.5rem 0;
    border-radius: 2px;
    position: relative;
}

.title-divider::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent-secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-secondary);
}

/* === NAVIGATION === */
.navbar {
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid rgba(253, 9, 123, 0.2);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(11, 8, 25, 0.98);
    box-shadow: 0 5px 30px rgba(253, 9, 123, 0.2);
}

.navbar-brand {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand i {
    color: var(--accent-secondary);
    animation: spin 3s linear infinite;
}

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

.nav-link {
    color: var(--text-primary) !important;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    margin: 0 0.3rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--accent-gradient);
    transition: transform 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-link:hover {
    color: var(--accent-secondary) !important;
}

.navbar-toggler {
    border: 2px solid var(--accent-secondary);
    padding: 0.5rem 0.8rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(71, 230, 233, 0.25);
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../assets/images/hero.jpg') center center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-gradient);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: 3px;
}

.hero-title .line-1 {
    display: block;
    font-size: 1.8rem;
    color: var(--accent-secondary);
    letter-spacing: 8px;
    margin-bottom: 0.3rem;
    text-shadow:
        0 0 10px rgba(71, 230, 233, 0.8),
        0 0 20px rgba(71, 230, 233, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.9);
    font-weight: 700;
}

.hero-title .line-2 {
    display: block;
    font-size: 4.5rem;
    margin-bottom: 0.3rem;
    color: #ffffff;
    /*text-shadow:
        0 0 30px rgba(255, 255, 255, 0.6),
        0 0 60px rgba(253, 9, 123, 0.4),
        4px 4px 8px rgba(0, 0, 0, 0.8);*/
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #ffd1e8 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 30px rgba(253, 9, 123, 0.4));
}

.hero-title .line-3 {
    display: block;
    font-size: 2.8rem;
    color: var(--accent-primary);
    text-shadow:
        0 0 20px rgba(253, 9, 123, 0.9),
        0 0 40px rgba(253, 9, 123, 0.6),
        3px 3px 6px rgba(0, 0, 0, 0.9);
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    letter-spacing: 2px;
    text-shadow:
        3px 3px 6px rgba(0, 0, 0, 0.95),
        0 0 25px rgba(0, 0, 0, 0.85),
        0 0 40px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient);
    border: none;
    color: var(--text-primary);
    box-shadow: 0 5px 30px rgba(253, 9, 123, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(253, 9, 123, 0.6);
    color: var(--text-primary);
}

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

.btn-outline-light:hover {
    background: var(--accent-secondary);
    color: var(--primary-dark);
    border-color: var(--accent-secondary);
}

/* Pulse Animation */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 30px rgba(253, 9, 123, 0.4);
    }
    50% {
        box-shadow: 0 5px 50px rgba(253, 9, 123, 0.8);
    }
}

.hero-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    color: var(--primary-dark);
    transform: translateY(-5px) scale(1.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-size: 2rem;
    color: var(--accent-secondary);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* === SECTIONS === */
section {
    position: relative;
}

.about-section {
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(253, 9, 123, 0.3);
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

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

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(11, 8, 25, 0.9));
}

.overlay-content {
    font-size: 3rem;
    color: var(--accent-secondary);
    animation: spin 10s linear infinite;
}

.feature-box {
    padding: 1.5rem;
    background: var(--card-gradient);
    border-radius: 15px;
    border: 1px solid rgba(253, 9, 123, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 40px rgba(253, 9, 123, 0.3);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--accent-secondary);
    margin-bottom: 1rem;
}

.feature-box h4 {
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

/* === SERVICES SECTION === */
.services-section {
    background: var(--secondary-dark);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent-gradient);
}

.service-card {
    background: var(--card-gradient);
    border-radius: 20px;
    padding: 2.5rem;
    border: 2px solid rgba(253, 9, 123, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 60px rgba(253, 9, 123, 0.4);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card.featured {
    border-color: var(--accent-secondary);
    box-shadow: 0 10px 40px rgba(71, 230, 233, 0.3);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-gradient);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: var(--text-primary);
}

.service-card h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-muted);
}

.service-features i {
    color: var(--accent-secondary);
    margin-right: 0.5rem;
}

/* === GALLERY SECTION === */
.gallery-section {
    background: var(--primary-dark);
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    padding-bottom: 100%;
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-item.large {
    padding-bottom: 80%;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 0.7;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(253, 9, 123, 0.4);
}

.gallery-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 2;
    font-size: 3rem;
    color: var(--text-primary);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translate(-50%, -50%) scale(1);
}

/* === TESTIMONIALS SECTION === */
.testimonials-section {
    background: linear-gradient(180deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
}

.testimonial-card {
    background: var(--card-gradient);
    border-radius: 20px;
    padding: 2.5rem;
    border: 2px solid rgba(71, 230, 233, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-secondary);
    box-shadow: 0 15px 50px rgba(71, 230, 233, 0.3);
}

.testimonial-stars {
    margin-bottom: 1.5rem;
    color: #FFD700;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-primary);
}

.author-info h5 {
    margin-bottom: 0;
    color: var(--accent-primary);
}

.author-info p {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* === CONTACT SECTION === */
.contact-section {
    background: var(--secondary-dark);
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--card-gradient);
    border-radius: 15px;
    border: 1px solid rgba(253, 9, 123, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(253, 9, 123, 0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-primary);
    flex-shrink: 0;
}

.contact-details h5 {
    margin-bottom: 0.5rem;
    color: var(--accent-secondary);
}

.contact-details p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--card-gradient);
    border: 2px solid rgba(71, 230, 233, 0.3);
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    transform: translateY(-3px);
    color: var(--text-primary);
}

.contact-form-wrapper {
    background: var(--card-gradient);
    border-radius: 20px;
    padding: 2.5rem;
    border: 2px solid rgba(253, 9, 123, 0.2);
    box-shadow: 0 20px 60px rgba(253, 9, 123, 0.2);
}

.form-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--accent-primary);
}

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

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(253, 9, 123, 0.2);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-secondary);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.2rem rgba(71, 230, 233, 0.25);
}

.form-control::placeholder {
    color: rgba(254, 254, 254, 0.4);
}

.form-select option {
    background: var(--primary-dark);
    color: var(--text-primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* === FOOTER === */
.footer {
    background: var(--primary-dark);
    padding: 4rem 0 2rem;
    border-top: 2px solid rgba(253, 9, 123, 0.3);
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer p {
    color: var(--text-muted);
}

.footer h5 {
    color: var(--accent-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

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

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

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

.footer-links a:hover {
    color: var(--accent-primary);
    padding-left: 10px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    transform: translateY(-5px);
}

.footer-contact {
    color: var(--text-muted);
    margin-top: 1rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* === BACK TO TOP BUTTON === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 30px rgba(253, 9, 123, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(253, 9, 123, 0.6);
}

/* === ANIMATIONS === */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-slide-up {
    animation: slideUp 1s ease-out;
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-title .line-1 {
        font-size: 1.5rem;
    }

    .hero-title .line-2 {
        font-size: 2rem;
    }

    .hero-title .line-3 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .navbar-collapse {
        background: var(--nav-bg);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }

    .nav-link {
        padding: 0.8rem 1rem !important;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .service-card,
    .testimonial-card {
        margin-bottom: 2rem;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-title .line-1 {
        font-size: 1.2rem;
    }

    .hero-title .line-2 {
        font-size: 1.5rem;
    }

    .hero-title .line-3 {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .about-image {
        margin-bottom: 2rem;
    }

    .navbar-brand {
        font-size: 1.0rem !important;
    }

    .social-btn {
        width: 100%;
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 575px) {
    .service-card,
    .testimonial-card,
    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-bottom .row {
        text-align: center;
    }

    .footer-bottom .col-md-6 {
        margin-bottom: 0.5rem;
    }
}
