:root {
    --color-primary: #673de6;
    --color-primary-dark: #5025d1;
    --color-primary-light: #ebe4ff;
    --color-success: #00b090;
    --color-success-dark: #008361;
    --color-dark: #1d1e20;
    --color-gray-dark: #36344d;
    --color-gray: #727586;
    --color-gray-light: #f2f3f6;
    --color-light: #fff;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Performance optimizations */
img {
    will-change: auto;
    content-visibility: auto;
}

.hero-bg-image {
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light);
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.block-header {
    position: relative;
    z-index: 1000;
    background: var(--color-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.block-header-layout-desktop,
.block-header-layout-mobile {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.block-header-layout-mobile {
    display: none;
}

.block-header-logo img {
    height: 60px;
    width: auto;
    border-radius: 8px;
}

.block-header__nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.item-content {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.item-content:hover,
.item-content-wrapper--active .item-content {
    background: var(--color-primary);
    color: var(--color-light);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.burger__bun,
.burger__meat {
    width: 25px;
    height: 3px;
    background: var(--color-dark);
    transition: all 0.3s ease;
}

.block-header-layout-mobile__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.block-header-layout-mobile__dropdown .block-header__nav-links {
    flex-direction: column;
    gap: 0.5rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--color-light);
    max-width: 800px;
    padding: 2rem;
    animation: slideUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-button {
    display: inline-block;
    background: #21853e;
    color: var(--color-light);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-button:hover {
    background: transparent;
    border-color: #21853e;
    transform: translateY(-2px);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--color-light);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-image {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.2s;
}

.about-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--color-gray);
}

.reserve-button {
    display: inline-block;
    background: #21853e;
    color: var(--color-dark);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--color-dark);
    transition: all 0.3s ease;
}

.reserve-button:hover {
    background: transparent;
    transform: translateY(-2px);
}

.about-image img {
    width: 20%;
    height: 150px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    display: block;
}

.quote-section {
    grid-column: 1 / -1;
    position: relative;
    background: #f2f1e6;
    padding: 3rem;
    border-radius: 20px;
    margin-top: 3rem;
    text-align: center;
}

.quote-mark {
    font-size: 3rem;
    color: var(--color-primary);
    font-weight: bold;
}

.quote-text h6 {
    font-size: 1.2rem;
    margin: 1rem 0;
    font-style: italic;
}

.quote-author {
    font-weight: 600;
    color: var(--color-gray-dark);
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: #1b1f1c;
    color: var(--color-light);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.services-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-light);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.services-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.services-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.2s;
}

.services-subtitle.visible {
    opacity: 0.8;
    transform: translateY(0);
}

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

.service-item {
    background: var(--color-light);
    color: var(--color-dark);
    padding: 2rem;
    border-radius: 20px;
    text-align: left;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.service-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.service-item img[src*="barbershop"] {
    object-fit: cover;
}

.about-image img[src*="Mirel"],
.about-image-content img[src*="Mirel"] {
    transform: scale(1);
}

.service-item h6 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.service-item p {
    color: var(--color-gray);
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: #1b1f1c;
    color: var(--color-light);
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.gallery-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--color-light);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item.visible {
    opacity: 1;
    transform: scale(1);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

.gallery-button {
    display: inline-block;
    background: #1b1f1c;
    color: var(--color-light);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #1b1f1c;
    transition: all 0.3s ease;
}

.gallery-button:hover {
    background: var(--color-light);
    color: #1b1f1c;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: var(--color-light);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.testimonial-item {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.05));
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--color-gray-dark);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-dark);
}

/* Footer */
.footer-section {
    background: #1b1f1c;
    color: var(--color-light);
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.footer-column h5 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-column p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-light);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.social-link svg {
    width: 24px;
    height: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input {
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-light);
    font-size: 1rem;
}

.contact-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form button {
    background: var(--color-dark);
    color: var(--color-light);
    padding: 1rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: #1a1a1a;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* Page Hero (for other pages) */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Services Detail Section */
.services-detail-section {
    padding: 5rem 0;
    background: var(--color-light);
    position: relative;
    z-index: 1;
    min-height: auto;
}

.services-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.service-detail:nth-child(even) .service-detail-content {
    order: 2;
}

.service-detail:nth-child(even) .service-detail-image {
    order: 1;
}

.service-detail-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    transform: scale(0.9);
}

.service-detail-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.service-detail-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-gray);
}

.service-detail-content ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-detail-content li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-detail-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
}

