/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: 
        linear-gradient(135deg, rgba(108, 117, 125, 0.3) 0%, rgba(33, 37, 41, 0.3) 100%), 
        url('assets/background-compressed-again-0.7.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    will-change: auto;
    min-height: 100vh;
}

/* Aggressive performance optimizations */
img {
    max-width: 100%;
    height: auto;
    loading: lazy;
    decoding: async;
    content-visibility: auto;
    contain: layout style paint;
}

/* Optimize images for web */
.service-card, .barber-card {
    content-visibility: auto;
    contain: layout style paint;
}

/* Reduce paint operations */
.service-card .service-header {
    will-change: transform;
    transform: translateZ(0);
}

/* Optimize animations */
@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translate3d(0, 30px, 0); 
    }
    to { 
        opacity: 1; 
        transform: translate3d(0, 0, 0); 
    }
}

/* Optimized for Netlify - use compressed image as default */
/* Duplicate body rule removed - using the optimized version above */


/* Fallback for slow connections */
@media (prefers-reduced-data: reduce) {
    body {
        background: var(--primary-gray) !important;
    }
    .service-card, .barber-card {
        background: var(--primary-gray) !important;
    }
}

/* Optimize for mobile performance */
@media (max-width: 768px) {
    body {
        background-attachment: scroll !important;
    }
    
    .service-card, .barber-card {
        will-change: auto;
        transform: none;
    }
}

/* Reduce motion for better performance */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Critical above-the-fold styles */
.navbar {
    will-change: transform;
    transform: translateZ(0);
}


/* Duplicate keyframes removed - using the optimized version above */

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.6), 0 0 35px rgba(255, 255, 255, 0.3);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables */
:root {
    --primary-gray: #6c757d;
    --secondary-black: #212529;
    --accent-light: #adb5bd;
    --text-light: #ffffff;
    --background-light: #f8f9fa;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--secondary-black) 0%, rgba(33, 37, 41, 0.95) 100%);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 30px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5), 0 0 10px rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease-out;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-light);
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-light);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - Optimized for fast loading */
.hero {
    background: 
        linear-gradient(135deg, rgba(108, 117, 125, 0.4) 0%, rgba(33, 37, 41, 0.4) 100%),
        url('assets/diamond_grid-0.7.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    color: var(--text-light);
    padding: 80px 0 60px;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    will-change: auto;
}

/* Hero image should display immediately without overlay interference */

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3), 0 0 20px rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease-out 0.2s both;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-style: italic;
    animation: fadeInUp 1s ease-out 0.4s both;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.6s both;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-black) 0%, #1a1a1a 100%);
    color: var(--text-light);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--text-light);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.8s both;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--text-light) 0%, #f0f0f0 100%);
    color: var(--secondary-black);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3), 0 0 30px rgba(255, 255, 255, 0.2);
    animation: bounce 0.6s ease-in-out;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: transparent;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-light);
    animation: fadeInUp 0.8s ease-out;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
    grid-template-rows: auto;
}

.service-card-container {
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card {
    background-color: var(--secondary-black);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 0 15px rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
    border-left: 4px solid var(--accent-light);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    position: relative;
    overflow: visible;
    animation: fadeInUp 0.8s ease-out;
    will-change: transform;
    transform: translateZ(0);
    cursor: pointer;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    z-index: 1;
    width: 100%;
}

.service-card.expanded {
    z-index: 10;
}

.service-header {
    padding: 2rem;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-shadow: 2px 2px 6px rgba(0,0,0,0.9), 0 0 10px rgba(0,0,0,0.8);
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.service-header p {
    margin-bottom: 1rem;
    color: var(--accent-light);
    text-shadow: 2px 2px 6px rgba(0,0,0,0.9), 0 0 10px rgba(0,0,0,0.8);
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.service-header .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-light);
    text-shadow: 2px 2px 6px rgba(0,0,0,0.9), 0 0 10px rgba(0,0,0,0.8);
    display: block;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.expand-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-light);
    transition: transform 0.3s ease;
    z-index: 2;
}

.service-card.expanded .expand-icon {
    transform: rotate(45deg);
    color: var(--text-light);
}

/* Service dropdown styles */
.service-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--secondary-black) 0%, #1a1a1a 100%);
    border-radius: 0 0 15px 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4), 0 0 15px rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--accent-light);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.service-card.expanded .service-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Service card expansion is now handled by JavaScript */

.service-info {
    padding: 1.5rem;
}

.service-info h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    word-wrap: break-word;
    color: var(--text-light);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.service-info ul {
    list-style: none;
    margin-bottom: 1rem;
}

.service-info li {
    padding: 0.5rem 0;
    color: var(--accent-light);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    position: relative;
    padding-left: 1.5rem;
}

.service-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-light);
    font-weight: bold;
}

