/* ======= Variables ======= */
:root {
    /* Colors - Modern Palette */
    --primary: #2d3142;     /* Dark blue-gray for primary elements */
    --secondary: #ef4444;   /* Modern red accent color */
    --dark: #1a1a2e;        /* Nearly black for text */
    --light: #f9fafb;       /* Off-white for backgrounds */
    --gray-100: #f3f4f6;    /* Lightest gray */
    --gray-200: #e5e7eb;    /* Light gray */
    --gray-300: #d1d5db;    /* Medium light gray */
    --gray-400: #9ca3af;    /* Medium gray */
    --gray-500: #6b7280;    /* Medium dark gray */
    --gray-600: #4b5563;    /* Dark gray */
    --white: #ffffff;       /* Pure white */
    
    /* Legacy color mappings for backward compatibility */
    --cream: var(--light);
    --black: var(--dark);
    --red: var(--secondary);
    --gray: var(--gray-500);
    /* Fonts */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Roboto', sans-serif;
    
    /* Sizes */
    --container-width: 1400px;
    --header-height: 70px;  
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
}



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



/* Base styles continue below */

html {
    font-size: 16px;
    scroll-behavior: auto;
}

/* Performance optimization for sections */
section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 800px; 
    will-change: auto; 
    contain: layout style paint;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--gray-600);
    background-color: #f8f4e9;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    overflow-x: hidden;
    /* Performance optimizations */
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Image loading optimizations */
img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

img.loaded {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

::selection {
    background-color: var(--secondary);
    color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

a:hover {
    color: var(--secondary);
}

/* Override for navigation links */
.nav-links a {
    color: var(--dark) !important;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
    /* Optimized image loading for performance */
    content-visibility: auto;
    will-change: auto;
}

/* Remove the opacity setting that was causing images to appear faded */


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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: var(--primary);
    letter-spacing: -0.025em;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray-600);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 6rem 0;
    margin: 0;
    position: relative;
    border: none;
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    background-color: white;
}

.about {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    margin: 0;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    background-color: white;
}

/* Fix for section gaps */
section + section {
    margin-top: 0;
    padding-top: 6rem;
    border-top: none;
}

/* Remove any potential browser-added margins */
section {
    margin-block-start: 0;
    margin-block-end: 0;
}

/* Specific fix for hero to about section transition */
#home + #about {
    margin-top: 0;
    padding-top: 6rem;
}

/* Section backgrounds */
section {
    background-color: transparent;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
    margin-bottom: 0.75rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}