.service-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    background: var(--color-primary-light);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: inline-block;
}

/* Booking Section */
.booking-section {
    padding: 4rem 0;
    background: var(--color-primary);
    color: var(--color-light);
    text-align: center;
}

.booking-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.booking-container h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.booking-container p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.booking-button {
    display: inline-block;
    background: var(--color-light);
    color: var(--color-primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.booking-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* About Detailed Section */
.about-detailed-section {
    padding: 5rem 0;
    background: var(--color-light);
}

.about-detailed-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.about-text-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-gray);
    line-height: 1.8;
}

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

.value-item {
    padding: 1.5rem;
    background: var(--color-gray-light);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

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

.value-item h4 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.about-image-content {
    position: sticky;
    top: 2rem;
}

.about-image-content img {
    width: 65%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    border-radius: 40px;
    margin: 0 auto 1rem auto;
    display: block;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.image-caption {
    text-align: center;
    padding: 1rem;
    background: var(--color-gray-light);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-caption h5 {
    margin: 0 0 0.25rem 0;
    color: var(--color-dark);
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.image-caption p {
    margin: 0;
    color: var(--color-gray);
    font-style: italic;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Philosophy Section */
.philosophy-section {
    padding: 5rem 0;
    background: var(--color-gray-light);
}

.philosophy-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.philosophy-content h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--color-dark);
}

.philosophy-content blockquote {
    font-size: 1.5rem;
    font-style: italic;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--color-light);
    border-left: 5px solid var(--color-primary);
    border-radius: 10px;
    color: var(--color-gray-dark);
}

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

.philosophy-point {
    text-align: left;
    padding: 1.5rem;
    background: var(--color-light);
    border-radius: 15px;
    border-top: 4px solid var(--color-primary);
}

.philosophy-point h5 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

/* Location Section */
.location-section {
    padding: 5rem 0;
    background: var(--color-light);
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.location-container h3 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--color-dark);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.location-text h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.location-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--color-gray);
}

.location-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    padding: 1rem;
    background: var(--color-gray-light);
    border-radius: 10px;
}

.feature h6 {
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.feature p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

.location-image img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    object-position: center;
    border-radius: 15px;
}

/* Contact Info Section */
.contact-info-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f1ff 100%);
}

.contact-info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto;
}

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

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(103, 61, 230, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-success));
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(103, 61, 230, 0.2);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.contact-card-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.contact-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
    font-weight: 600;
}

.contact-primary {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.contact-primary a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-primary a:hover {
    color: var(--color-primary-dark);
}

.contact-secondary {
    color: var(--color-gray);
    font-size: 0.95rem;
}

.schedule {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--color-gray-light);
    border-radius: 10px;
}

.schedule-item.closed {
    background: rgba(220, 53, 69, 0.1);
}

.schedule-item.closed .hours {
    color: #dc3545;
}

.day {
    font-weight: 500;
    color: var(--color-dark);
}

.hours {
    font-weight: 600;
    color: var(--color-success);
}

/* Location Map Section */
.location-map-section {
    padding: 6rem 0;
    background: white;
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.location-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
    font-weight: 700;
}

.location-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--color-gray);
    line-height: 1.8;
}

.location-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-gray-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--color-primary-light);
}

.feature-item svg {
    width: 20px;
    height: 20px;
    color: var(--color-success);
    flex-shrink: 0;
}

.feature-item span {
    font-weight: 500;
    color: var(--color-dark);
}

.directions-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--color-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(103, 61, 230, 0.3);
}

.directions-button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(103, 61, 230, 0.4);
}

.directions-button svg {
    width: 20px;
    height: 20px;
}

.map-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Social Media Section */
.social-media-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.social-media-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.social-header {
    text-align: center;
    margin-bottom: 4rem;
}

.social-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.social-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.social-content {
    display: flex;
    justify-content: center;
}

