/* THE MIRROR UNISEX SALON - Theme System */

:root {
    /* Default Theme: Neon Blue */
    --primary-color: #00d4ff;
    --primary-dark: #0099cc;
    --secondary-color: #1a1a2e;
    --secondary-light: #16213e;
    --accent-color: #ff006e;
    --accent-light: #ff4d8f;
    --text-color: #ffffff;
    --text-muted: #b0b0b0;
    --bg-color: #0f0f1e;
    --bg-light: #1a1a2e;
    --border-color: #2a2a3e;
    --success-color: #00d084;
    --warning-color: #ffa500;
    --danger-color: #ff006e;
    --info-color: #00d4ff;
}

/* Neon Blue Theme */
[data-theme="neon-blue"] {
    --primary-color: #00d4ff;
    --primary-dark: #0099cc;
    --secondary-color: #1a1a2e;
    --secondary-light: #16213e;
    --accent-color: #ff006e;
    --accent-light: #ff4d8f;
    --text-color: #ffffff;
    --text-muted: #b0b0b0;
    --bg-color: #0f0f1e;
    --bg-light: #1a1a2e;
    --border-color: #2a2a3e;
}

/* Midnight Black Theme */
[data-theme="midnight-black"] {
    --primary-color: #c0c0c0;
    --primary-dark: #a0a0a0;
    --secondary-color: #1a1a1a;
    --secondary-light: #2a2a2a;
    --accent-color: #ffd700;
    --accent-light: #ffed4e;
    --text-color: #ffffff;
    --text-muted: #808080;
    --bg-color: #0a0a0a;
    --bg-light: #1a1a1a;
    --border-color: #333333;
}

/* Solar Orange Theme */
[data-theme="solar-orange"] {
    --primary-color: #ff6b35;
    --primary-dark: #d94e1f;
    --secondary-color: #1a1a1a;
    --secondary-light: #2a2a2a;
    --accent-color: #ffd700;
    --accent-light: #ffed4e;
    --text-color: #ffffff;
    --text-muted: #b0b0b0;
    --bg-color: #0f0f0f;
    --bg-light: #1a1a1a;
    --border-color: #333333;
}

/* Pastel Mint Theme */
[data-theme="pastel-mint"] {
    --primary-color: #a8e6cf;
    --primary-dark: #7fd9b8;
    --secondary-color: #2a4d3e;
    --secondary-light: #3d6b56;
    --accent-color: #ff8b94;
    --accent-light: #ffb3ba;
    --text-color: #ffffff;
    --text-muted: #b0d4c8;
    --bg-color: #1a2f26;
    --bg-light: #2a4d3e;
    --border-color: #3d6b56;
}

/* UltraGlass Theme (Glassmorphism) */
[data-theme="ultra-glass"] {
    --primary-color: rgba(255, 255, 255, 0.8);
    --primary-dark: rgba(255, 255, 255, 0.6);
    --secondary-color: rgba(30, 30, 50, 0.7);
    --secondary-light: rgba(50, 50, 80, 0.7);
    --accent-color: #00d4ff;
    --accent-light: #00e6ff;
    --text-color: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --bg-color: rgba(15, 15, 30, 0.8);
    --bg-light: rgba(26, 26, 46, 0.8);
    --border-color: rgba(100, 100, 150, 0.3);
}

/* Global Styles */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
}

/* Header Styles */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    font-size: 2rem;
}

.brand-text {
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--primary-color);
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem !important;
}

.nav-link-sm {
    font-size: 0.85rem !important;
    padding: 0.4rem 0.6rem !important;
    font-weight: 600;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown-menu {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%) !important;
    border: 2px solid var(--primary-color) !important;
    border-radius: 10px !important;
    padding: 0.8rem 0 !important;
    min-width: 220px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
    animation: slideDown 0.3s ease !important;
    display: none !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 1000 !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    color: var(--text-color) !important;
    font-size: 0.9rem !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.3s ease !important;
    border-left: 3px solid transparent !important;
    font-weight: 500;
}

.dropdown-item:hover {
    background: rgba(0, 212, 255, 0.15) !important;
    color: var(--primary-color) !important;
    padding-left: 2rem !important;
    border-left-color: var(--primary-color) !important;
}

.dropdown-item:active {
    background: rgba(0, 212, 255, 0.25) !important;
}

/* Mega Menu */
.mega-menu {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 2rem;
    min-width: 800px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
    animation: slideDown 0.3s ease;
    display: none !important;
    grid-template-columns: 1fr;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 1000 !important;
}

.mega-menu .container-fluid {
    display: grid;
}

.mega-menu .row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mega-menu .col-md-3 {
    display: flex;
    flex-direction: column;
}

.mega-menu .col-md-6 {
    grid-column: 1 / -1;
}

.mega-menu h6 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 0.8rem;
}

.mega-menu h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.mega-menu ul li {
    margin-bottom: 0.8rem;
    list-style: none;
}

.mega-menu a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: block;
    padding: 0.5rem 0;
    border-left: 3px solid transparent;
    padding-left: 0.5rem;
}

.mega-menu a:hover {
    color: var(--primary-color);
    padding-left: 1rem;
    border-left-color: var(--primary-color);
}

/* Dropdown Show on Hover */
.nav-item.dropdown:hover > .dropdown-menu {
    display: flex !important;
    animation: slideDown 0.3s ease;
}

.nav-item.dropdown:hover > .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Header Icons */
.header-icons {
    display: flex;
    gap: 1rem;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.3rem;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease, color 0.3s ease;
}

.icon-btn:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Theme Modal */
.theme-modal {
    background: var(--secondary-light);
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.theme-modal .modal-header {
    border-bottom: 1px solid var(--border-color);
}

.theme-modal .btn-close {
    filter: brightness(0) invert(1);
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
}

.theme-option {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.theme-option:hover {
    transform: scale(1.05);
}

.theme-preview {
    width: 100%;
    height: 80px;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.theme-option:hover .theme-preview {
    border-color: var(--primary-color);
}

.theme-preview.neon-blue {
    background: linear-gradient(135deg, #00d4ff 0%, #ff006e 100%);
}

.theme-preview.midnight-black {
    background: linear-gradient(135deg, #c0c0c0 0%, #ffd700 100%);
}

.theme-preview.solar-orange {
    background: linear-gradient(135deg, #ff6b35 0%, #ffd700 100%);
}

.theme-preview.pastel-mint {
    background: linear-gradient(135deg, #a8e6cf 0%, #ff8b94 100%);
}

.theme-preview.ultra-glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, #00d4ff 100%);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: var(--text-color);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.hours-list {
    font-size: 0.9rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    color: var(--primary-color);
    min-width: 20px;
}

.newsletter-form {
    margin-bottom: 1rem;
}

.newsletter-form .input-group {
    border-radius: 5px;
    overflow: hidden;
}

.newsletter-form input {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form .btn {
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
    font-weight: 600;
}

.newsletter-form .btn:hover {
    background: var(--primary-dark);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--secondary-light);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border: none;
    color: var(--bg-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: var(--secondary-light);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--border-color);
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--bg-color);
}

/* Cards */
.card {
    background: var(--secondary-light);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* Forms */
.form-control {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-control:focus {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--text-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    color: var(--text-color);
    font-weight: 500;
}

/* Badges */
.badge {
    background: var(--primary-color);
    color: var(--bg-color);
    font-weight: 600;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .mega-menu {
        min-width: auto;
        padding: 1rem;
    }
    
    .theme-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 1rem;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}
