/* Your Global Styles */

:root .lpx-brand-logo {
    --lpx-logo: url('/images/logo.svg');
    --lpx-logo-icon: url('/images/logo.svg');
}

/* Dark theme logo support */
[data-bs-theme="dark"] .lpx-brand-logo {
    --lpx-logo: url('/images/logo-reverse.svg');
    --lpx-logo-icon: url('/images/logo-reverse.svg');
}

/* Pedrotti Camper Park custom branding */
.navbar-brand img {
    max-height: 40px;
    width: auto;
}

.lpx-brand-logo img {
    max-height: 40px;
    width: auto;
}

/* Public Layout Styles - Dark Theme for ParkingRequest - Full Width - No Navbar */
.lpx-top-nav {
    background-color: #000000 !important;
    border-bottom: 1px solid #333333 !important;
}

.lpx-top-nav .navbar-brand {
    color: white;
    font-weight: 600;
}

.lpx-top-nav .navbar-brand:hover {
    color: #f8f9fa;
}

/* Content wrapper without navbar */
.lpx-content-wrapper {
    min-height: 100vh !important;
    padding-top: 0 !important;
    background-color: #000000 !important;
}

.lpx-footer {
    margin-top: auto;
    background-color: #1a1a1a !important;
    border-top: 1px solid #333333 !important;
    color: #ffffff !important;
}

.lpx-footer p {
    color: #ffffff !important;
}

.lpx-footer a {
    color: #28a745 !important;
}

.lpx-footer .text-muted {
    color: #999999 !important;
}

/* Public page specific styles - Full Width - No Navbar */
body.abp-application-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#lpx-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #000000 !important;
    width: 100% !important;
    min-height: 100vh !important;
}

/* Full Width Container Override */
.container-fluid {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Logo overlay styles */
.logo-overlay {
    position: absolute !important;
    top: 20px !important;
    left: 20px !important;
    z-index: 10 !important;
    background: rgba(0, 0, 0, 0.7) !important;
    padding: 15px !important;
    border-radius: 12px !important;
    backdrop-filter: blur(5px) !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.logo-overlay:hover {
    background: rgba(0, 0, 0, 0.9) !important;
    transform: scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
}

.lpx-brand-logo-overlay {
    display: inline-block !important;
    text-decoration: none !important;
}

.lpx-brand-logo-overlay:hover {
    text-decoration: none !important;
}

.logo-overlay-img {
    max-width: 200px !important;
    height: auto !important;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.2)) !important;
    transition: transform 0.3s ease !important;
}

.logo-overlay-img:hover {
    transform: scale(1.05) !important;
}

/* Logo above carousel styles - now hidden */
.lpx-brand-logo-main {
    display: inline-block !important;
    text-decoration: none !important;
}

.lpx-brand-logo-main:hover {
    text-decoration: none !important;
}

.logo-main-top {
    max-width: 300px !important;
    height: auto !important;
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.1)) !important;
    transition: transform 0.3s ease !important;
}

.logo-main-top:hover {
    transform: scale(1.05) !important;
}

/* ParkingRequest page enhancements */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(255, 255, 255, 0.075);
}

.card-title {
    color: #28a745;
    font-weight: 600;
}

.btn-primary {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-primary:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* ParkingRequest specific styles */
.logo-main {
    max-width: 350px;
    height: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.1));
}

.description-section {
    max-width: 900px;
    margin: 0 auto;
}

.features-highlight {
    padding: 2rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 15px;
    margin: 2rem 0;
}

.feature-item {
    flex: 0 0 auto;
    padding: 1rem;
}

.feature-item i {
    display: block;
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.1);
}

.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 15px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
}

/* Enhanced text styling */
.display-4 {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lead {
    font-size: 1.25rem;
    line-height: 1.6;
}

/* Language Switcher Dark Theme - Hidden with navbar */
.language-switch-dropdown {
    background-color: #1a1a1a !important;
}

.language-switch-dropdown .dropdown-menu {
    background-color: #1a1a1a !important;
    border: 1px solid #333333 !important;
}

.language-switch-dropdown .dropdown-item {
    color: #ffffff !important;
}

.language-switch-dropdown .dropdown-item:hover {
    background-color: #28a745 !important;
    color: #ffffff !important;
}

/* Full Width Carousel styles */
.carousel {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
}

.carousel-inner {
    width: 100% !important;
}

.carousel-item img {
    width: 100% !important;
    height: 650px !important;
    object-fit: cover !important;
}

/* Ensure no horizontal scroll */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Full Width Responsive design with logo overlay */
@media (max-width: 768px) {
    .logo-main {
        max-width: 250px;
    }
    
    .logo-main-top {
        max-width: 250px !important;
    }
    
    /* Logo overlay responsive */
    .logo-overlay {
        top: 15px !important;
        left: 15px !important;
        padding: 12px !important;
    }
    
    .logo-overlay-img {
        max-width: 150px !important;
    }
    
    .features-highlight {
        gap: 2rem !important;
        padding: 1.5rem 1rem;
    }
    
    .feature-item {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    /* Full width carousel mobile styles */
    .carousel-item img {
        height: 350px !important;
    }
    
    .carousel-image {
        height: 350px !important;
    }
    
    .carousel-caption {
        bottom: 10px !important;
        left: 10px !important;
        right: 10px !important;
        padding: 15px !important;
    }
    
    .carousel-title {
        font-size: 1.2rem !important;
    }
    
    .carousel-description {
        font-size: 1rem !important;
    }
    
    /* Content padding mobile */
    .col-12.px-3.px-md-4.px-lg-5 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 576px) {
    .logo-main {
        max-width: 200px;
    }
    
    .logo-main-top {
        max-width: 200px !important;
    }
    
    /* Logo overlay small mobile */
    .logo-overlay {
        top: 10px !important;
        left: 10px !important;
        padding: 10px !important;
    }
    
    .logo-overlay-img {
        max-width: 120px !important;
    }
    
    .feature-item {
        flex: 0 0 100%;
        text-align: center;
    }
    
    /* Full width carousel small mobile styles */
    .carousel-item img {
        height: 300px !important;
    }
    
    .carousel-image {
        height: 300px !important;
    }
    
    .carousel-caption {
        padding: 10px !important;
    }
    
    .carousel-title {
        font-size: 1.1rem !important;
    }
    
    .carousel-description {
        font-size: 0.9rem !important;
    }
    
    /* Content padding small mobile */
    .col-12.px-3.px-md-4.px-lg-5 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}