/* assets/css/style.css - Main Stylesheet for BarberBooking */
/* header php ka css start //
/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding-top: 0; /* Ensure no extra padding */
    margin-top: 0; /* Ensure no extra margin */
}

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Logo Styles */
.logo {
    flex-shrink: 0;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.logo a:hover {
    transform: scale(1.02);
}

.logo-icon {
    font-size: 2rem;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.logo-text {
    color: #2c3e50;
}

.logo-highlight {
    color: #e74c3c;
}

/* Navigation Menu */
.main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.nav-link span {
    transition: transform 0.3s ease;
}

.nav-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.nav-link:hover i {
    transform: scale(1.1);
}

.nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #e74c3c;
    border-radius: 2px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #2c3e50;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 0.8rem 1.5rem;
    }
    
    .logo a {
        font-size: 1.4rem;
    }
    
    .logo-icon {
        font-size: 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
        padding-top: 80px;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem;
    }
    
    .nav-link {
        padding: 0.8rem 1.2rem;
        justify-content: flex-start;
        border-radius: 12px;
        font-size: 0.95rem;
    }
    
    .nav-link i {
        font-size: 1.1rem;
        width: 25px;
    }
    
    /* Overlay when mobile menu is open */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        display: none;
    }
    
    .menu-overlay.active {
        display: block;
    }
    
    .main-content {
        padding: 1.5rem;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .header-container {
        padding: 0.8rem 2rem;
    }
    
    .nav-link {
        padding: 0.6rem 1rem;
        gap: 0.4rem;
    }
    
    .nav-link span {
        font-size: 0.9rem;
    }
    
    .main-content {
        padding: 1.5rem;
    }
}

/* Desktop Hover Effects */
@media (min-width: 769px) {
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 50%;
        width: 0;
        height: 3px;
        background: #e74c3c;
        border-radius: 2px;
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }
    
    .nav-link:hover::after {
        width: 30px;
    }
}

/* Animation for active page */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-link.active {
    animation: slideIn 0.3s ease;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles for accessibility */
.nav-link:focus-visible {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}

.mobile-menu-toggle:focus-visible {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}

/* End Header php css //
/* Footer CSS Start //
/* Footer Styles - Add this to your existing style.css */

.main-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    margin-top: 3rem;
    position: relative;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem 0;
}

/* Footer Top Section */
.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Sections */
.footer-section {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo-icon {
    font-size: 1.8rem;
    animation: bounce 2s ease-in-out infinite;
}

.footer-logo-text {
    color: #ffffff;
}

.footer-logo-highlight {
    color: #e74c3c;
}

.footer-description {
    color: #b8b8b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.social-link i {
    font-size: 1.1rem;
}

/* Footer Titles */
.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Footer Links */
.footer-links,
.contact-info {
    list-style: none;
    padding: 0;
}

.footer-links li,
.contact-info li {
    margin-bottom: 0.8rem;
}

.footer-links a,
.contact-info a {
    color: #b8b8b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a i,
.contact-info li i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
    transform: translateX(5px);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: #b8b8b8;
    font-size: 0.9rem;
}

.contact-info li i {
    margin-top: 0.2rem;
    color: #667eea;
}

.contact-info a:hover {
    color: #667eea;
}

/* Footer Bottom */
.footer-bottom {
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: #888;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #667eea;
}

.separator {
    color: #555;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    display: flex;
    animation: fadeInUp 0.3s ease-out;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        padding: 2rem 1.5rem 0;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-description {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-title {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links li,
    .contact-info li {
        text-align: center;
        justify-content: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .contact-info li {
        justify-content: center;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Print Styles */
@media print {
    .main-footer,
    .back-to-top {
        display: none;
    }
}

/* Hover Effects for Contact Info */
.contact-info li:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Smooth transitions for all interactive elements */
.footer-links a,
.social-link,
.back-to-top,
.contact-info a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Footer CSS END //