.social-card {
    background: white;
    color: var(--color-dark);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 100%;
    transition: all 0.3s ease;
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.social-card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.instagram-gradient {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon svg {
    width: 40px;
    height: 40px;
    color: white;
    z-index: 2;
}

.social-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.social-info p {
    color: var(--color-gray);
    font-size: 1.1rem;
}

.social-card-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--color-gray);
}

.social-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(240, 148, 51, 0.3);
}

.social-follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(240, 148, 51, 0.4);
}

.social-follow-btn svg {
    width: 18px;
    height: 18px;
}

/* CTA Reservation Section */
.cta-reservation-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-dark) 100%);
    color: white;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.cta-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.cta-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.7;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cta-feature svg {
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

.cta-feature span {
    font-size: 1.1rem;
    font-weight: 500;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.primary-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: white;
    color: var(--color-success);
    padding: 1.5rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.primary-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

.primary-cta-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.secondary-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: transparent;
    color: white;
    padding: 1.25rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.secondary-cta-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.secondary-cta-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.contact-form-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--color-dark);
}

.detailed-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--color-gray-light);
    border-radius: 10px;
    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(--color-primary);
}

.submit-button {
    background: var(--color-primary);
    color: var(--color-light);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.submit-button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* Reservation Section */
.reservation-section {
    padding: 4rem 0;
    background: var(--color-success);
    color: var(--color-light);
    text-align: center;
}

.reservation-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.reservation-container h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.reservation-container p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.reservation-button {
    display: inline-block;
    background: var(--color-light);
    color: var(--color-success);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.reservation-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--color-gray-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.faq-container h3 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--color-dark);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--color-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--color-gray-light);
}

.faq-question h5 {
    margin: 0;
    color: var(--color-dark);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.open {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-gray);
    margin: 0;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.lightbox.open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--color-light);
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
}

/* Internal Linking Styles */
.internal-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.internal-link:hover {
    color: var(--color-primary-dark);
    border-bottom: 1px solid var(--color-primary);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--color-gray);
}

.breadcrumb a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--color-primary-dark);
}

.breadcrumb span {
    color: var(--color-gray);
}

/* Enhanced Contact Styles */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-light);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--color-primary);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    background: var(--color-primary-light);
    padding: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 60px;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.contact-content-text h3 {
    margin: 0 0 0.5rem 0;
    color: var(--color-primary);
    font-size: 1.2rem;
}

.contact-content-text p {
    margin: 0.25rem 0;
    color: var(--color-gray-dark);
}

.contact-content-text a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-content-text a:hover {
    color: var(--color-primary-dark);
}

.contact-map {
    background: var(--color-light);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 1rem;
}

.location-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: white;
}

.map-overlay h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
}

.map-overlay p {
    margin: 0 0 1rem 0;
    opacity: 0.9;
}

.directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.directions-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

.directions-btn svg {
    width: 16px;
    height: 16px;
}

.social-section {
    padding: 4rem 0;
    background: var(--color-gray-light);
    text-align: center;
}

.social-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.social-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--color-dark);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.social-link.instagram {
    border-top: 4px solid #E4405F;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.social-link svg {
    width: 24px;
    height: 24px;
    color: #E4405F;
}

/* Critical CSS optimization */
@font-display: swap;

/* Enhanced Animation Controller with performance optimization */
class AnimationController {
    constructor() {
        this.observerOptions = {
            threshold: 0.15,
            rootMargin: '0px 0px -50px 0px'
        };
        this.init();
    }
    init() {
        this.observer = new IntersectionObserver((entries, observer) => {
            entries.forEach(entry => {
                if (entry.isIntersecting) {
                    requestAnimationFrame(() => {
                        entry.target.classList.add('visible');
                    });
                    observer.unobserve(entry.target);
                }
            });
        }, this.observerOptions);

        document.querySelectorAll('.animate-fade-in, .animate-slide-left, .animate-slide-right, .animate-scale, .animate-bounce-up').forEach(element => {
            this.observer.observe(element);
        });
    }
}

/* Professional Scroll Animation Classes */
.animate-fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-bounce-up {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.animate-bounce-up.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.stagger-item {
    transition-delay: calc(var(--stagger-delay, 0) * 0.1s);
}

/* Hover Animations */
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 25px rgba(103, 61, 230, 0.4);
    transition: box-shadow 0.3s ease;
}

