/* Base Styles */
:root {
    --primary-color: #ff3b30;
    --secondary-color: #141414;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --transition-speed: 0.3s;
    --shadow-color: rgba(255, 59, 48, 0.3);
}

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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-speed) ease;
    padding: 20px 0;
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(20, 20, 20, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 1px;
}

.logo i {
    color: var(--primary-color);
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.logo:hover i {
    transform: rotate(90deg);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    position: relative;
    padding: 5px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.mobile-toggle {
    display: none;
}

.mobile-menu {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    opacity: 0;
}

.mobile-menu.active {
    opacity: 1;
    max-height: 300px;
    padding: 16px 0;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: #1a1a1a;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6));
    z-index: 10;
}

.background-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.background-image {
    position: absolute;
    inset: 0;
    background-image: url('https://source.unsplash.com/random/1600x900/?barbershop');
    background-size: cover;
    background-position: center;
    z-index: 0;
    display: none; /* Only shows if video fails to load */
}

.hero-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 20;
    transition: transform 0.5s ease-out;
}

.icon-wrapper {
    margin-bottom: 16px;
    opacity: 0;
}

.icon-wrapper i {
    color: var(--primary-color);
    font-size: 40px;
    animation: pulse 2s infinite ease-in-out;
}

.hero-content h1 {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -1px;
    opacity: 0;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-content h1 span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 32px;
    color: var(--text-muted);
    opacity: 0;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    opacity: 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transition: all 0.4s ease;
}

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

.btn:hover::after {
    left: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    opacity: 0;
}

.social-icons a {
    color: var(--text-muted);
    transition: all var(--transition-speed) ease;
    position: relative;
}

.social-icons a:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

.social-icons i {
    font-size: 24px;
}

/* About Section Styles */
.about-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: 120px 0;
}

.parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140%;
    background-image: url('https://source.unsplash.com/random/1920x1080/?barbershop-interior');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.1;
    z-index: -1;
    transition: transform 0.5s ease-out, opacity 0.5s ease;
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 1;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
}

.section-title span {
    color: var(--primary-color);
}

.tagline {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.about-description p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.8;
}

.skills {
    margin-top: 40px;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-name {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.skill-bar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

/* About Image Container - Modified for scroll triggers */
.about-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    transform: translateX(100px);
    opacity: 0;
    transition: all 1s ease;
    position: relative;
    /* Remove automatic animation */
    animation: none;
}

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

/* Shadow animation for image - Modified for scroll triggers */
.about-image-container::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: radial-gradient(circle, rgba(255,59,48,0) 0%, rgba(255,59,48,0) 100%);
    z-index: -1;
    transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
    /* Remove automatic animation */
    animation: none;
}

.about-image-container.shadow-visible::before {
    background: radial-gradient(circle, rgba(255,59,48,0.2) 0%, rgba(255,59,48,0) 70%);
    opacity: 1;
}

.image-frame {
    position: relative;
    width: 100%;
    max-width: 400px;
    border: 5px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
    transform-style: preserve-3d;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: -1;
    transition: all 0.5s ease;
}

.about-image-container.visible .image-frame::before {
    top: -30px;
    left: -30px;
    border-color: rgba(255, 255, 255, 0.5);
}

.about-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: block;
    object-fit: cover;
    filter: grayscale(20%) contrast(110%);
    transition: all 0.5s ease;
}

.about-image:hover {
    filter: grayscale(0%) contrast(120%);
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column-reverse;
    }
    
    .about-image-container {
        margin-bottom: 60px;
    }
}

/* Skill Bar Animations - Modified for scroll triggers */
.skill-level {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    width: 0;
    box-shadow: 0 0 10px var(--primary-color);
    /* Remove automatic animations */
    animation: none;
    /* Add transition for JavaScript control */
    transition: width 1.5s ease;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.animate-slideUp {
    opacity: 0;
    animation: slideUp 0.8s ease forwards;
}

.animate-fadeIn {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

/* Improved Services Section Styles */
.services-section {
    position: relative;
    padding: 120px 0;
    background-color: var(--secondary-color);
    overflow: hidden;
}

.services-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://source.unsplash.com/random/1920x1080/?barber-tools');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.04;
    z-index: 0;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

.services-section .section-title {
    text-align: center;
    font-size: 48px;
    margin-bottom: 10px;
}

.services-section .tagline {
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-muted);
}

/* Services Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Service Card Styling - Modified for scroll triggers */
.service-card {
    background-color: rgba(25, 25, 25, 0.7);
    border-radius: 8px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease-out;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Add initial state for scroll animation */
    opacity: 0;
    transform: translateY(30px);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 25px rgba(255, 59, 48, 0.1);
    background-color: rgba(30, 30, 30, 0.8);
}

/* Service Icon */
.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 10px 20px rgba(255, 59, 48, 0.25);
}