.section-tagline {
    font-family: var(--heading-font);
    font-style: italic;
    color: var(--gray-500);
    margin-top: 0.75rem;
    font-size: 1.25rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.decorative-line {
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
    margin: 0.75rem auto 0;
    position: relative;
    border-radius: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.decorative-line::before,
.decorative-line::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 50%;
    top: -2.5px;
    box-shadow: var(--shadow-sm);
}

.decorative-line::before {
    left: -12px;
    background: var(--primary);
}

.decorative-line::after {
    right: -12px;
    background: var(--secondary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-family: var(--body-font);
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    gap: 0.5rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 0.5s ease;
}

.btn:hover::before {
    transform: translateX(100%) skewX(-15deg);
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #e03131;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}







.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}



.btn-dark {
    background-color: var(--primary);
    color: var(--white);
}

.btn-dark:hover {
    background-color: #1f2937;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ======= Header & Navigation ======= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}



.header.sticky-active {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header.sticky-active .container {
    height: 60px;
}

.header.sticky-active .logo h2 {
    font-size: 1.5rem;
}

.header.sticky-active .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 0;
}

.header.sticky-active .nav-links {
    gap: 1.25rem;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo h2 {
    padding-top: 20px;
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: black;
}

.logo span {
    color: var(--secondary);
    -webkit-text-fill-color: var(--secondary);
}



.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links li a.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    position: relative;
    color: var(--primary) !important;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--secondary) !important;
}



.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.hamburger:hover {
    background-color: var(--gray-100);
}



.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

/* ======= Page Wrapper ======= */
.page-wrapper {
    position: relative;
    width: 100%;
    display: block;
}

/* ======= Hero Section ======= */
.hero {
    position: relative;
    overflow: visible;
    margin: 0;
    padding-top: var(--header-height);
    padding-bottom: 2px;
    background-color: #f8f4e9;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.hero-split {
    display: flex;
    min-height: calc(100vh - var(--header-height));
    height: auto;
    overflow: visible; /* Ensure content isn't cut off */
}

.hero-left {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.hero-right {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    overflow: hidden;
    transform: translateY(-70px);
}

.hero-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    opacity: 1;
    z-index: 1;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 10%;
    max-width: 650px;
    transform: translateY(-70px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    box-shadow: var(--shadow-md);
    animation: float 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    z-index: 5;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
    100% { transform: translateY(0px); }
}

/* Hero section styles continue below */

.hero-left h1 {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: black; 
    background: none;
}

.hero-left h1 .accent {
    position: relative;
    display: inline-block;
    color: var(--secondary);
    -webkit-text-fill-color: var(--secondary);
}

.hero-left h1 .accent::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    z-index: -1;
    border-radius: 4px;
}

.hero-left .subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 1.25rem;
    color: var(--gray-600);
    text-transform: uppercase;
}

.separator {
    width: 120px;
    height: 30px;
    position: relative;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
}

.separator::before, 
.separator::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 3px;
    transform-origin: center;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.separator::before {
    left: 0;
    width: 35px;
    transform: translateY(-50%);
}

.separator::after {
    left: 85px;
    width: 35px;
    transform: translateY(-50%);
}

.separator span {
    position: absolute;
    left: 45px;
    color: var(--secondary);
    font-size: 1.5rem;
    transform: translateY(-2px);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.separator:hover::before,
.separator:hover::after {
    height: 4px;
    background: linear-gradient(to right, var(--secondary), var(--primary));
}

.separator:hover span {
    transform: translateY(-2px) rotate(15deg);
    color: var(--secondary);
}

.hero-left .description {
    max-width: 550px;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-600);
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    margin-top: 2rem;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--red);
    color: var(--red);
}

.btn-outline:hover {
    background-color: var(--red);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-right {
    flex: 1;
    background-color: var(--light);
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center; 
    justify-content: center;
    padding: 40px 0; 
    min-height: 500px; 
}

/* Remove the white overlay that was covering the images */
.hero-right {
    background-color: transparent;
}



.barber-shop-image {
    width: 90%;
    height: auto; 
    position: relative;
    overflow: visible; 
    display: flex;  
    align-items: center;
    justify-content: center;
    margin: auto;
    margin-top: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.barber-shop-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}





.barber-image {
    max-width: 100%;
    height: auto; 
    width: 100%;
    object-fit: contain; 
    object-position: center center;
    display: block;
    position: relative;
    z-index: 5;
    /* Hero image fast loading optimization */
    transform: translateZ(0); 
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
    filter: blur(0);
}

.barber-image.loaded {
    animation: heroPop 0.3s ease-out forwards;
}

@keyframes heroPop {
    0% { transform: translateZ(0) scale(0.98); filter: blur(5px); }
    100% { transform: translateZ(0) scale(1); filter: blur(0); }
}

/* ======= About Section ======= */
.about {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    margin: 0;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(214, 40, 40, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    animation: pulse-glow 8s infinite alternate ease-in-out;
}

.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(214, 40, 40, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    animation: pulse-glow 8s infinite alternate-reverse ease-in-out;
}

@keyframes pulse-glow {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.1); }
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-text-centered {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.image-container-centered {
    position: relative;
    width: 450px;
    height: 450px;
    margin: 40px auto 60px;
    border: 8px solid var(--cream);
    overflow: hidden;
    transition: all 0.5s ease;
    border-radius: 50%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: perspective(1000px) rotateY(0deg);
}

.image-container-centered::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 70%;
    height: 70%;
    border: 3px dashed var(--red);
    z-index: -1;
    opacity: 0.6;
    border-radius: 50%;
    animation: rotate-circle 30s linear infinite;
}

.image-container-centered::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 70%;
    height: 70%;
    border: 3px dashed var(--red);
    z-index: -1;
    opacity: 0.6;
    border-radius: 50%;
    animation: rotate-circle 30s linear infinite reverse;
}