/* Hover Animations */
.hover-lift:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.hover-rotate:hover {
    transform: rotate(5deg);
    transition: transform 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(103, 61, 230, 0.5);
    transition: box-shadow 0.3s ease;
}

/* Staggered Animations */
.stagger-children > * {
    animation-delay: calc(var(--delay, 0) * 0.1s);
}

/* Entrance Animations on Scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animations */
.loading-spinner {
    animation: rotate 1s linear infinite;
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% {
        content: '.';
    }
    40% {
        content: '..';
    }
    60%, 100% {
        content: '...';
    }
}

/* Bounce and pulse animations for better visibility */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-100px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Ultra-small screens */
@media (max-width: 320px) {
    .contact-item {
        padding: 0.5rem;
    }

    .contact-icon {
        min-width: 40px;
        height: 40px;
    }

    .social-link {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .reservation-button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* High DPI / Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .contact-icon svg,
    .social-link svg,
    .directions-btn svg {
        transform: scale(1.1);
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .contact-item:hover,
    .social-link:hover,
    .directions-btn:hover {
        transform: none;
    }

    .contact-item:active,
    .social-link:active,
    .directions-btn:active {
        transform: scale(0.98);
    }
}

/* Landscape mobile optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-content {
        padding: 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

/* SEO Optimization - Meta tags and semantic HTML structure are crucial for SEO.
   This CSS focuses on presentation and animation, but for true SEO improvement:
   1. Ensure all images have descriptive alt text.
   2. Use semantic HTML5 tags (header, nav, main, article, section, footer).
   3. Implement proper heading structure (h1, h2, h3, etc.).
   4. Ensure fast page load times (optimize images, minify CSS/JS).
   5. Make content easily crawlable by search engines.
   6. Add meta descriptions and title tags in the HTML <head>.
*/

/* Content placeholders removed */

/* Styling for product page prices */
.service-price {
    font-size: 1.5rem; /* Increased font size for prices */
    font-weight: 700; /* Bolder font weight */
    color: var(--color-success-dark); /* Changed color for better visibility */
    background: var(--color-light);
    padding: 0.75rem 1.5rem;
    border-radius: 30px; /* More rounded */
    display: inline-block;
    border: 2px dashed var(--color-success-dark); /* Added dashed border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Added subtle shadow */
    animation: pulse-animation 2s infinite; /* Added pulse animation */
}

/* Specific prices for product page services */
.service-price.classic-cut { content: "45 RON"; }
.service-price.fade-beard { content: "100 RON"; }
.service-price.skinfade { content: "65 RON"; }
.service-price.beard-outline { content: "40 RON"; }
.service-price.beard-dye { content: "45 RON"; }
.service-price.styling { content: "20 RON"; }
.service-price.shave { content: "30 RON"; }
.service-price.face-mask { content: "40 RON"; }


/* Removed the conflicting parallax effect from CSS */
/* Original parallax JS code was removed in the changes. */

/* Making social media icons more visible and improving their styling */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-light);
    text-decoration: none;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
}