.duration {
    font-style: italic;
    color: var(--accent-light);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    font-size: 0.9rem;
}

.service-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
    pointer-events: none;
}



/* Background images for each service header */
.service-card.classic-cut .service-header {
    background-image: url('assets/service_card/gneral_cut.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-card.beard-trim .service-header {
    background-image: url('assets/service_card/beard_trim.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-card.hot-towel .service-header {
    background-image: url('assets/service_card/hot_towel.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-card.cut-style .service-header {
    background-image: url('assets/service_card/beard_cut.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-card:hover::before {
    background: linear-gradient(135deg, rgba(33, 37, 41, 0.5) 0%, rgba(26, 26, 26, 0.5) 100%);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4), 0 0 25px rgba(255, 255, 255, 1.0);
    border-left-color: var(--text-light);
    border-right-color: rgba(255, 255, 255, 0.5);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.service-card p {
    margin-bottom: 1rem;
    color: var(--accent-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9), 0 0 8px rgba(0,0,0,0.8);
    font-weight: 500;
}

.service-card .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9), 0 0 8px rgba(0,0,0,0.8);
}

/* Info Section */
.info {
    padding: 60px 0;
    background-color: var(--secondary-black);
    color: var(--text-light);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    text-align: center;
    padding: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-light);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.4) 0%, rgba(33, 37, 41, 0.4) 100%), url('assets/diamond_grid-0.7.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light);
    padding: 80px 0 60px;
    text-align: center;
    min-height: 40vh;
    display: flex;
    align-items: center;
}

.page-header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    font-weight: 500;
}

/* Barber Portfolio Pages - Full Background */
body.barber-portfolio {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.2) 0%, rgba(33, 37, 41, 0.2) 100%), url('assets/ChatGPT Image Sep 23, 2025, 06_54_15 PM.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    min-height: 100vh;
}

body.barber-portfolio .barber-profile {
    background: transparent !important;
}

/* Enhanced Barber Profile Styling */
.barber-profile .profile-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 3px solid rgba(173, 181, 189, 0.3);
}

.barber-profile .profile-image img {
    transition: transform 0.3s ease;
}

.barber-profile .profile-image:hover img {
    transform: scale(1.05);
}

.barber-profile .profile-info h1 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    margin-bottom: 0.5rem;
}