.service-icon i {
    font-size: 28px;
    color: var(--text-color);
}

.service-icon-secondary {
    position: absolute;
    font-size: 20px !important;
    right: -5px;
    bottom: -5px;
    transform: rotate(-20deg);
}

/* Service Content */
.service-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-underline {
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    margin-bottom: 15px;
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

.service-description {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* Service Meta Information */
.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    margin-bottom: 20px;
}

.service-duration {
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.service-duration i {
    margin-right: 8px;
}

.service-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Book Button */
.book-btn {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    padding: 12px 0;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 16px;
    text-decoration: none;
    display: block;
}

.book-btn:hover {
    background-color: #ff4b40;
    box-shadow: 0 8px 15px rgba(255, 59, 48, 0.3);
    transform: translateY(-2px);
}

/* Decorative Elements */
.scissors-decoration {
    position: absolute;
    font-size: 120px;
    color: rgba(255, 255, 255, 0.02);
    z-index: 1;
}

.scissors-decoration.left {
    top: 15%;
    left: 5%;
    transform: rotate(-30deg);
    animation: float 15s infinite ease-in-out;
}

.scissors-decoration.right {
    bottom: 15%;
    right: 5%;
    transform: rotate(30deg);
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% {
        transform: rotate(-30deg) translateY(0);
    }
    50% {
        transform: rotate(-25deg) translateY(-20px);
    }
}

/* Flying Images Section Styles */
.flying-images-section {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
    background-color: var(--secondary-color);
}

.image-container {
    position: relative;
    height: 600px; /* Adjust height as needed */
    max-width: 1000px;
    margin: 0 auto;
}

.flying-image {
    position: absolute;
    opacity: 0;
    transform: translateX(-150%) rotate(-5deg);
    transition: opacity 0.8s ease, transform 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 5px solid var(--primary-color);
}

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

/* Set positions for each image */
.image-1 {
    top: 50px;
    left: 100px;
    z-index: 1; /* Lower z-index */
    transform: translateX(-150%) rotate(-5deg);
}

.image-2 {
    top: 150px;
    right: 100px;
    z-index: 2; /* Lower z-index */
    transform: translateX(150%) rotate(5deg);
}

.image-3 {
    top: 250px;
    left: 150px;
    z-index: 3; /* Higher z-index */
    transform: translateX(-150%) rotate(-5deg);
}

.image-4 {
    top: 350px;
    right: 150px;
    z-index: 4; /* Highest z-index */
    transform: translateX(150%) rotate(5deg);
}

/* Even-numbered images come from right */
.image-2, .image-4 {
    transform: translateX(150%) rotate(5deg);
}

.flying-image img {
    width: 350px;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: all 0.5s ease;
}

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

/* Animation Keyframes (keep these for reference) */
@keyframes fillWidth95 {
    to { width: 95%; }
}

@keyframes fillWidth90 {
    to { width: 90%; }
}

@keyframes fillWidth85 {
    to { width: 85%; }
}

@keyframes appearFromRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes showShadow {
    to {
        background: radial-gradient(circle, rgba(255,59,48,0.2) 0%, rgba(255,59,48,0) 70%);
        opacity: 1;
    }
}

@keyframes expandFrame {
    to {
        top: -30px;
        left: -30px;
        border-color: rgba(255, 255, 255, 0.5);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .scissors-decoration {
        font-size: 80px;
    }
    
    .image-container {
        height: 700px;
    }
    
    .flying-image img {
        width: 300px;
        height: 200px;
    }
    
    .image-1 {
        left: 50px;
    }
    
    .image-2 {
        right: 50px;
    }
    
    .image-3 {
        left: 70px;
    }
    
    .image-4 {
        right: 70px;
    }

    .location-section .about-content {
        flex-direction: column;
    }
    
    .location-section .about-text {
        order: 1; /* Text first */
    }
    
    .location-section .about-image-container {
        order: 2; /* Map second */
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .mobile-menu {
        display: block;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .button-group {
        flex-direction: column;
        width: 100%;
        max-width: 240px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .services-section {
        padding: 80px 0;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .service-title {
        font-size: 22px;
    }
    
    .service-price {
        font-size: 24px;
    }
    
    .flying-images-section {
        padding: 100px 0;
    }
    
    .image-container {
        height: 800px;
    }
    
    .flying-image img {
        width: 250px;
        height: 170px;
    }
    
    .image-1 {
        left: 30px;
    }
    
    .image-2 {
        right: 30px;
        top: 120px;
    }
    
    .image-3 {
        left: 50px;
        top: 240px;
    }
    
    .image-4 {
        right: 50px;
        top: 360px;
    }

    .iframe-container {
        height: 300px; /* Smaller height on mobile */
    }
    
    .location-section .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .location-section .about-image-container {
        margin-top: 20px;
        margin-bottom: 0;
        transform: none !important;
    }
    
    /* Ensure map container doesn't inherit problematic styles */
    .location-section .about-image-container::before {
        display: none;
    }
}

/* Gallery Section Styles */
.gallery-section {
    position: relative;
    padding: 120px 0;
    background-color: var(--secondary-color);
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://source.unsplash.com/random/1920x1080/?barbershop-pattern');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
}

.gallery-section .container {
    position: relative;
    z-index: 2;
}

.gallery-section .section-title {
    text-align: center;
    font-size: 48px;
    margin-bottom: 10px;
}

.gallery-section .tagline {
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-muted);
}

.instagram-link {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    transition: all 0.3s ease;
}

.instagram-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.instagram-link:hover::after {
    width: 100%;
}

/* Gallery Intro */
.gallery-intro {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.gallery-text {
    max-width: 600px;
    text-align: center;
    position: relative;
    padding: 40px;
    background-color: rgba(30, 30, 30, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.instagram-badge {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 5px 15px rgba(255, 59, 48, 0.4);
}

.instagram-badge i {
    font-size: 30px;
    color: white;
}

.gallery-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.gallery-text p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.instagram-btn {
    display: inline-block;
    background: linear-gradient(to right, #fd5949, #d6249f);
    color: var(--text-color);
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(214, 36, 159, 0.4);
    text-decoration: none;
}

.instagram-btn i {
    margin-right: 8px;
}

.instagram-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(214, 36, 159, 0.6);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

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

.gallery-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    aspect-ratio: 1 / 1;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.5s ease;
    filter: grayscale(20%);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: all 0.4s ease;
}

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

.gallery-info {
    width: 100%;
}

.gallery-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-color);
}

.gallery-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.insta-link {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover .insta-link {
    transform: scale(1);
}

.insta-link:hover {
    transform: scale(1.1) !important;
}

/* Gallery CTA */
.gallery-cta {
    text-align: center;
    margin-top: 40px;
}

.gallery-cta p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 18px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-text {
        padding: 25px;
    }
    
    .gallery-section {
        padding: 80px 0;
    }
}

/* Contact Section - Barber Bulletin Board Style */
.contact-section {
    position: relative;
    padding: 120px 0;
    background-color: #1a1a1a;
    overflow: hidden;
}

.bulletin-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://source.unsplash.com/random/1920x1080/?cork-board,texture');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.bulletin-board {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    background-color: #2a2a2a;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    border: 8px solid #3a3a3a;
}

/* Board Header */
.board-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 40px;
}

.bulletin-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    position: relative;
    padding: 0 20px;
    background-color: #2d2d2d;
    display: inline-block;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bulletin-title span {
    color: var(--primary-color);
}

.thumbtack {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, #ff4b40, var(--primary-color));
    box-shadow: inset 0 -2px 5px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.thumbtack::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    top: 20%;
    left: 20%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
}

.thumbtack.left {
    left: 20px;
}

.thumbtack.right {
    right: 20px;
}

/* Bulletin Content */
.bulletin-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.bulletin-item {
    position: relative;
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: rotate(var(--rotation, 0deg));
}

.bulletin-item:hover {
    transform: rotate(var(--rotation, 0deg)) translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.bulletin-item .thumbtack {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Business Card */
.business-card {
    grid-column: span 2;
    background: linear-gradient(135deg, #232323 0%, #1c1c1c 100%);
    color: var(--text-color);
    --rotation: -1deg;
}

.card-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-area i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.logo-area h3 {
    font-size: 24px;
    margin: 0;
    letter-spacing: 2px;
}

.card-info {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.info-item i {
    width: 30px;
    color: var(--primary-color);
}

.info-item p {
    margin: 0;
}

/* Hours Note */
.hours-note {
    background-color: #fffacd;
    --rotation: 1deg;
}

.note-content h3 {
    font-size: 24px;
    margin-top: 5px;
    margin-bottom: 15px;
    text-align: center;
    text-decoration: underline;
    color: #333;
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.day {
    font-weight: 700;
    color: #333;
}

.time {
    color: #555;
}

/* Social Flyer */
.social-flyer {
    background: linear-gradient(135deg, #fd5949, #d6249f);
    color: white;
    text-align: center;
    --rotation: -2deg;
}

.flyer-content h3 {
    font-size: 24px;
    margin-top: 5px;
    margin-bottom: 15px;
}

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

.social-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.hashtags {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.hashtags span {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
}

/* Appointment Note */
.appointment-note {
    grid-column: span 2;
    background-color: #d1f5ff;
    --rotation: 1deg;
}

.note-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.note-header h3 {
    color: #333;
    margin: 0;
    text-decoration: underline;
}

.note-header i {
    font-size: 28px;
    color: #0099cc;
}

.appointment-note p {
    color: #333;
    margin-bottom: 15px;
}

.booking-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.booking-option {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: white;
    padding: 8px 15px;
    border-radius: 20px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.booking-option:hover {
    background-color: #0099cc;
    color: white;
    transform: translateY(-3px);
}

.booking-option i {
    color: #0099cc;
}

.booking-option:hover i {
    color: white;
}

/* Location Polaroid */
.location-polaroid {
    grid-column: 1;
    background-color: white;
    padding: 10px 10px 25px 10px;
    --rotation: -1.5deg;
}

.polaroid-image {
    width: 100%;
    height: 200px;
    background-color: #eee;
    margin-bottom: 10px;
    overflow: hidden;
}

.polaroid-image iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.polaroid-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #333;
}

.polaroid-caption i {
    color: var(--primary-color);
}

.polaroid-caption p {
    margin: 0;
    font-style: italic;
}

/* Improved Review Card Styles */
.review-card {
    grid-column: span 2;
    background-color: white;
    --rotation: 1deg;
}

.review-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 2px dashed #eee;
    padding-bottom: 10px;
}

.review-header h3 {
    color: #333;
    margin: 0;
    font-size: 22px;
    text-transform: uppercase;
}

.stars {
    color: gold;
    letter-spacing: 1px;
}

.review-quote {
    flex: 1;
    position: relative;
    padding: 5px 0 10px 10px;
}

.quote-icon {
    color: #eee;
    font-size: 26px;
    position: absolute;
    top: 0;
    left: 0;
}

.review-text {
    font-style: italic;
    color: #333;
    margin: 10px 0 15px 25px;
    font-size: 16px;
    line-height: 1.5;
}

.reviewer-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 15px;
}

.reviewer-avatar {
    width: 36px;
    height: 36px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: 700;
    color: #333;
}

.reviewer-name {
    font-weight: 700;
    color: #333;
    margin: 0;
}

.review-footer {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    border-top: 2px dashed #eee;
    padding-top: 15px;
}

.review-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f8f8f8;
    padding: 8px 20px;
    border-radius: 20px;
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.review-button:hover {
    background-color: gold;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.review-button i {
    color: gold;
}

.review-button:hover i {
    color: white;
}

/* Board Footer */
.board-footer {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.back-to-top {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 59, 48, 0.3);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 59, 48, 0.4);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .bulletin-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .social-flyer {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .bulletin-content {
        grid-template-columns: 1fr;
    }
    
    .business-card,
    .appointment-note,
    .review-card,
    .social-flyer {
        grid-column: 1;
    }
    
    .card-content {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-area {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .info-item {
        justify-content: center;
    }
    
    .bulletin-board {
        padding: 20px;
        border-width: 5px;
    }
}

/* Footer Styles */
.site-footer {
    position: relative;
    background-color: #0e0e0e;
    color: var(--text-muted);
    padding: 60px 0 20px;
    overflow: hidden;
}

.footer-bg-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://source.unsplash.com/random/1920x1080/?barber-pattern');
    background-size: cover;
    background-position: center;
    opacity: 0.02;
    z-index: 0;
}

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

/* Logo Area */
.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.logo-icon i {
    color: white;
    font-size: 20px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 22px;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
}

.tagline {
    font-size: 12px;
    color: var(--text-muted);
}

/* Section Headers */
.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Footer Navigation */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: var(--text-muted);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding-left: 15px;
}

.footer-nav a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
    transform: translateY(-50%);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-nav a:hover::before {
    opacity: 1;
}

/* Contact List */
.contact-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
}

.contact-list i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 5px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.developer-credit a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.developer-credit a:hover {
    color: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Add these styles to your styles.css file */

/* Map-specific styling */
.iframe-container {
    width: 100%;
    height: 400px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    z-index: 5;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Fix for about-image-container to properly display iframe */
.location-section .about-image-container {
    display: block;
    opacity: 1;
    transform: none;
    width: 100%;
    max-width: 100%;
}

/* Ensure the iframe is visible by fixing z-index and overflow */
.location-section .image-frame {
    overflow: visible;
    z-index: 10;
    width: 100%;
    max-width: 100%;
}