/* Custom Styles for The Network Barbershop */

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

/* Custom Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Service Card Hover Effect */
.service-card {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, #d67248 0%, #c95630 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

::-webkit-scrollbar-track {
    background: #faf7f0;
}

::-webkit-scrollbar-thumb {
    background: #e9b89e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d67248;
}

/* Loading State for Form */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Focus Styles for Accessibility */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Image Hover Zoom */
.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Mobile Menu Animation */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print Styles */
@media print {
    nav,
    button,
    .no-print {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* High Contrast Mode */
@media (forced-colors: active) {
    .service-card,
    button {
        border: 1px solid currentColor;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .floating-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .service-card {
        padding: 2rem;
    }
}

/* Desktop Styles */
@media (min-width: 1025px) {
    .service-card {
        padding: 2.5rem;
    }
}

/* Ultra Wide Screens */
@media (min-width: 1920px) {
    .max-w-6xl {
        max-width: 72rem;
    }
}

/* Landscape Phones */
@media (max-height: 500px) and (orientation: landscape) {
    nav {
        padding: 0.5rem 0;
    }
    
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }
}

/* Touch Devices */
@media (hover: none) {
    .service-card:hover {
        transform: none;
    }
    
    .service-card:active {
        transform: translateY(-4px);
    }
}
