/* The Bartenders, LLC - Professional Custom Styles */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --gold-color: #d4af37;
    --cocktail-blue: #1e3a8a;
    --cocktail-gold: #d4af37;
    --vh: 1vh; /* Mobile viewport height fix */
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), 
                url('/assets/images/hero_image.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    padding-top: 80px;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.2);
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100); /* Mobile viewport height fix */
    display: flex;
    align-items: center;
}

.hero-stats {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced text contrast for hero section */
.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.hero-section .lead {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    font-weight: 500;
}

.hero-section .text-white {
    color: #ffffff !important;
}

/* Enhanced button visibility */
.hero-section .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.hero-section .btn-outline-light {
    border-width: 2px;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.hero-section .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
}

/* About Page Hero Banner */
.about-hero-banner {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), 
                url('/assets/images/aboutus_banner.png');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    position: relative;
    color: white !important;
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* Enhanced text contrast for about hero banner */
.about-hero-banner h1 {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    color: white !important;
}

.about-hero-banner .lead {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 500;
    color: white !important;
}

.about-hero-banner p {
    color: white !important;
}

/* Quote Page Hero Banner */
.quote-hero-banner {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), 
                url('/assets/images/quote_banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: white !important;
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* Enhanced text contrast for quote hero banner */
.quote-hero-banner h1 {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    color: white !important;
}

.quote-hero-banner .lead {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 500;
    color: white !important;
}

.quote-hero-banner p {
    color: white !important;
}

.quote-hero-banner h5 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    color: white !important;
}

.quote-hero-banner small {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    color: rgba(255, 255, 255, 0.9) !important;
}

.quote-hero-banner .fas {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Services Page Hero Banner */
.services-hero-banner {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), 
                url('/assets/images/services_banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: white !important;
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* Enhanced text contrast for services hero banner */
.services-hero-banner h1 {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    color: white !important;
}

.services-hero-banner .lead {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 500;
    color: white !important;
}

.services-hero-banner p {
    color: white !important;
}

/* Corporate Page Hero Banner */
.corporate-hero-banner {
    background-color: #0d6efd;
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), 
                      url('/assets/images/corprate_banner.png?v=1');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: white !important;
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* Enhanced text contrast for corporate hero banner */
.corporate-hero-banner h1 {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    color: white !important;
}

.corporate-hero-banner .lead {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 500;
    color: white !important;
}

.corporate-hero-banner p {
    color: white !important;
}

/* Reviews Page Hero Banner - Dual Images */
.reviews-hero-banner {
    position: relative;
    color: white !important;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.reviews-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: url('/assets/images/reviews_banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.reviews-hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('/assets/images/reviews2_banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.reviews-hero-banner .container {
    position: relative;
    z-index: 3;
}

.reviews-hero-banner::before,
.reviews-hero-banner::after {
    filter: brightness(0.7);
}

/* Add gradient overlay for better text readability */
.reviews-hero-banner > .container::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    z-index: -1;
}

/* Enhanced text contrast for reviews hero banner */
.reviews-hero-banner h1 {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    color: white !important;
}

.reviews-hero-banner .lead {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 500;
    color: white !important;
}

.reviews-hero-banner p {
    color: white !important;
}

/* Enhanced responsive adjustments for banners */
@media (max-width: 1024px) {
    .quote-hero-banner,
    .reviews-hero-banner,
    .services-hero-banner,
    .about-hero-banner,
    .corporate-hero-banner {
        background-attachment: scroll;
        min-height: 450px;
    }
}

@media (max-width: 768px) {
    .quote-hero-banner,
    .reviews-hero-banner,
    .services-hero-banner,
    .about-hero-banner,
    .corporate-hero-banner {
        min-height: 350px;
        padding: 2rem 0;
    }
    
    .quote-hero-banner h1,
    .reviews-hero-banner h1,
    .services-hero-banner h1,
    .about-hero-banner h1,
    .corporate-hero-banner h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .quote-hero-banner .lead,
    .reviews-hero-banner .lead,
    .services-hero-banner .lead,
    .about-hero-banner .lead,
    .corporate-hero-banner .lead {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    /* For mobile, show only the first image on reviews banner */
    .reviews-hero-banner::after {
        display: none;
    }
    
    .reviews-hero-banner::before {
        width: 100%;
    }
    
    /* Better text contrast on mobile */
    .quote-hero-banner h1,
    .reviews-hero-banner h1,
    .services-hero-banner h1,
    .about-hero-banner h1,
    .corporate-hero-banner h1 {
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    }
    
    .quote-hero-banner .lead,
    .reviews-hero-banner .lead,
    .services-hero-banner .lead,
    .about-hero-banner .lead,
    .corporate-hero-banner .lead {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
}

@media (max-width: 576px) {
    .quote-hero-banner,
    .reviews-hero-banner,
    .services-hero-banner,
    .about-hero-banner,
    .corporate-hero-banner {
        min-height: 280px;
        padding: 1.5rem 0;
    }
    
    .quote-hero-banner h1,
    .reviews-hero-banner h1,
    .services-hero-banner h1,
    .about-hero-banner h1,
    .corporate-hero-banner h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }
    
    .quote-hero-banner .lead,
    .reviews-hero-banner .lead,
    .services-hero-banner .lead,
    .about-hero-banner .lead,
    .corporate-hero-banner .lead {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f8f9fa;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon i {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
    color: var(--accent-color) !important;
}

/* Contact Cards */
.contact-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f8f9fa;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon i {
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon i {
    transform: scale(1.05);
    color: var(--primary-color) !important;
}

/* Review Cards */
.review-card {
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.stars i {
    font-size: 1.1rem;
}

/* Forms */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
}

/* Mobile form improvements */
@media (max-width: 768px) {
    .form-control,
    .form-select {
        border-radius: 8px;
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 14px 16px; /* Larger touch targets */
        border-width: 1px; /* Thinner borders on mobile */
    }
    
    .form-check-input {
        width: 1.25em;
        height: 1.25em;
        margin-top: 0.125em;
    }
    
    .form-check-label {
        font-size: 1rem;
        line-height: 1.5;
        padding-left: 0.5rem;
    }
    
    .form-check {
        padding: 0.5rem 0;
        margin-bottom: 0.5rem;
    }
    
    /* Better spacing for form sections */
    .col-12.mt-5 {
        margin-top: 2.5rem !important;
    }
    
    /* Improve form button */
    .btn[type="submit"] {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
        font-weight: 600;
        margin-top: 1rem;
    }
    
    /* Form validation feedback */
    .invalid-feedback {
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }
    
    .valid-feedback {
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    .form-control,
    .form-select {
        padding: 12px 14px;
        font-size: 16px;
    }
    
    .form-check-input {
        width: 1.1em;
        height: 1.1em;
    }
    
    .form-check-label {
        font-size: 0.95rem;
    }
}

/* Admin Styles */
.admin-sidebar {
    background: var(--dark-color);
    min-height: 100vh;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 20px;
    border-radius: 8px;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: var(--secondary-color);
    color: white;
}

.admin-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.status-badge {
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 20px;
}

.status-new { background: #e3f2fd; color: #1976d2; }
.status-contacted { background: #fff3e0; color: #f57c00; }
.status-quoted { background: #f3e5f5; color: #7b1fa2; }
.status-booked { background: #e8f5e8; color: #388e3c; }
.status-completed { background: #e0f2f1; color: #00695c; }
.status-cancelled { background: #ffebee; color: #d32f2f; }

/* Enhanced Mobile-First Responsive Design */

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .hero-section {
        background-attachment: scroll;
    }
    
    .display-4 {
        font-size: 3rem;
        line-height: 1.2;
    }
    
    .display-5 {
        font-size: 2.5rem;
        line-height: 1.3;
    }
}

/* Mobile Tablet Styles (768px and below) */
@media (max-width: 768px) {
    /* Global mobile improvements */
    body {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Navigation improvements */
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-toggler {
        border: none;
        padding: 4px 8px;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        font-size: 1.1rem;
        text-align: center;
    }
    
    /* Hero section mobile optimization */
    .hero-section {
        background-attachment: scroll;
        padding-top: 60px;
        background-position: center center;
        min-height: 100vh;
    }
    
    .hero-overlay {
        padding: 2rem 0;
    }
    
    .display-4 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 2rem !important;
    }
    
    .hero-stats {
        margin-top: 2rem;
        padding: 1.5rem !important;
    }
    
    .hero-stats h3 {
        font-size: 1.8rem;
    }
    
    .hero-stats p {
        font-size: 0.9rem;
    }
    
    /* Button improvements for mobile */
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1.1rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .d-flex.flex-wrap.gap-3 {
        flex-direction: column;
        gap: 0.75rem !important;
    }
    
    /* Service and review cards */
    .service-card,
    .review-card {
        margin-bottom: 2rem;
        padding: 1.5rem !important;
    }
    
    .service-icon i {
        font-size: 2.5rem !important;
    }
    
    /* Form improvements */
    .form-control,
    .form-select {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 0.875rem 1rem;
    }
    
    .btn {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 0.75rem 1.5rem;
    }
    
    /* Enhanced mobile text readability */
    .hero-section h1 {
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    }
    
    .hero-section .lead {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    
    /* Section spacing */
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    /* Text sizing */
    .display-5 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    .lead {
        font-size: 1.1rem;
        line-height: 1.5;
    }
}

/* Small Mobile Styles (576px and below) */
@media (max-width: 576px) {
    /* Ultra-mobile optimizations */
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Hero section for small screens */
    .hero-section {
        padding-top: 70px;
    }
    
    .display-4 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .hero-stats {
        padding: 1rem !important;
    }
    
    .hero-stats h3 {
        font-size: 1.5rem;
    }
    
    .hero-stats p {
        font-size: 0.8rem;
    }
    
    /* Button sizing for small screens */
    .btn-lg {
        padding: 0.625rem 1.25rem;
        font-size: 1rem;
    }
    
    /* Card improvements */
    .service-card,
    .review-card {
        padding: 1rem !important;
        margin-bottom: 1.5rem;
    }
    
    .service-icon i {
        font-size: 2rem !important;
    }
    
    /* Text sizing for small screens */
    .display-5 {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.3rem;
        line-height: 1.4;
    }
    
    .lead {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    /* Section spacing for small screens */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Form improvements for small screens */
    .form-control,
    .form-select {
        padding: 0.75rem 0.875rem;
    }
    
    /* Modal improvements for small screens */
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-content {
        border-radius: 0.5rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Touch device specific styles */
    .btn:hover,
    .service-card:hover,
    .review-card:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .service-card:active,
    .review-card:active {
        transform: translateY(-2px);
    }
}

/* Landscape phone optimization */
@media (max-width: 896px) and (orientation: landscape) {
    .hero-section {
        min-height: 70vh;
        padding-top: 60px;
    }
    
    .hero-overlay {
        padding: 1rem 0;
    }
    
    .display-4 {
        font-size: 2rem;
        margin-bottom: 1rem !important;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-stats {
        margin-top: 1rem;
        padding: 1rem !important;
    }
}

/* High DPI display improvements */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section,
    .about-hero-banner,
    .quote-hero-banner,
    .services-hero-banner,
    .corporate-hero-banner {
        background-size: cover;
        background-position: center;
    }
}

/* Accessibility improvements for mobile */
@media (max-width: 768px) {
    /* Larger touch targets */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .navbar-toggler {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Better focus indicators */
    .btn:focus,
    .form-control:focus,
    .form-select:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    /* Reduce animations on mobile for better performance */
    .service-card,
    .review-card {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    /* Optimize background images for mobile */
    .hero-section {
        background-attachment: scroll; /* Better performance than fixed */
    }
    
    /* Table responsiveness */
    .table-responsive {
        border: none;
    }
    
    .table {
        font-size: 0.9rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem;
        vertical-align: middle;
    }
    
    /* List improvements */
    .list-group-item {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    /* Card improvements */
    .card {
        border-radius: 12px;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .card-header {
        padding: 1rem;
        font-weight: 600;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    /* Alert improvements */
    .alert {
        border-radius: 8px;
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    /* Badge improvements */
    .badge {
        font-size: 0.8rem;
        padding: 0.4em 0.6em;
    }
    
    /* Breadcrumb improvements */
    .breadcrumb {
        background: none;
        padding: 0.5rem 0;
        margin-bottom: 1rem;
    }
    
    .breadcrumb-item {
        font-size: 0.9rem;
    }
    
    /* Pagination improvements */
    .pagination {
        justify-content: center;
    }
    
    .page-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Social Media Badges */
.social-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-badge-link {
    text-decoration: none !important;
    transition: transform 0.3s ease;
}

.social-badge-link:hover {
    transform: translateY(-2px);
}

.social-badge {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 180px;
}

.knot-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    border: 2px solid #ff6b6b;
}

.knot-badge:hover {
    background: linear-gradient(135deg, #ee5a52, #ff6b6b);
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
    color: white;
}

.yelp-badge {
    background: linear-gradient(135deg, #d32323, #c41e3a);
    color: white;
    border: 2px solid #d32323;
}

.yelp-badge:hover {
    background: linear-gradient(135deg, #c41e3a, #d32323);
    box-shadow: 0 4px 8px rgba(211, 35, 35, 0.3);
    color: white;
}

.social-badge i {
    font-size: 1.1rem;
}

/* Responsive adjustments for social badges */
@media (max-width: 768px) {
    .social-badges {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .social-badge {
        min-width: 160px;
        font-size: 0.85rem;
        padding: 10px 14px;
    }
}

@media (max-width: 576px) {
    .social-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .social-badge {
        min-width: 200px;
        text-align: center;
        justify-content: center;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    /* Sticky elements improvements */
    .sticky-top {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 1020;
    }
    
    /* Footer improvements */
    footer {
        padding: 2rem 0 1rem;
    }
    
    footer .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    footer h5 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    footer p,
    footer li {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    footer .list-unstyled li {
        margin-bottom: 0.5rem;
    }
    
    /* Social media links */
    .social-links a {
        display: inline-block;
        padding: 0.5rem;
        margin: 0.25rem;
        min-width: 44px;
        min-height: 44px;
        text-align: center;
        border-radius: 50%;
    }
    
    /* Image responsiveness */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Video responsiveness */
    .embed-responsive {
        position: relative;
        display: block;
        width: 100%;
        padding: 0;
        overflow: hidden;
    }
    
    .embed-responsive::before {
        content: "";
        display: block;
        padding-top: 56.25%; /* 16:9 aspect ratio */
    }
    
    .embed-responsive iframe,
    .embed-responsive video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }
}

/* Ultra-wide mobile improvements */
@media (max-width: 480px) {
    .container {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .btn-lg {
        font-size: 0.95rem;
        padding: 0.6rem 1.2rem;
    }
    
    .display-4 {
        font-size: 1.6rem;
    }
    
    .display-5 {
        font-size: 1.4rem;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .lead {
        font-size: 0.95rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }
    
    .hero-section {
        background: none !important;
        color: black !important;
    }
    
    .container {
        max-width: none !important;
        padding: 0 !important;
    }
    
    .service-card,
    .review-card,
    .contact-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        break-inside: avoid;
    }
}