@keyframes rotate-circle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.image-container-centered img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease;
    filter: saturate(1.1) contrast(1.1);
}

.image-container-centered:hover {
    transform: perspective(1000px) rotateY(5deg);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
}

.image-container-centered:hover img {
    transform: scale(1.08);
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--red);
    color: var(--white);
    padding: 15px;
    border-radius: 50%;
    font-family: var(--heading-font);
    font-weight: 900;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    transform: rotate(15deg);
    box-shadow: 0 8px 20px rgba(214, 40, 40, 0.3);
    animation: badge-pulse 3s ease-in-out infinite alternate;
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.badge::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px dashed rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: rotate-circle 20s linear infinite reverse;
}

@keyframes badge-pulse {
    0% { transform: rotate(15deg) scale(1); }
    50% { transform: rotate(12deg) scale(1.08); }
    100% { transform: rotate(18deg) scale(1.05); }
}

.about-text-centered h3 {
    font-size: 3rem;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 20px;
    color: var(--black);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.05);
    display: inline-block;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-text-centered h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, rgba(214, 40, 40, 0.3), var(--red), rgba(214, 40, 40, 0.3));
    animation: line-expand-center 1.5s ease-out forwards;
    border-radius: 2px;
}

.about-text-centered h3::before {
    content: '✂';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
    font-size: 1.2rem;
    color: var(--red);
    z-index: 2;
}

@keyframes line-expand-center {
    0% { width: 0; opacity: 0; }
    100% { width: 150px; opacity: 1; }
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.9;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--black);
    position: relative;
    z-index: 1;
}

.about-text-centered p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-text-centered strong {
    color: var(--red);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.about-text-centered strong::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(214, 40, 40, 0.2);
}

.about-text-centered em {
    font-style: italic;
    border-bottom: 1px dotted var(--gray);
    padding-bottom: 2px;
    color: var(--black);
}

/* About Stats */
.about-stats {
    display: flex;
    justify-content: space-between;
    margin: 50px auto;
    background-color: var(--cream);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
    max-width: 750px;
    border: 1px solid rgba(214, 40, 40, 0.1);
    overflow: hidden;
}

.about-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--red), transparent);
}

.stat-item {
    text-align: center;
    flex: 1;
    padding: 0 15px;
    position: relative;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 80%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(214, 40, 40, 0.2), transparent);
}

.stat-number {
    display: block;
    font-family: var(--heading-font);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--red);
    margin-bottom: 8px;
    line-height: 1;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

.stat-text {
    display: block;
    font-size: 1rem;
    color: var(--gray);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
}

/* About Philosophy */
.about-philosophy {
    display: flex;
    justify-content: space-between;
    margin: 50px auto;
    gap: 25px;
    max-width: 900px;
}

.philosophy-item {
    flex: 1;
    text-align: center;
    padding: 20px 15px;
    border-radius: 8px;
    background-color: rgba(248, 244, 233, 0.5);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.philosophy-item:hover {
    transform: translateY(-5px);
    border-color: rgba(214, 40, 40, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.philosophy-item i {
    font-size: 2rem;
    color: var(--red);
    margin-bottom: 15px;
    display: inline-block;
    transition: all 0.3s ease;
}

.philosophy-item:hover i {
    transform: scale(1.2);
}

.philosophy-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--black);
}

.philosophy-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--gray);
}


/* ======= Services Section ======= */
.services {
    padding: 100px 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    background-color: white;
}

.services::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(214, 40, 40, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    animation: pulse 15s infinite alternate;
}

.services::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(214, 40, 40, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    animation: pulse 15s infinite alternate-reverse;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 1;
}

.services-intro-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray);
}

.services-intro-text strong {
    color: var(--red);
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.service-card {
    background-color: rgba(248, 244, 233, 0.5);
    padding: 0;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
}



.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 3;
    opacity: 0;
}

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

