/* Custom CSS for Avenge Detail Studio */

:root {
    --primary-color: #8f2c98;
    --primary-dark: #6b2073;
    --neon-purple: #c44fed;
    --neon-blue: #00d4ff;
    --neon-pink: #ff0080;
    --bg-dark: #0a0a0a;
    --bg-dark-alt: #1a1a1a;
    --bg-section: #0f0f0f;
    --text-light: #ffffff;
    --text-muted: #d0d0d0;
    --border-color: #333333;
    --shadow-color: rgba(143, 44, 152, 0.4);
    --neon-glow: 0 0 20px var(--neon-purple), 0 0 40px var(--neon-purple), 0 0 60px var(--neon-purple);
}

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

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a0a2e 50%, var(--bg-dark) 100%);
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    padding-top: 70px;
}

/* Modern neon overlay effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(196, 79, 237, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 0, 128, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: floating-orbs 20s ease-in-out infinite;
}

@keyframes floating-orbs {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(196, 79, 237, 0.2);
    transition: all 0.3s ease;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.navbar-brand img {
    transition: transform 0.3s ease;
    filter: brightness(1.1);
}

.navbar-brand img:hover {
    transform: scale(1.05);
    filter: brightness(1.3) drop-shadow(0 0 10px rgba(143, 44, 152, 0.5));
}

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

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    box-shadow: var(--neon-glow);
}

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

.navbar-nav .nav-link:hover {
    color: var(--neon-purple);
    text-shadow: 0 0 10px var(--neon-purple);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #16213e 50%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(196, 79, 237, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(196, 79, 237, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    filter: brightness(1.1) contrast(1.1);
}

.hero-image img:hover {
    transform: translateY(-15px);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(196, 79, 237, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    filter: brightness(1.2) contrast(1.2);
}

.rating-badge, .hours-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-purple) 0%, var(--neon-pink) 100%);
    border: 2px solid transparent;
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(196, 79, 237, 0.4);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.btn-primary::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-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(196, 79, 237, 0.6);
    border-color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.btn-outline-light {
    border: 2px solid var(--text-light);
    color: var(--text-light);
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Sections */
section {
    padding: 4rem 0;
    position: relative;
}

/* First section (home) gets less top padding since navbar covers it */
section#home {
    padding-top: 2rem;
}

/* Navbar logo sizing */
.navbar-brand img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.bg-dark-alt {
    background: linear-gradient(135deg, var(--bg-section) 0%, #1a1a2e 50%, var(--bg-section) 100%);
    position: relative;
}

.bg-dark-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 0, 128, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(196, 79, 237, 0.2);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(196, 79, 237, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--neon-purple);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(196, 79, 237, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px rgba(196, 79, 237, 0.5));
}

/* Review Cards */
.rating-display .stars {
    font-size: 2rem;
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(143, 44, 152, 0.2);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.review-stars {
    color: #ffc107;
    font-size: 0.9rem;
}

/* Service Cards */
.service-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--neon-blue);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 212, 255, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.service-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

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

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Gallery */
.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 0, 128, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.gallery-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 0, 128, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    border-color: var(--neon-pink);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.4s ease;
    border-radius: 20px;
    filter: brightness(0.9) contrast(1.1);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(143, 44, 152, 0.85) 0%, rgba(26, 26, 26, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s ease;
    color: white;
    text-align: center;
    border-radius: 15px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h5 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.gallery-overlay p {
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Gallery Content - Always visible */
.gallery-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 26, 26, 0.9));
    color: white;
    padding: 1.5rem 1rem;
    text-align: center;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.gallery-content h5 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gallery-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.gallery-item:hover .gallery-content {
    transform: translateY(100%);
    opacity: 0;
}

/* Reviews Carousel Styling */
.reviews-carousel {
    position: relative;
    padding: 2rem 0;
}

.reviews-carousel .row {
    display: flex;
    align-items: stretch;
}

.reviews-carousel .col-lg-4,
.reviews-carousel .col-md-6 {
    display: flex;
    flex-direction: column;
}

.reviews-carousel .carousel-indicators {
    position: relative;
    margin-bottom: 2rem;
    margin-top: 0;
}

.reviews-carousel .carousel-indicators button {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(196, 79, 237, 0.5);
    margin: 0 8px;
    transition: all 0.3s ease;
}

.reviews-carousel .carousel-indicators .active {
    background: var(--neon-purple);
    border-color: var(--neon-purple);
    box-shadow: 0 0 15px rgba(196, 79, 237, 0.6);
}

