:root {
    --primary-orange: #FF6B00;
    --dark-bg: #121212;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-main: #FFFFFF;
    --text-muted: #A0A0A0;
    --glass-border: rgba(255, 255, 255, 0.1);
    --gold: #FFD700;
    --silver: #C0C0C0;
    --bronze: #CD7F32;
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@300;400;700&display=swap');

/* Mobile Responsiveness Refinements */
@media (max-width: 768px) {
    .pixel-title {
        font-size: 3.5rem !important;
        line-height: 1.1;
    }

    .stats-container {
        gap: 20px !important;
    }

    .shop-card {
        padding: 20px !important;
    }

    .shop-card button,
    .shop-card a {
        width: 100%;
        /* Stack buttons on mobile */
    }

    .shop-card .d-flex {
        flex-direction: column;
    }

    #map {
        height: 350px !important;
        /* Smaller on mobile */
    }

    .navbar .container {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center !important;
    }

    #region-filters {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start !important;
    }

    .glass-pill {
        flex: 0 0 auto;
    }
}

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    margin: 0;
}

h1,
h2,
h3,
.brand-font {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.navbar-brand {
    font-size: 1.5rem;
    transition: opacity 0.3s ease;
}

.navbar-brand:hover {
    opacity: 0.8;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-orange);
}

.hero-section {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.8)), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.pixel-title {
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.9;
    margin-bottom: 20px;
}

.orange-text {
    color: var(--primary-orange);
}

.glass-pill {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 8px 24px;
    margin: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.lead {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 800px;
}

.glass-pill:hover,
.glass-pill.active {
    background: var(--primary-orange);
    color: white;
    border-color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 50px 0;
}

.shop-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.shop-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-orange);
    background: rgba(255, 255, 255, 0.08);
}

.shop-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

.shop-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.shop-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.shop-rating {
    color: var(--primary-orange);
    font-weight: 700;
    margin-bottom: 15px;
}

.shop-rating span {
    color: rgba(255, 255, 255, 0.6) !important;
    /* Fixed contrast for mobile */
}

.shop-location {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.shop-address {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5) !important;
    /* Fixed contrast for mobile */
    min-height: 40px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.btn-primary-custom {
    background-color: var(--primary-orange);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 700;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #e66000;
    transform: scale(1.05);
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    color: #FFFFFF !important;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
}

/* Footer Styling */
footer {
    color: white !important;
}

footer a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-orange) !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Modal Styling */
.modal-content {
    background-color: #1a1a1a;
    color: white;
    border: 1px solid var(--glass-border);
    border-radius: 32px;
}

.modal-header {
    border-bottom: 1px solid var(--glass-border);
}

.btn-outline-primary-custom {
    color: var(--primary-orange);
    border: 1px solid var(--primary-orange);
    transition: all 0.3s ease;
}

.btn-outline-primary-custom:hover {
    background-color: var(--primary-orange);
    color: white;
}

/* Photo Wall Styling */
.photo-wall-row {
    display: flex;
    gap: 20px;
    padding: 10px 0;
    width: max-content;
}

.photo-item {
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    filter: grayscale(1);
    transition: all 0.5s ease;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.photo-item img {
    height: 100%;
    width: auto;
    object-fit: cover;
    display: block;
}

.photo-item:hover {
    filter: grayscale(0);
    transform: scale(1.05);
    z-index: 10;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

#photo-row-1 {
    animation: scrollLeft 40s linear infinite;
}

#photo-row-2 {
    animation: scrollRight 60s linear infinite;
}

#photo-row-1:hover,
#photo-row-2:hover {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .photo-item {
        height: 180px;
    }

    #photo-row-1 {
        animation-duration: 30s;
    }

    #photo-row-2 {
        animation-duration: 45s;
    }
}

/* Fresha Booking Styles */
.fresha-card {
    background: rgba(255, 107, 0, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fresha-card:hover {
    background: rgba(255, 107, 0, 0.12);
    border-color: var(--primary-orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.1);
}

.fresha-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.fresha-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    color: white;
}

.btn-fresha {
    background: white;
    color: black;
    border: none;
    border-radius: 30px;
    padding: 12px 20px;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-fresha:hover {
    background: var(--primary-orange);
    color: white;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    #fresha-bookings .h1 {
        font-size: 2.5rem;
    }
}