/* Pink Wish Car Rental - Creative Layout Styles */

:root {
    /* Modern Color Palette - Reduced Pink */
    --primary-pink: #e91e63;
    --accent-pink: #ff4081;
    --soft-pink: #fce4ec;
    
    /* Main Colors */
    --dark-slate: #2c3e50;
    --charcoal: #34495e;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --border-light: #e9ecef;
    
    /* Gradients */
    --nav-gradient: linear-gradient(135deg, var(--dark-slate) 0%, var(--charcoal) 100%);
    --footer-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --accent-gradient: linear-gradient(45deg, var(--primary-pink), var(--accent-pink));
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-pink: 0 4px 20px rgba(233, 30, 99, 0.15);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Header Styles */
.main-header {
    position: relative;
    z-index: 1030;
}

.navbar {
    background: var(--nav-gradient);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.navbar.sticky-top {
    border-bottom: 3px solid var(--primary-pink);
}

/* Brand Section */
.navbar-brand {
    position: relative;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.logo-wrapper {
    position: relative;
    margin-right: 1rem;
}

.navbar-logo {
    height: 50px;
    width: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--accent-gradient);
    border-radius: 14px;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
}

.navbar-brand:hover .logo-glow {
    opacity: 0.7;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 0.4; }
}

.brand-content {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}

.brand-subtext {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Navigation Links */
.navbar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.75rem 1.25rem !important;
    border-radius: 50px;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

/* Logout button styling - ensure it matches nav links */
.navbar-nav .nav-link.btn-link {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    background: transparent;
    padding: 0.75rem 1.25rem !important;
}

.navbar-nav .nav-link.btn-link:hover,
.navbar-nav .nav-link.btn-link:focus {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.15);
    text-decoration: none !important;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover::before {
    left: 100%;
}

.navbar-nav .nav-link:hover {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover .nav-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Featured Link */
.featured-link {
    background: var(--accent-gradient) !important;
    color: var(--white) !important;
    font-weight: 600;
    box-shadow: var(--shadow-pink);
}

.featured-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.3);
}

/* Admin Link */
.admin-link {
    background: linear-gradient(45deg, #ff6b35, #f7931e) !important;
    color: var(--white) !important;
}

.admin-link:hover {
    background: linear-gradient(45deg, #f7931e, #ff6b35) !important;
}

/* Navbar Toggler */
.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.5rem;
    transition: var(--transition-smooth);
}

.navbar-toggler:hover {
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.2);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Footer Styles */
.main-footer {
    background: var(--footer-gradient);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.footer-top {
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 2;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    letter-spacing: -0.02em;
}

.footer-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Footer Sections */
.footer-section {
    margin-bottom: 2rem;
}

.footer-heading {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-pink);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: var(--transition-smooth);
    color: var(--primary-pink);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--primary-pink);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    transform: scale(0);
    border-radius: 12px;
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link.facebook { color: #1877f2; }
.social-link.twitter { color: #1da1f2; }
.social-link.instagram { color: #e4405f; }
.social-link.linkedin { color: #0077b5; }

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    position: relative;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-pink);
    transition: var(--transition-smooth);
}

.footer-legal a:hover {
    color: var(--white);
}

.footer-legal a:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
    
    .navbar-logo {
        height: 40px;
    }
    
    .navbar-nav {
        margin-top: 1rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 15px;
        padding: 1.5rem;
        backdrop-filter: blur(10px);
    }
    
    .navbar-nav .nav-link {
        justify-content: center;
        margin: 0.5rem 0;
    }
    
    .footer-top {
        padding: 3rem 0 1.5rem;
        text-align: center;
    }
    
    .footer-logo-section {
        justify-content: center;
    }
    
    .contact-info {
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-legal {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .brand-subtext {
        display: none;
    }
    
    .navbar-logo {
        height: 35px;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* Smooth Animations */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus Styles for Accessibility */
.navbar-nav .nav-link:focus,
.footer-links a:focus,
.social-link:focus {
    outline: 2px solid var(--primary-pink);
    outline-offset: 2px;
    border-radius: 4px;
}

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

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

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

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