.service-card.premium {
    border: 1px solid rgba(239, 68, 68, 0.2);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-card.premium::before {
    height: 7px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 1;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.service-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 40px;
    transform: rotate(45deg);
    z-index: 2;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}



/* Hover effects removed for performance */

.service-icon {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    margin: 0 auto 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.service-icon i {
    font-size: 2.2rem;
    color: var(--secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    /* Performance optimizations */
    contain: paint;
    aspect-ratio: 16/9;
}

.service-icon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    z-index: 1;
    opacity: 0.5;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--black);
    padding: 0 20px;
    font-family: var(--heading-font);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.service-details {
    padding: 0 25px 20px;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.service-details p {
    margin-bottom: 20px;
    color: var(--black);
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
    transition: all 0.3s ease;
    font-family: var(--body-font);
    font-weight: 400;
    font-style: italic;
}

.service-card:hover .service-details p {
    transform: translateY(-3px);
}

.service-features {
    list-style: none;
    margin: 20px 0;
    padding: 0;
    text-align: left;
    position: relative;
}

.service-features::before {
    content: '';
    position: absolute;
    left: 0;
    top: -10px;
    width: 40px;
    height: 2px;
    background-color: rgba(214, 40, 40, 0.3);
    transition: width 0.3s ease;
}

.service-card:hover .service-features::before {
    width: 60px;
}

.service-features li {
    margin-bottom: 12px;
    color: var(--black);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    transform: translateX(0);
    font-family: var(--body-font);
    letter-spacing: 0.5px;
}

.service-card:hover .service-features li {
    transform: translateX(5px);
}

.service-features li:nth-child(2) {
    transition-delay: 0.05s;
}

.service-features li:nth-child(3) {
    transition-delay: 0.1s;
}

.service-features li i {
    color: var(--red);
    margin-right: 10px;
    font-size: 0.8rem;
}

.service-duration {
    display: inline-block;
    background-color: rgba(214, 40, 40, 0.1);
    color: var(--red);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 10px;
    font-family: var(--body-font);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background-color: rgba(248, 244, 233, 0.7);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(214, 40, 40, 0.05) 25%, transparent 25%, transparent 50%, rgba(214, 40, 40, 0.05) 50%, rgba(214, 40, 40, 0.05) 75%, transparent 75%, transparent);
    background-size: 10px 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.service-card:hover .service-footer::before {
    opacity: 1;
}

.price {
    display: inline-block;
    color: var(--red);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    font-family: var(--heading-font);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.05);
}

.service-card:hover .price {
    transform: scale(1.1);
    text-shadow: 0 2px 5px rgba(214, 40, 40, 0.2);
}

.service-btn {
    display: inline-block;
    background-color: var(--red);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.service-btn:hover {
    background-color: #db1414;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(214, 40, 40, 0.3);
}

.service-btn:hover::before {
    transform: translateX(0);
}

.services-cta {
    text-align: center;
    margin-top: 80px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(214, 40, 40, 0.1);
    transition: all 0.4s ease;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(214, 40, 40, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.services-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.services-cta p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--gray);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-cta strong {
    color: var(--red);
    font-weight: 700;
    position: relative;
}

.services-cta strong::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(214, 40, 40, 0.3);
}

/* ======= Gallery Section ======= */
.gallery {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 35px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
    cursor: pointer;
    background-color: transparent;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 1;
}

.gallery-img[data-src] {
    opacity: 1 !important;
    transition: none;
}

.gallery-img[data-src].loaded {
    opacity: 1;
    transition: all 0.3s ease;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 2;
}

.gallery-item:hover .overlay {
    height: 25%;
    opacity: 1;
}

.overlay span {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--heading-font);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox.active {
    display: block;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover {
    color: var(--red);
}

.lightbox-content {
    display: block;
    margin: auto;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    object-fit: contain;
}

.caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* ======= Team Section ======= */
.team {
    background-color: var(--cream);
}

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

.team-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-img-container {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.team-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Performance optimizations */
    contain: paint;
    aspect-ratio: 3/4;
}

/* Hover effect removed for performance */

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.position {
    color: var(--red);
    font-weight: 700;
    margin-bottom: 10px;
}

.specialty {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--red);
    color: var(--white);
}

/* ======= Booking Section ======= */
.booking {
    background-color: var(--white);
}

.booking-container {
    display: flex;
    gap: 50px;
}

.booking-form {
    flex: 1;
    padding: 40px;
    background-color: var(--cream);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--body-font);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.booking-info {
    flex: 1;
    padding: 40px;
    background-color: var(--black);
    color: var(--white);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.booking-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.booking-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
}

.booking-info h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--red);
}

.hours {
    margin-top: 30px;
    margin-bottom: 30px;
    position: relative;
}

.hours h4 {
    color: var(--cream);
    margin-bottom: 15px;
}

.hours ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.hours ul li span {
    font-weight: 700;
    color: var(--cream);
}

.booking-note {
    font-style: italic;
    color: var(--cream);
    margin-top: 20px;
}

.booking-call {
    font-size: 1.2rem;
    margin-top: 20px;
}

/* ======= Reviews Section ======= */
.gallery {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    background-color: white;
}

.reviews-slider {
    display: flex;
    width: 300%;
    transition: transform 0.5s ease;
}

.review-card {
    flex: 1;
    padding: 40px;
    margin: 0 15px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
}

.review-card::before {
    content: '\201C';
    font-family: var(--heading-font);
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: rgba(214, 40, 40, 0.1);
    line-height: 1;
}

.stars {
    margin-bottom: 20px;
    color: gold;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--gray);
    line-height: 1.8;
}

