/* Branch Locations Section Styles */
.branch-locations-section {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(134, 38, 51, 0.1);
    border: 1px solid rgba(134, 38, 51, 0.1);
}

.branch-locations-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--club-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--club-primary);
}

.branch-locations-title i {
    font-size: 1.1rem;
    color: var(--club-primary);
}

/* Isometric Road Container */
.isometric-road-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #8B4513 100%);
    border-radius: 1rem;
    overflow: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* Road Path */
.road-path {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60px;
    background: linear-gradient(90deg, 
        #2F2F2F 0%, 
        #404040 20%, 
        #2F2F2F 40%, 
        #404040 60%, 
        #2F2F2F 80%, 
        #404040 100%);
    border-radius: 30px;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    transform: rotateX(60deg) rotateZ(-5deg);
    transform-origin: center bottom;
}

/* Road Border */
.road-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    height: 70px;
    background: linear-gradient(90deg, 
        var(--club-primary) 0%, 
        #a03a4a 20%, 
        var(--club-primary) 40%, 
        #a03a4a 60%, 
        var(--club-primary) 80%, 
        #a03a4a 100%);
    border-radius: 35px;
    transform: rotateX(60deg) rotateZ(-5deg);
    transform-origin: center bottom;
    z-index: -1;
}

/* Road Lines */
.road-lines {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        #FFFFFF 0px,
        #FFFFFF 20px,
        transparent 20px,
        transparent 40px
    );
    transform: translateY(-50%);
}

/* Background Buildings */
.background-buildings {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(139, 69, 19, 0.8) 0%, 
        rgba(160, 82, 45, 0.6) 50%, 
        rgba(139, 69, 19, 0.4) 100%);
    z-index: -2;
}