.barber-profile .barber-title {
    color: var(--accent-light) !important;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.barber-profile .barber-experience {
    color: #ffffff !important;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.barber-profile .barber-specialty {
    color: var(--accent-light) !important;
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

/* Enhanced text readability for barber portfolio pages */
body.barber-portfolio .profile-info h1 {
    color: #ffffff !important;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.9), 0 0 10px rgba(0,0,0,0.8) !important;
    font-weight: 700 !important;
}

body.barber-portfolio .barber-title {
    color: #ffffff !important;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.9), 0 0 10px rgba(0,0,0,0.8) !important;
    font-weight: 600 !important;
}

body.barber-portfolio .barber-experience {
    color: #ffffff !important;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.9), 0 0 10px rgba(0,0,0,0.8) !important;
    font-weight: 500 !important;
}

body.barber-portfolio .barber-specialty {
    color: #ffffff !important;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.9), 0 0 10px rgba(0,0,0,0.8) !important;
    font-weight: 500 !important;
}

body.barber-portfolio .profile-info p {
    color: #ffffff !important;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.9), 0 0 10px rgba(0,0,0,0.8) !important;
    font-weight: 500 !important;
}

body.barber-portfolio .profile-info h3 {
    color: #ffffff !important;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.9), 0 0 10px rgba(0,0,0,0.8) !important;
    font-weight: 600 !important;
}

body.barber-portfolio .profile-info li {
    color: #ffffff !important;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.9), 0 0 10px rgba(0,0,0,0.8) !important;
    font-weight: 500 !important;
}

/* Barbers Section */
.barbers {
    padding: 80px 0;
    background-color: transparent;
}

.barbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.barber-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.barber-card-link:hover {
    transform: translateY(-5px);
}

.barber-card {
    background: linear-gradient(135deg, var(--secondary-black) 0%, #1a1a1a 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
    border: 2px solid transparent;
}

.barber-card-link:hover .barber-card {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    border-color: rgba(173, 181, 189, 0.3);
}

.barber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.barber-card:hover::before {
    opacity: 1;
}

.barber-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.barber-image {
    height: 250px;
    background-color: var(--primary-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.barber-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px 8px 0 0;
}

.placeholder-image {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: bold;
}

.barber-info {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.barber-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.barber-title {
    color: var(--accent-light);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.barber-experience {
    color: var(--accent-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.barber-specialty {
    color: var(--accent-light);
    line-height: 1.5;
}

.view-portfolio {
    color: var(--accent-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.75rem;
    padding: 0.5rem;
    background: rgba(173, 181, 189, 0.1);
    border-radius: 6px;
    text-align: center;
    border: 1px solid rgba(173, 181, 189, 0.2);
    transition: all 0.3s ease;
}

.barber-card-link:hover .view-portfolio {
    background: rgba(173, 181, 189, 0.2);
    border-color: rgba(173, 181, 189, 0.4);
    transform: translateX(3px);
}

/* Book Section */
.book-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--secondary-black) 0%, #1a1a1a 100%);
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Barber Portfolio Book Section - Clean styling */
.barber-profile .book-section {
    padding: 2rem 0;
    background: transparent;
    text-align: left;
    position: relative;
    overflow: visible;
}

.barber-profile .book-section::before {
    display: none;
}

.book-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    pointer-events: none;
}

.book-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 1;
}

.book-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    position: relative;
    z-index: 1;
}

/* About Content */
.about-content {
    padding: 80px 0;
    background-color: transparent;
}

.about-story,
.about-values,
.about-mission {
    margin-bottom: 4rem;
}

.about-story h2,
.about-values h2,
.about-mission h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.about-story p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: var(--text-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    background: linear-gradient(135deg, var(--secondary-black) 0%, #1a1a1a 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border-top: 4px solid var(--accent-light);
    color: var(--text-light);
    animation: fadeInUp 0.8s ease-out;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-item:hover::before {
    opacity: 1;
}

.value-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.value-item p {
    color: var(--accent-light);
    line-height: 1.6;
}

.about-mission p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-light);
}

/* Contact CTA */
.contact-cta {
    padding: 60px 0;
    background: transparent;
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    pointer-events: none;
}

.contact-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 1;
}

.contact-cta p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    position: relative;
    z-index: 1;
}

/* Barber Profile Page */
.barber-profile {
    padding: 120px 0 80px;
    background-color: var(--primary-gray);
    min-height: 100vh;
}

.profile-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 4rem;
}

.profile-image {
    text-align: center;
}

.profile-image img {
    width: 100%;
    max-width: 400px;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.profile-info h1 {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.barber-title {
    font-size: 1.5rem;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
}

.barber-experience {
    color: var(--accent-light);
    margin-bottom: 1rem;
}

.barber-specialty {
    color: var(--accent-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.barber-details {
    margin-bottom: 2rem;
}

.barber-details h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.barber-details p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.barber-details ul {
    color: var(--accent-light);
    margin-left: 1.5rem;
    line-height: 1.6;
}

.barber-details li {
    margin-bottom: 0.5rem;
}

/* Portfolio Gallery */
.portfolio-gallery {
    margin-top: 4rem;
}

.portfolio-gallery h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    background: linear-gradient(135deg, var(--secondary-black) 0%, #1a1a1a 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Placeholder Styles */
.placeholder-image-large {
    width: 100%;
    max-width: 400px;
    height: 500px;
    background-color: var(--secondary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.placeholder-gallery {
    background-color: var(--secondary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.placeholder-work {
    color: var(--accent-light);
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
}

/* Booking Section */
.booking-section {
    padding: 60px 0 80px;
    background-color: transparent;
}

.booking-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.booking-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 700;
}

.booking-header p {
    font-size: 1.1rem;
    color: var(--accent-light);
    line-height: 1.6;
}

.booking-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.booking-form-container {
    background: rgba(33, 37, 41, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-section h3 {
    font-size: 1.2rem;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-light);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(173, 181, 189, 0.1);
    transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.form-submit {
    margin-top: 1rem;
}

.booking-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-light) 0%, #8a9ba8 100%);
    color: var(--secondary-black);
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(173, 181, 189, 0.2);
}

.booking-submit-btn:hover {
    background: linear-gradient(135deg, var(--text-light) 0%, var(--accent-light) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(173, 181, 189, 0.3);
}

.booking-submit-btn svg {
    transition: transform 0.3s ease;
}

.booking-submit-btn:hover svg {
    transform: translateX(3px);
}

.booking-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: rgba(33, 37, 41, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border-color: rgba(173, 181, 189, 0.3);
}

.info-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.info-card h4 {
    color: var(--accent-light);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card li {
    color: var(--text-light);
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.95rem;
}

.info-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-light);
    font-weight: bold;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: var(--secondary-black);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--secondary-black);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        padding: 1rem;
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .services h2,
    .page-header h1 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card-container {
        margin-bottom: 1rem;
    }
    
    .service-dropdown {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        margin-top: 1rem;
        border-radius: 15px;
        transform: none;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .service-dropdown.show {
        opacity: 1;
        max-height: 500px;
    }
    
    .barbers-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    .profile-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profile-image img {
        height: 300px;
    }

    .profile-info h1 {
        font-size: 2.5rem;
    }
    
    .booking-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .booking-form-container {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .booking-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .service-card,
    .barber-card,
    .value-item {
        padding: 1.5rem;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}