.client-name {
    font-weight: 700;
    color: var(--black);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.prev-btn,
.next-btn {
    background: none;
    border: none;
    color: var(--black);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    color: var(--red);
}

.slider-dots {
    display: flex;
    gap: 10px;
    margin: 0 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--red);
}

/* ======= Contact Section ======= */
.contact {
    background-color: white;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.contact-container {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.8rem;
    color: var(--red);
    background-color: rgba(214, 40, 40, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.contact-form-container {
    flex: 1;
}

.contact-form {
    padding: 40px;
    background-color: white;
    border-radius: 8px;
}



/* ======= Newsletter Section ======= */
.newsletter {
    border: 1px solid transparent;
    transition: all 0.3s ease;
    padding: 60px 0;
    color: var(--black);
    text-align: center;
    background-color: #f8f4e9;
}

.newsletter-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.newsletter-content p {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
}

/* ======= Footer ======= */
.footer {
    padding: 80px 0 30px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    background-color: #f8f4e9;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--red);
}

.footer-logo p {
    color: var(--gray);
}

.footer h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--red);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--red);
    color: var(--white);
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover,
.footer-legal ul li a:hover {
    color: var(--red);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--gray);
}

/* ======= Scroll To Top Button ======= */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--red);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: #b31b1b;
    transform: translateY(-5px);
}

/* Mobile visibility helper class */
.mobile-visible {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 100 !important;
    position: relative !important;
}

/* Hide mobile badge by default */
.mobile-badge {
    display: none;
}

/* ======= Responsive Styles ======= */
@media screen and (min-width: 1401px) {
    .hero-left {
        flex: 0.85;
    }
    
    .hero-right {
        flex: 1.15;
    }
    
}