/* Cafe Buildings */
.cafe-building {
    position: absolute;
    cursor: pointer;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.cafe-building:hover {
    transform: scale(1.1) translateY(-5px);
    z-index: 10;
}

/* Cafe 1 - Leftmost */
.cafe-1 {
    bottom: 80px;
    left: 15%;
    width: 80px;
    height: 60px;
}

.cafe-1 .building {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F5DEB3 0%, #DEB887 100%);
    border-radius: 8px 8px 0 0;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cafe-1 .awning {
    position: absolute;
    top: -15px;
    left: -5px;
    right: -5px;
    height: 20px;
    background: linear-gradient(90deg, var(--club-primary) 0%, #FFFFFF 50%, var(--club-primary) 100%);
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cafe-1 .window {
    position: absolute;
    top: 15px;
    left: 10px;
    width: 25px;
    height: 20px;
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
    border-radius: 3px;
    border: 2px solid #2F4F4F;
}

.cafe-1 .door {
    position: absolute;
    bottom: 0;
    right: 10px;
    width: 20px;
    height: 30px;
    background: var(--club-primary);
    border-radius: 3px 3px 0 0;
    border: 2px solid #2F4F4F;
}

.cafe-1 .outdoor-seating {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
}

.cafe-1 .table {
    width: 30px;
    height: 15px;
    background: #8B4513;
    border-radius: 50%;
    margin: 0 auto 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cafe-1 .chairs {
    display: flex;
    justify-content: space-around;
}

.cafe-1 .chair {
    width: 12px;
    height: 12px;
    background: #654321;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Cafe 2 - Middle */
.cafe-2 {
    bottom: 120px;
    left: 45%;
    width: 70px;
    height: 50px;
}

.cafe-2 .building {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
    border-radius: 8px 8px 0 0;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cafe-2 .windows {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
}

.cafe-2 .window {
    width: 15px;
    height: 12px;
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
    border-radius: 2px;
    border: 1px solid #2F4F4F;
}

.cafe-2 .door {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 25px;
    background: #654321;
    border-radius: 3px 3px 0 0;
    border: 2px solid #2F4F4F;
}

/* Cafe 3 - Rightmost */
.cafe-3 {
    bottom: 60px;
    left: 75%;
    width: 85px;
    height: 65px;
}

.cafe-3 .building {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F5DEB3 0%, #DEB887 100%);
    border-radius: 8px 8px 0 0;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cafe-3 .roof {
    position: absolute;
    top: -10px;
    left: -5px;
    right: -5px;
    height: 15px;
    background: var(--club-primary);
    border-radius: 8px 8px 0 0;
}

.cafe-3 .chimney {
    position: absolute;
    top: -20px;
    right: 10px;
    width: 8px;
    height: 15px;
    background: #654321;
    border-radius: 2px;
}

.cafe-3 .window {
    position: absolute;
    top: 20px;
    right: 10px;
    width: 25px;
    height: 20px;
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
    border-radius: 3px;
    border: 2px solid #2F4F4F;
}

.cafe-3 .window-awning {
    position: absolute;
    top: 15px;
    right: 8px;
    width: 29px;
    height: 8px;
    background: linear-gradient(90deg, var(--club-primary) 0%, #FFFFFF 50%, var(--club-primary) 100%);
    border-radius: 4px;
}

.cafe-3 .door {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 30px;
    background: var(--club-primary);
    border-radius: 3px 3px 0 0;
    border: 2px solid #2F4F4F;
}

.cafe-3 .outdoor-seating {
    position: absolute;
    bottom: -30px;
    left: -10px;
    width: 50px;
    height: 25px;
}

.cafe-3 .umbrella {
    width: 40px;
    height: 15px;
    background: #F5DEB3;
    border-radius: 50%;
    margin: 0 auto 5px;
    position: relative;
}

.cafe-3 .umbrella::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: #654321;
    border-radius: 2px;
}

.cafe-3 .table {
    width: 25px;
    height: 12px;
    background: #8B4513;
    border-radius: 50%;
    margin: 0 auto 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cafe-3 .chairs {
    display: flex;
    justify-content: space-around;
}

    .cafe-3 .chair {
        width: 10px;
        height: 10px;
        background: #654321;
        border-radius: 50%;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    /* Cafe 4 - Additional Branch */
    .cafe-4 {
        bottom: 100px;
        left: 85%;
        width: 75px;
        height: 55px;
    }

    .cafe-4 .building {
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #F5DEB3 0%, #DEB887 100%);
        border-radius: 8px 8px 0 0;
        position: relative;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        font-weight: bold;
        color: white;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }

    .cafe-4 .roof {
        position: absolute;
        top: -10px;
        left: -5px;
        right: -5px;
        height: 15px;
        background: var(--club-primary);
        border-radius: 8px 8px 0 0;
    }

    .cafe-4 .window {
        position: absolute;
        top: 15px;
        left: 10px;
        width: 20px;
        height: 15px;
        background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
        border-radius: 3px;
        border: 2px solid #2F4F4F;
    }

    .cafe-4 .door {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 18px;
        height: 25px;
        background: var(--club-primary);
        border-radius: 3px 3px 0 0;
        border: 2px solid #2F4F4F;
    }

/* Location Pins */
.location-pin {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 25px;
    background: var(--club-primary);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.location-pin::after {
    content: '';
    position: absolute;
    top: 25%;
    left: 25%;
    width: 50%;
    height: 50%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.cafe-building:hover .location-pin {
    transform: rotate(-45deg) scale(1.2);
    box-shadow: 0 4px 12px rgba(134, 38, 51, 0.5);
}

/* Branch Info Tooltip */
.branch-info {
    position: absolute;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid var(--club-primary);
    border-radius: 12px;
    padding: 1rem;
    width: 200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.cafe-building:hover .branch-info {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

.branch-info h4 {
    margin: 0 0 0.5rem 0;
    color: var(--club-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.branch-info p {
    margin: 0.25rem 0;
    font-size: 0.8rem;
    color: var(--secondary-text);
    text-align: center;
}

.branch-info .directions-btn {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: var(--club-primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.branch-info .directions-btn:hover {
    background: var(--club-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(134, 38, 51, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .isometric-road-container {
        height: 300px;
    }
    
    .cafe-1, .cafe-2, .cafe-3 {
        transform: scale(0.8);
    }
    
    .branch-info {
        width: 150px;
        font-size: 0.7rem;
    }
}

/* Animation for road */
@keyframes roadFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.road-path {
    background-size: 200% 100%;
    animation: roadFlow 3s ease-in-out infinite;
}

/* Hover effects for buildings */
.cafe-building::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cafe-building:hover::before {
    opacity: 1;
} 