.social-link:hover {
    background: var(--color-primary);
    border-color: var(--color-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(103, 61, 230, 0.3);
}

.social-link svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Added enhanced animations for better visibility */
.animate-bounce-in {
    animation: bounceIn 1s ease-out forwards;
}

.animate-slide-in-bottom {
    animation: slideInFromBottom 1s ease-out forwards;
}

.animate-fade-in-scale {
    animation: fadeInScale 1s ease-out forwards;
}

/* New Contact Sections Mobile Optimizations */
@media (max-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-card-icon svg {
        width: 28px;
        height: 28px;
    }
}

/* Contact Hero Section Background Update */
.contact-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 0;
    right: 0;
    bottom: -20%;
    background: url('https://therighthairstyles.com/wp-content/uploads/2024/10/27-wavy-quiff-with-burst-fade.jpg') center/cover;
    opacity: 0.3;
    z-index: -1;
    transform: translateZ(0);
    will-change: transform;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Global mobile optimization */
    * {
        word-break: keep-all;
        overflow-wrap: normal;
        hyphens: none;
    }

    .block-header-layout-desktop {
        display: none;
    }

    .block-header-layout-mobile {
        display: flex;
        padding: 0.5rem 1rem;
    }

    .block-header {
        padding: 0.5rem 0;
    }

    .block-header-layout-mobile__dropdown.open {
        display: block;
    }

    .burger {
        display: flex;
        z-index: 1001;
    }

    .burger.active .burger__bun:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger.active .burger__meat {
        opacity: 0;
    }

    .burger.active .burger__bun:last-child {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Hero section mobile optimization */
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
        text-align: center;
        white-space: normal;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        padding: 0 1rem;
        text-align: center;
        white-space: normal;
    }

    .hero-content {
        padding: 1rem 0.5rem;
        max-width: 100%;
    }

    /* Container optimizations */
    .about-container,
    .services-container,
    .gallery-container,
    .testimonials-container,
    .contact-container,
    .about-detailed-container,
    .philosophy-container,
    .location-container {
        padding: 0 1rem;
        max-width: 100%;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    /* Text optimization for mobile */
    h1, h2, h3, h4, h5, h6 {
        word-break: keep-all;
        overflow-wrap: normal;
        hyphens: none;
        line-height: 1.3;
        padding: 0 0.5rem;
        text-align: center;
    }

    p {
        word-break: keep-all;
        overflow-wrap: normal;
        hyphens: none;
        line-height: 1.6;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
        text-align: left;
    }

    /* List and content optimization */
    li, span, div {
        word-break: keep-all;
        overflow-wrap: normal;
        hyphens: none;
    }

    /* Fix mobile images */
    img {
        max-width: 100%;
        height: auto;
        display: block;
        border-radius: 10px;
    }

    .about-image img,
    .service-item img,
    .gallery-item img {
        width: 100%;
        object-fit: cover;
        border-radius: 15px;
    }

    /* Improve button layouts on mobile */
    .hero-button,
    .reserve-button,
    .booking-button {
        display: block;
        width: calc(100% - 2rem);
        max-width: 280px;
        margin: 1rem auto;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        white-space: nowrap;
    }

    /* Fix mobile spacing */
    .about-section,
    .services-section,
    .gallery-section,
    .testimonials-section {
        padding: 3rem 0;
    }

    /* Mobile navigation improvements */
    .block-header__nav-links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .item-content {
        display: block;
        width: 100%;
        text-align: center;
        padding: 1rem;
        white-space: nowrap;
    }

    /* Service items mobile optimization */
    .service-item {
        margin: 0 0.5rem;
        padding: 1.5rem 1rem;
    }

    .service-item h6 {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    /* Info items mobile optimization */
    .info-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        margin: 0 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    /* Ultra-small screen optimization */
    html, body {
        font-size: 14px;
        word-break: keep-all;
        overflow-wrap: normal;
        hyphens: none;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
        padding: 0 1rem;
        word-break: keep-all;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
        word-break: keep-all;
    }

    .services-title,
    .gallery-title {
        font-size: 1.8rem;
        padding: 0 1rem;
        word-break: keep-all;
    }

    .about-text h3 {
        font-size: 1.8rem;
        padding: 0 1rem;
        word-break: keep-all;
    }

    .service-item,
    .testimonial-item {
        padding: 1rem;
        margin: 0 0.5rem 1rem;
    }

    .contact-card {
        padding: 1rem;
        margin: 0 0.5rem 1rem;
    }

    .hero-content {
        padding: 1rem 0.5rem;
    }

    /* Container padding for ultra-small screens */
    .about-container,
    .services-container,
    .gallery-container,
    .testimonials-container,
    .contact-container {
        padding: 0 0.5rem;
    }

    /* Button optimization for very small screens */
    .hero-button,
    .reserve-button,
    .booking-button {
        width: calc(100% - 1rem);
        max-width: 250px;
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }

    /* Text optimization */
    p {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 0 0.5rem;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.2rem;
    }

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

    .contact-info,
    .location-section {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .contact-info h2,
    .location-section h2 {
        font-size: 1.8rem;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .social-header {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    /* Improve reservation button positioning */
    .cta-actions {
        padding: 0 1rem;
    }

    .primary-cta-btn,
    .secondary-cta-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Fix image positioning issues */
    .location-image,
    .about-image,
    .service-detail-image {
        margin: 0 auto;
        max-width: 100%;
    }

    .location-image img,
    .about-image img,
    .service-detail-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}