@media screen and (max-width: 1400px) {
    .hero-content {
        padding-top: 0%;
    }
    .barber-image{
        height: auto;
        object-fit: cover;
    }

@media screen and (max-width: 1200px) {
    .hero-left h1 {
        font-size: 3.2rem;
    }
    
    .hero-content {
        padding: 0 7%;
    }
    
    .barber-pole {
        height: 250px;
    }
}

@media screen and (max-width: 992px) {
    .hero-split {
        flex-direction: column;
    }
    
    .hero {
        height: auto;
    }
    
    .hero-left,
    .hero-right {
        padding: 60px 5%;
        min-height: 500px;
    }
    
    .hero-content {
        margin-top: 20px;
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .separator {
        margin: 20px auto;
        width: 110px;
    }
    
    .separator::before {
        left: 0;
        width: 30px;
    }
    
    .separator::after {
        right: 0;
        left: auto;
        width: 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-left .description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .barber-pole {
        left: 10%;
    }
    
    .about-content,
    .booking-container,
    .contact-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .frame {
        width: 250px;
        height: 250px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    /* Tablet adjustments for about stats and philosophy */
    .about-stats {
        padding: 30px 20px;
        max-width: 90%;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .about-philosophy {
        flex-wrap: wrap;
        max-width: 90%;
    }
    
    .philosophy-item {
        flex: 0 0 calc(50% - 15px);
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 892px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        gap: 15px;
        z-index: 1000;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hero-left {
        min-height: 400px;
    }
    
    .hero-left h1 {
        font-size: 2.8rem;
    }
    
    .hero-left .subtitle {
        font-size: 1rem;
    }
    
    .hero-left .description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 200px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-right {
        min-height: 450px;
    }
    
    .frame {
        width: 220px;
        height: 220px;
    }
    
    .tool {
        width: 55px;
        height: 55px;
    }
    
    .barber-pole {
        height: 200px;
        width: 25px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .reviews-slider {
        width: 100%;
        flex-direction: column;
    }
    
    .review-card {
        margin-bottom: 20px;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 30px;
    }
}

@media screen and (max-width: 576px) {
    .hero-left {
        padding: 40px 5%;
    }
    
    /* Show mobile badge and hide regular badge */
    .mobile-badge {
        display: inline-block !important;
        background-color: var(--secondary);
        color: white;
        font-weight: bold;
        padding: 8px 16px;
        border-radius: 20px;
        margin-bottom: 15px;
        font-size: 0.7rem;
        letter-spacing: 0.1em;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-align: center;
    }
    
    .hero-badge {
        display: none !important;
    }
    
    .hero-left h1 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    
    .hero-right {
        padding: 40px 5%;
        min-height: 400px;
    }
    
    .frame {
        width: 180px;
        height: 180px;
        border-width: 8px;
    }
    
    .tool {
        width: 45px;
        height: 45px;
    }
    
    .booking-form,
    .contact-form {
        padding: 20px;
    }
    
    .badge {
        width: 80px;
        height: 80px;
        font-size: 0.8rem;
    }
    
    .review-card {
        padding: 25px 15px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        margin-bottom: 10px;
    }
    
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    /* Fix for about stats on mobile */
    .about-stats {
        flex-direction: column;
        padding: 25px 15px;
        gap: 25px;
        width: 100%;
        max-width: 100%;
        margin: 30px auto;
    }
    
    .stat-item {
        padding: 15px 0;
    }
    
    .stat-item:not(:last-child)::after {
        position: absolute;
        right: 0;
        bottom: 0;
        top: auto;
        transform: none;
        height: 2px;
        width: 80%;
        left: 10%;
        background: linear-gradient(to right, transparent, rgba(214, 40, 40, 0.2), transparent);
    }
    
    /* Fix for philosophy section on mobile */
    .about-philosophy {
        flex-direction: column;
        gap: 20px;
        margin: 30px auto;
    }
    
    .philosophy-item {
        padding: 20px 10px;
    }
}

@media screen and (max-width: 390px) {
    .hero-left h1 {
        font-size: 1.8rem;
    }
    
    /* Further adjustments for very small screens */
    .about-stats {
        padding: 20px 10px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-text {
        font-size: 0.85rem;
    }
    
    .philosophy-item {
        padding: 15px 10px;
    }
    
    .philosophy-item i {
        font-size: 1.75rem;
    }
    
    .philosophy-item h4 {
        font-size: 1.1rem;
    }
    
    .philosophy-item p {
        font-size: 0.85rem;
    }
    
    .hero-badge {
        font-size: 0.65rem;
        padding: 7px 14px;
        margin-bottom: 0.75rem;
        font-weight: 800;
    }
    
    .hero-left .subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    .frame {
        width: 150px;
        height: 150px;
    }
    
    .tool {
        width: 35px;
        height: 35px;
    }
    
    .scissors::before, 
    .scissors::after {
        width: 30px;
        height: 6px;
    }
    
    .barber-pole {
        height: 150px;
        width: 20px;
    }
  }
}