.reviews-carousel .carousel-control-prev,
.reviews-carousel .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(196, 79, 237, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(196, 79, 237, 0.3);
    transition: all 0.3s ease;
}

.reviews-carousel .carousel-control-prev:hover,
.reviews-carousel .carousel-control-next:hover {
    background: rgba(196, 79, 237, 0.4);
    border-color: var(--neon-purple);
    box-shadow: 0 0 20px rgba(196, 79, 237, 0.5);
}

.reviews-carousel .carousel-control-prev {
    left: -30px;
}

.reviews-carousel .carousel-control-next {
    right: -30px;
}

.reviews-carousel .carousel-control-prev-icon,
.reviews-carousel .carousel-control-next-icon {
    width: 24px;
    height: 24px;
    filter: brightness(2);
}

/* Gallery Carousel Styling */
.gallery-carousel {
    position: relative;
    padding: 2rem 0;
}

.gallery-carousel .carousel-indicators {
    position: relative;
    margin-bottom: 2rem;
    margin-top: 0;
}

.gallery-carousel .carousel-indicators button {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(196, 79, 237, 0.5);
    margin: 0 8px;
    transition: all 0.3s ease;
}

.gallery-carousel .carousel-indicators .active {
    background: var(--neon-purple);
    border-color: var(--neon-purple);
    box-shadow: 0 0 15px rgba(196, 79, 237, 0.6);
}

.gallery-carousel .carousel-control-prev,
.gallery-carousel .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(196, 79, 237, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(196, 79, 237, 0.3);
    transition: all 0.3s ease;
}

.gallery-carousel .carousel-control-prev:hover,
.gallery-carousel .carousel-control-next:hover {
    background: rgba(196, 79, 237, 0.4);
    border-color: var(--neon-purple);
    box-shadow: 0 0 20px rgba(196, 79, 237, 0.5);
}

.gallery-carousel .carousel-control-prev {
    left: -30px;
}

.gallery-carousel .carousel-control-next {
    right: -30px;
}

.gallery-carousel .carousel-control-prev-icon,
.gallery-carousel .carousel-control-next-icon {
    width: 24px;
    height: 24px;
    filter: brightness(2);
}

/* Contact Section */
.contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

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

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

.contact-details a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-color);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    height: 100%;
}

.map-container iframe {
    height: 100% !important;
    min-height: 400px;
}

/* Social Media Icons */
.social-media-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon.facebook {
    background: linear-gradient(135deg, #1877f2, #166fe5);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

.social-icon.facebook:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.6);
    border-color: #1877f2;
}

.social-icon.instagram {
    background: linear-gradient(135deg, #e4405f, #833ab4, #fcb045);
    box-shadow: 0 4px 15px rgba(228, 64, 95, 0.4);
}

.social-icon.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.6);
    border-color: #e4405f;
}

.social-icon.google {
    background: linear-gradient(135deg, #db4437, #0f9d58, #f4b400);
    box-shadow: 0 4px 15px rgba(219, 68, 55, 0.4);
}

.social-icon.google:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(219, 68, 55, 0.6);
    border-color: #db4437;
}

.social-icon.email {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    box-shadow: 0 4px 15px rgba(196, 79, 237, 0.4);
}

.social-icon.email:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(196, 79, 237, 0.6);
    border-color: var(--neon-purple);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .hero-section .col-lg-6:first-child {
        margin-bottom: 3rem;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .feature-card,
    .service-card,
    .review-card {
        margin-bottom: 2rem;
    }
    
    .contact-item {
        text-align: center;
        flex-direction: column;
    }
    
    .social-media-icons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .btn-lg {
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .feature-card,
    .service-card,
    .review-card,
    .contact-info {
        padding: 1.5rem;
    }
    
    .gallery-item img {
        height: 250px;
    }
    
    .gallery-carousel .carousel-control-prev {
        left: -15px;
    }
    
    .gallery-carousel .carousel-control-next {
        right: -15px;
    }
    
    .gallery-carousel .carousel-control-prev,
    .gallery-carousel .carousel-control-next {
        width: 45px;
        height: 45px;
    }
    
    .reviews-carousel .carousel-control-prev {
        left: -15px;
    }
    
    .reviews-carousel .carousel-control-next {
        right: -15px;
    }
    
    .reviews-carousel .carousel-control-prev,
    .reviews-carousel .carousel-control-next {
        width: 45px;
        height: 45px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(143, 44, 152, 0.3), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Text Muted Styling */
.text-muted {
    color: var(--text-muted) !important;
    opacity: 0.9;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
