

/* Service Locations Section - All styles prefixed with 'locations' */
.locations-section {
    /* background: linear-gradient(135deg, #000814 0%, #1a0a2e 50%, #16213e 100%); */
    background-image: 
        linear-gradient(135deg, rgba(0, 8, 20, 0.95) 0%, rgba(26, 10, 46, 0.95) 50%, rgba(22, 33, 62, 0.95) 100%),
        url('../images/ser1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 20px;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Animated Stars Background */
.locations-bg-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    overflow: hidden;
    z-index: 1;
}

.locations-bg-stars::before,
.locations-bg-stars::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffffff;
    box-shadow: 
        100vw 100vh #fff, 200vw 50vh #fff, 150vw 150vh #fff,
        50vw 200vh #fff, 180vw 80vh #fff, 20vw 120vh #fff,
        300vw 30vh #fff, 250vw 180vh #fff, 80vw 60vh #fff,
        350vw 140vh #fff, 120vw 90vh #fff, 280vw 110vh #fff;
    animation: locations-twinkle 3s infinite;
}

.locations-bg-stars::after {
    width: 1px;
    height: 1px;
    animation-delay: 1.5s;
}

@keyframes locations-twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Floating Zodiac Symbols */
.locations-zodiac-circle {
    position: absolute;
    font-size: 3rem;
    color: rgba(248, 169, 34, 0.15);
    z-index: 2;
    animation: locations-float 20s infinite ease-in-out;
}

.locations-zodiac-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.locations-zodiac-2 {
    top: 20%;
    right: 8%;
    animation-delay: 3s;
}

.locations-zodiac-3 {
    top: 60%;
    left: 3%;
    animation-delay: 6s;
}

.locations-zodiac-4 {
    bottom: 15%;
    right: 10%;
    animation-delay: 9s;
}

.locations-zodiac-5 {
    top: 40%;
    right: 5%;
    animation-delay: 12s;
}

.locations-zodiac-6 {
    bottom: 25%;
    left: 8%;
    animation-delay: 15s;
}

@keyframes locations-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.15;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.25;
    }
}

/* Animated Moon */
.locations-moon {
    position: absolute;
    top: 5%;
    right: 5%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, #F8A922, #9C1414);
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(248, 169, 34, 0.4);
    animation: locations-moon-glow 4s infinite alternate;
    z-index: 2;
}

@keyframes locations-moon-glow {
    0% {
        box-shadow: 0 0 50px rgba(248, 169, 34, 0.4);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 80px rgba(248, 169, 34, 0.7);
        transform: scale(1.1);
    }
}

/* Shooting Stars */
.locations-stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.locations-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #F8A922;
    border-radius: 50%;
    box-shadow: 0 0 10px #F8A922;
    animation: locations-shooting-star 3s linear infinite;
}

.locations-star:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.locations-star:nth-child(2) {
    top: 30%;
    left: 50%;
    animation-delay: 1s;
}

.locations-star:nth-child(3) {
    top: 50%;
    left: 80%;
    animation-delay: 2s;
}

.locations-star:nth-child(4) {
    top: 70%;
    left: 20%;
    animation-delay: 1.5s;
}

.locations-star:nth-child(5) {
    top: 40%;
    left: 60%;
    animation-delay: 2.5s;
}

@keyframes locations-shooting-star {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(300px) translateY(300px);
        opacity: 0;
    }
}

.locations-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.locations-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    color: #F8A922;
    margin-bottom: 60px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(248, 169, 34, 0.5);
    animation: locations-title-glow 2s infinite alternate;
}

@keyframes locations-title-glow {
    0% {
        text-shadow: 0 0 20px rgba(248, 169, 34, 0.5);
    }
    100% {
        text-shadow: 0 0 30px rgba(248, 169, 34, 0.8), 0 0 40px rgba(156, 20, 20, 0.5);
    }
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: start;
}

.locations-column {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(248, 169, 34, 0.2);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    animation: locations-column-fade-in 0.8s ease-out;
}

.locations-column:nth-child(1) {
    animation-delay: 0.1s;
}

.locations-column:nth-child(2) {
    animation-delay: 0.3s;
}

.locations-column:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes locations-column-fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.locations-column:hover {
    transform: translateY(-8px);
    border-color: rgba(248, 169, 34, 0.6);
    box-shadow: 0 10px 40px rgba(248, 169, 34, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.locations-scroll-wrapper {
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 15px;
}

/* Custom Scrollbar */
.locations-scroll-wrapper::-webkit-scrollbar {
    width: 8px;
}

.locations-scroll-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.locations-scroll-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #F8A922, #9C1414);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.locations-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9C1414, #F8A922);
}

.locations-item {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.locations-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(248, 169, 34, 0.2), transparent);
    transition: left 0.5s ease;
}

.locations-item:hover::before {
    left: 100%;
}

.locations-item:hover {
    background: linear-gradient(135deg, #F8A922 0%, #9C1414 100%);
    transform: translateX(8px);
    border-color: #F8A922;
    box-shadow: 0 5px 20px rgba(248, 169, 34, 0.4);
}

.locations-icon {
    font-size: 1.3rem;
    margin-right: 15px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.locations-item:hover .locations-icon {
    filter: none;
    animation: locations-eye-blink 1s infinite;
}

@keyframes locations-eye-blink {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.locations-text {
    line-height: 1.5;
    font-weight: 500;
}

/* Tablet Responsiveness */
@media screen and (max-width: 1024px) {
    .locations-section {
        padding: 60px 15px;
        background-attachment: scroll;
    }

    .locations-title {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }

    .locations-scroll-wrapper {
        max-height: 380px;
    }

    .locations-moon {
        width: 60px;
        height: 60px;
    }

    .locations-zodiac-circle {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .locations-section {
        padding: 50px 15px;
    }

    .locations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .locations-title {
        font-size: 1.9rem;
        margin-bottom: 40px;
        letter-spacing: 2px;
    }

    .locations-scroll-wrapper {
        max-height: 320px;
    }

    .locations-item {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .locations-icon {
        font-size: 1.1rem;
        margin-right: 12px;
    }

    .locations-moon {
        width: 50px;
        height: 50px;
        top: 3%;
        right: 3%;
    }

    .locations-zodiac-circle {
        font-size: 2rem;
    }
}

/* Mobile Responsiveness */
@media screen and (max-width: 480px) {
    .locations-section {
        padding: 40px 10px;
    }

    .locations-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
        letter-spacing: 1px;
    }

    .locations-scroll-wrapper {
        max-height: 280px;
        padding: 12px;
    }

    .locations-item {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .locations-icon {
        font-size: 1rem;
        margin-right: 10px;
    }

    .locations-moon {
        width: 40px;
        height: 40px;
    }

    .locations-zodiac-circle {
        font-size: 1.5rem;
    }
}

/* Extra small devices */
@media screen and (max-width: 360px) {
    .locations-title {
        font-size: 1.3rem;
    }

    .locations-item {
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    .locations-scroll-wrapper {
        max-height: 250px;
    }
}
